diff options
author | Vladyslav Movchan <vladislav.movchan@gmail.com> | 2025-04-18 19:35:23 +0000 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-06-09 20:46:05 +0000 |
commit | 8b8cbe699ad1a253e78fd1d20a7e7633cbf6d58f (patch) | |
tree | e4d7f9afd3b40d417df714897b7a6893a58778aa | |
parent | ece1855df15c5d92db1264efcebbb1f12d1568e8 (diff) |
devel/py-super-collections: new port: Instantly convert JSON and YAML files into objects with attributes
Python library to instantly convert JSON and YAML files into objects
with attributes, without the need to create specific classes.
WWW: https://github.com/fralau/super-collections
PR: 286222
Reported by: Vladyslav Movchan <vladislav.movchan@gmail.com> (new maintainer)
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-super-collections/Makefile | 27 | ||||
-rw-r--r-- | devel/py-super-collections/distinfo | 3 | ||||
-rw-r--r-- | devel/py-super-collections/pkg-descr | 2 |
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 951249111205..a70c8bc2467b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5981,6 +5981,7 @@ SUBDIR += py-structlog SUBDIR += py-subprocess-tee SUBDIR += py-subversion + SUBDIR += py-super-collections SUBDIR += py-sure SUBDIR += py-swagger-spec-validator SUBDIR += py-synr diff --git a/devel/py-super-collections/Makefile b/devel/py-super-collections/Makefile new file mode 100644 index 000000000000..d5becbee7546 --- /dev/null +++ b/devel/py-super-collections/Makefile @@ -0,0 +1,27 @@ +PORTNAME= super-collections +DISTVERSION= 0.5.3 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= super_collections-${DISTVERSION} + +MAINTAINER= vladislav.movchan@gmail.com +COMMENT= Instantly convert JSON and YAML files into objects with attributes +WWW= https://github.com/fralau/super-collections + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hjson>=0:textproc/py-hjson@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-super-collections/distinfo b/devel/py-super-collections/distinfo new file mode 100644 index 000000000000..b27433f61c31 --- /dev/null +++ b/devel/py-super-collections/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1749451411 +SHA256 (super_collections-0.5.3.tar.gz) = 94c1ec96c0a0d5e8e7d389ed8cde6882ac246940507c5e6b86e91945c2968d46 +SIZE (super_collections-0.5.3.tar.gz) = 10178 diff --git a/devel/py-super-collections/pkg-descr b/devel/py-super-collections/pkg-descr new file mode 100644 index 000000000000..20cafb03e7bb --- /dev/null +++ b/devel/py-super-collections/pkg-descr @@ -0,0 +1,2 @@ +Python library to instantly convert JSON and YAML files into objects with +attributes, without the need to create specific classes. |