From nobody Fri Jul 21 06:38:45 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R6fys478nz4nnmC; Fri, 21 Jul 2023 06:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R6fys2Q7Kz3GdZ; Fri, 21 Jul 2023 06:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689921525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8lEMcITAY/MjBRqHz5lk+tVo9Ss3rBk6rVxDLU3lG7U=; b=S54Ya/RYIbD4mnlMv7f02CZEYISnLTHb66OZEZovIHu+HL34gNuH7leFboyhmPBM27pAEl U7IG0eLhrdz2NuZ7LU9WGu4JmLG6fxGXaz67wMFNyFNBRkvAWuEyAZnKiKy2o9nE/tVnLf 5seVoaW541RyWfAbTTObsjDDGFH4XF54GMJrZILm8Mc4PuySrTxRM3uWKytN5XBHg6DzLV 1RIAuja0FSfZ6c98LY+UrJR5SgbfN999S+mBzLbl9H7Z1GXH5MP7SJlnfvaSx4WOfXvftk dYke0cdwqAg0P8gBhZl2TgaOrkfwZvEzsmuDVajIGv75+hJKo1+P4dM6EVvaTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689921525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8lEMcITAY/MjBRqHz5lk+tVo9Ss3rBk6rVxDLU3lG7U=; b=LraWWPkP7OTj2/NF84wDX/tkMTxC3/wltACiAICsiFgWPCA/ra3ll1x/s7Z+KDNIeusoKt Kf8I4jZqguJ6b+QgvQGyywut63F5aVRPBLPJZZqWY51XrbEUakYjFyHk5W17ssIEvCD4ce 2bhtbqAsmnKUVkVCN8Gs2D26Z0jnPV4nxBCuHBLBpmDgRE395HWCDbBBJktq7dN/6+k7Lk sZIwNmPhnbMeff0CRO5tHmC5fUQRfF0PAeK5uf6P1caSRzqAWERWfHf20Rj45lpTsasz5j P/UmpByVW5daGWvLIvWaSlheg2N0V9QbvHC7/hNwhDR+TBi05VJe/RZZpDsrcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689921525; a=rsa-sha256; cv=none; b=tCGUXOPcN8VXHXC7Ok/dqdE3ds3Cyd5b2w7ctV6Y8zWSMU7R+GFtLmqOR3snW+MDAIoV76 AooGt60A5n+SdK/RJyAgjaE5GJNxEDFHb3LopWqLogzHTYXsXwOG+4E4PTpZpZSYcjRPPS 77epE1OahTJ+sjF2ksugges7nr8Ww7Sjsm9Ps6j2ovlPUc42z9zkj/jF9Hb0uQtwHUan4x ojkJ6rVPaJ1NJLkMawNAXCT1LxXl9alIZyHAFr9VyJ3422vfkN6I5ugSa+G0W1SOq1DN9m k/i06T7YDK/rHv59hY183Zxe0Z3C+tKZu/l94g0w+0kCZ5ozvuInDa/d2O+Juw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R6fys1Cbcz12VQ; Fri, 21 Jul 2023 06:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36L6cjfg013987; Fri, 21 Jul 2023 06:38:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36L6cj9d013986; Fri, 21 Jul 2023 06:38:45 GMT (envelope-from git) Date: Fri, 21 Jul 2023 06:38:45 GMT Message-Id: <202307210638.36L6cj9d013986@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 084edc1eca0c - main - misc/py-pymatreader: New port: Convenient reader for Matlab mat files List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 084edc1eca0c76128ac7a78c40854ccef236a569 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=084edc1eca0c76128ac7a78c40854ccef236a569 commit 084edc1eca0c76128ac7a78c40854ccef236a569 Author: Yuri Victorovich AuthorDate: 2023-07-18 14:29:17 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-21 06:38:36 +0000 misc/py-pymatreader: New port: Convenient reader for Matlab mat files --- misc/Makefile | 1 + misc/py-pymatreader/Makefile | 24 ++++++++++++++++++++++++ misc/py-pymatreader/distinfo | 3 +++ misc/py-pymatreader/pkg-descr | 3 +++ 4 files changed, 31 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 8f42aeced5d1..cf6f98c4454c 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -451,6 +451,7 @@ SUBDIR += py-pyct SUBDIR += py-pyfiglet SUBDIR += py-pykml + SUBDIR += py-pymatreader SUBDIR += py-pypatent SUBDIR += py-pyprind SUBDIR += py-pyqir diff --git a/misc/py-pymatreader/Makefile b/misc/py-pymatreader/Makefile new file mode 100644 index 000000000000..03d32152b84b --- /dev/null +++ b/misc/py-pymatreader/Makefile @@ -0,0 +1,24 @@ +PORTNAME= pymatreader +DISTVERSION= 0.0.32 +CATEGORIES= misc +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Convenient reader for Matlab mat files +WWW= https://gitlab.com/obob/pymatreader + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.7.0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://gitlab.com/obob/pymatreader/-/issues/20 + +NO_ARCH= yes + +.include diff --git a/misc/py-pymatreader/distinfo b/misc/py-pymatreader/distinfo new file mode 100644 index 000000000000..22c0063684dc --- /dev/null +++ b/misc/py-pymatreader/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1689900077 +SHA256 (pymatreader-0.0.32.tar.gz) = 34a5b4812635c98d3e5776fc21cd7f85b045784539363674d178dfb1158a617f +SIZE (pymatreader-0.0.32.tar.gz) = 7601 diff --git a/misc/py-pymatreader/pkg-descr b/misc/py-pymatreader/pkg-descr new file mode 100644 index 000000000000..d8983a9565b9 --- /dev/null +++ b/misc/py-pymatreader/pkg-descr @@ -0,0 +1,3 @@ +pymatreader is Python module to read Matlab files. This module works with both +the old (< 7.3) and the new (>= 7.3) HDF5 based format. The output should be +the same for both kinds of files.