From nobody Fri Jul 21 06:38:47 2023 X-Original-To: dev-commits-ports-all@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 4R6fyv51yyz4nnsF; Fri, 21 Jul 2023 06:38:47 +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 4R6fyv41xSz3H5V; Fri, 21 Jul 2023 06:38:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689921527; 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=zoyTNcFp6OW2exgRHhkWO+D1iLjRYgUofHOECLL+K3o=; b=uu8ZkAELCHazu2NyH0Cu0Wzgxe0vIBnSFE6fmJ/QeHWdVafIrWmJleXib35jJKHjtwDCOD uSYF+ja7ciqxubw4f0LVv2BtK5HZI45f9or+If7yBmF3qw0FvXQ7cTb5U7kj1/XlyGvQpW /KnN3ObvVo1WZ6UtLMoV+Qp7DUnS6Wysl64iA23L3QDl3jJjJ4/rlf/PcBPus3xKwZQZeh 5T53LxbnCwaWrRG4DomSZp7jyz5Nc+QrdxtCZpYsgEmajSkfqyNlVBW0yG7JxL+Ea5ytFi pvOCQoZoHabzCBe0Uei0ZtlCu4YBd7tMrWlvNrAjKwa8tLvVAHIGOFUUiTIKkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689921527; 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=zoyTNcFp6OW2exgRHhkWO+D1iLjRYgUofHOECLL+K3o=; b=TWnJcNsCN56aGGGMaOZOeWX29Vv9Ks+hqsFnhEDD0TVBbCHorQMT3rxhR7ES2rp6U9O/ue SbUYQTpezlA70i5JOck09ehBUw17Pj8sXSKsCDuDGFLQOARsDEB8lkP0lOmNiqvA+83ib8 0fIfGL0FnxqKQGqiZxs4cZeC60XxD64XkTnkYIDAkug515oogXCoZzl2fF4B+y9bNDMf9R bqqtKfh88CeK6bzt/6B1GdJA55M2ojoLFptkjUgsPomGIUJXueTQvy1rRLN1w8Kse/4bpb oVRcyNFp/fqAMtFzHPBWYJTji8JSi6jcpAOFIgmfQBpoM65WowKsUiGva3VCYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689921527; a=rsa-sha256; cv=none; b=X72dcAd0sHGfVFIJPKjrqfLCt3FxvuVuWQp4dHIHdtuNouNXwQMYszOWlhv2CxwwUqswgK AwmHgc8phIHx75DAcgEf8GNXl7qErNWeQBAujedFS4Dumx/flDMWjxcfDmLAZcCGoWpkpV 7CTsErPXIEkeUf1ecx+UfD6hA9jybu4fsM7sMbXCDP2XvUTl1BCHwgOt86LfX5RRwMgBTu j550F2OoMFVysiXWnL3Lz4v/B0ecYvQbk5SBT1mnwdTTwCI2qy3gMntO4FV9OHV/81m0Vt zZAKqkvorZMq6BgP0sYLSiEa0o3wIIoNn2PRdWRXQal1EJce8GMYE99u/IVJcQ== 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 4R6fyv35f3z12Qb; Fri, 21 Jul 2023 06:38:47 +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 36L6clYN014025; Fri, 21 Jul 2023 06:38:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36L6clt0014024; Fri, 21 Jul 2023 06:38:47 GMT (envelope-from git) Date: Fri, 21 Jul 2023 06:38:47 GMT Message-Id: <202307210638.36L6clt0014024@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: 1123e162bd83 - main - misc/py-npTDMS: New port: NumPy based module for reading TDMS files produced by LabView List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 1123e162bd8390d3c7049d242e9cb0e5f67e1d53 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1123e162bd8390d3c7049d242e9cb0e5f67e1d53 commit 1123e162bd8390d3c7049d242e9cb0e5f67e1d53 Author: Yuri Victorovich AuthorDate: 2023-07-18 14:29:17 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-21 06:38:37 +0000 misc/py-npTDMS: New port: NumPy based module for reading TDMS files produced by LabView --- misc/Makefile | 1 + misc/py-npTDMS/Makefile | 29 +++++++++++++++++++++++++++++ misc/py-npTDMS/distinfo | 3 +++ misc/py-npTDMS/pkg-descr | 9 +++++++++ 4 files changed, 42 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 1c15af2e03c4..2ccb33485131 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -428,6 +428,7 @@ SUBDIR += py-mffpy SUBDIR += py-molequeue SUBDIR += py-mxnet + SUBDIR += py-npTDMS SUBDIR += py-numcodecs SUBDIR += py-onnx SUBDIR += py-onnx-tf diff --git a/misc/py-npTDMS/Makefile b/misc/py-npTDMS/Makefile new file mode 100644 index 000000000000..effb76404917 --- /dev/null +++ b/misc/py-npTDMS/Makefile @@ -0,0 +1,29 @@ +PORTNAME= npTDMS +DISTVERSION= 1.7.0 +CATEGORIES= misc +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= NumPy based module for reading TDMS files produced by LabView +WWW= https://github.com/adamreeve/npTDMS + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} # optional +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>0:devel/py-pytest-benchmark@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}thermocouples_reference>0:misc/py-thermocouples_reference@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +NO_ARCH= yes + +.include diff --git a/misc/py-npTDMS/distinfo b/misc/py-npTDMS/distinfo new file mode 100644 index 000000000000..b966141b1f4b --- /dev/null +++ b/misc/py-npTDMS/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1689904513 +SHA256 (npTDMS-1.7.0.tar.gz) = 2b1c802add05180db2f07a222cd5c3cd9b508441fb24e04438a76fc4ea7bc39c +SIZE (npTDMS-1.7.0.tar.gz) = 176422 diff --git a/misc/py-npTDMS/pkg-descr b/misc/py-npTDMS/pkg-descr new file mode 100644 index 000000000000..01b62f635eb2 --- /dev/null +++ b/misc/py-npTDMS/pkg-descr @@ -0,0 +1,9 @@ +npTDMS is a cross-platform Python package for reading and writing TDMS files +as produced by LabVIEW, and is built on top of the numpy package. Data is read +from TDMS files as numpy arrays, and npTDMS also allows writing numpy arrays +to TDMS files. + +TDMS files are structured in a hierarchy of groups and channels. A TDMS file can +contain multiple groups, which may each contain multiple channels. A file, group +and channel may all have properties associated with them, but only channels have +array data.