diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-07-09 10:10:22 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-07-09 10:10:22 +0000 |
| commit | 223919130a0864e6ccfc1b5cdcd57b71b7578066 (patch) | |
| tree | bb7826d3b54dd7bb54fb61b799c66a423b08c34e | |
| parent | faa87a12d4820f18a97af9de9feb19624bf21665 (diff) | |
devel/py-jsonschema-specifications: Add py-jsonschema-specifications 2023.6.1
JSON support files from the JSON Schema Specifications (metaschemas,
vocabularies, etc.), packaged for runtime access from Python as a
referencing-based Schema Registry.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-jsonschema-specifications/Makefile | 30 | ||||
| -rw-r--r-- | devel/py-jsonschema-specifications/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-jsonschema-specifications/pkg-descr | 3 |
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 05762b4586ed..0226191a4de5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4851,6 +4851,7 @@ SUBDIR += py-jsonrpclib-pelix SUBDIR += py-jsonschema SUBDIR += py-jsonschema-spec + SUBDIR += py-jsonschema-specifications SUBDIR += py-jsonschema3 SUBDIR += py-jsonsir SUBDIR += py-jupyter-client diff --git a/devel/py-jsonschema-specifications/Makefile b/devel/py-jsonschema-specifications/Makefile new file mode 100644 index 000000000000..22d77b3b7e5d --- /dev/null +++ b/devel/py-jsonschema-specifications/Makefile @@ -0,0 +1,30 @@ +PORTNAME= jsonschema-specifications +PORTVERSION= 2023.6.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= jsonschema_specifications-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= JSON Schema meta-schemas and vocabularies, exposed as a Registry +WWW= https://github.com/python-jsonschema/jsonschema-specifications + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}referencing>=0.28.0:devel/py-referencing@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.4.0:devel/py-importlib-resources@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-jsonschema-specifications/distinfo b/devel/py-jsonschema-specifications/distinfo new file mode 100644 index 000000000000..1d565ea564e2 --- /dev/null +++ b/devel/py-jsonschema-specifications/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688166006 +SHA256 (jsonschema_specifications-2023.6.1.tar.gz) = ca1c4dd059a9e7b34101cf5b3ab7ff1d18b139f35950d598d629837ef66e8f28 +SIZE (jsonschema_specifications-2023.6.1.tar.gz) = 12645 diff --git a/devel/py-jsonschema-specifications/pkg-descr b/devel/py-jsonschema-specifications/pkg-descr new file mode 100644 index 000000000000..f2f7f11b811d --- /dev/null +++ b/devel/py-jsonschema-specifications/pkg-descr @@ -0,0 +1,3 @@ +JSON support files from the JSON Schema Specifications (metaschemas, +vocabularies, etc.), packaged for runtime access from Python as a +referencing-based Schema Registry. |
