diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-traittypes/Makefile | 22 | ||||
-rw-r--r-- | devel/py-traittypes/distinfo | 3 | ||||
-rw-r--r-- | devel/py-traittypes/pkg-descr | 7 |
4 files changed, 33 insertions, 0 deletions
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. |