freebsd-ports/devel/py-jsonschema-specifications/Makefile
Po-Chuan Hsieh 223919130a
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.
2023-07-09 18:10:22 +08:00

30 lines
926 B
Makefile

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>