git: b3bf2cc171d9 - main - devel/py-traittypes: New port: Traitlets types for NumPy, SciPy and friends
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jan 2023 00:20:03 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3bf2cc171d9dc9b599d51fc7a6333264dded86e commit b3bf2cc171d9dc9b599d51fc7a6333264dded86e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-09 00:09:29 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-09 00:19:53 +0000 devel/py-traittypes: New port: Traitlets types for NumPy, SciPy and friends --- devel/Makefile | 1 + devel/py-traittypes/Makefile | 22 ++++++++++++++++++++++ devel/py-traittypes/distinfo | 3 +++ devel/py-traittypes/pkg-descr | 7 +++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bb3fd5088029..2c99db2b1226 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5462,6 +5462,7 @@ SUBDIR += py-traceback2 SUBDIR += py-traitlets SUBDIR += py-traits + SUBDIR += py-traittypes SUBDIR += py-transaction SUBDIR += py-transitions SUBDIR += py-tree-format diff --git a/devel/py-traittypes/Makefile b/devel/py-traittypes/Makefile new file mode 100644 index 000000000000..8f376155e9ad --- /dev/null +++ b/devel/py-traittypes/Makefile @@ -0,0 +1,22 @@ +PORTNAME= traittypes +DISTVERSION= 0.2.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Traitlets types for NumPy, SciPy and friends +WWW= https://github.com/jupyter-widgets/traittypes + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traitlets>=4.2.2:devel/py-traitlets@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xarray>0:devel/py-xarray@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist pytest # 1 test fails due to nose issues: ModuleNotFoundError: No module named 'ConfigParser + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-traittypes/distinfo b/devel/py-traittypes/distinfo new file mode 100644 index 000000000000..28218b56045d --- /dev/null +++ b/devel/py-traittypes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673222668 +SHA256 (traittypes-0.2.1.tar.gz) = be6fa26294733e7489822ded4ae25da5b4824a8a7a0e0c2dccfde596e3489bd6 +SIZE (traittypes-0.2.1.tar.gz) = 13544 diff --git a/devel/py-traittypes/pkg-descr b/devel/py-traittypes/pkg-descr new file mode 100644 index 000000000000..37ec2f4050c8 --- /dev/null +++ b/devel/py-traittypes/pkg-descr @@ -0,0 +1,7 @@ +The traittypes package provides a reference implementation of trait types for +common data structures used in the scipy stack such as +* numpy arrays +* pandas and xarray data structures +which are out of the scope of the main traitlets project but are a common +requirement to build applications with traitlets in combination with the scipy +stack.