ports/devel/py-openapi-schema-validator/Makefile
Po-Chuan Hsieh fbd2a519ce
devel/py-openapi-schema-validator: Allow build with py-jsonschema-specifications 2024+
- Update version requirement of RUN_DEPENDS
- Bump PORTREVISION for package change

Obtained from:	1f93f5be80
2024-10-14 13:25:33 +08:00

26 lines
874 B
Makefile

PORTNAME= openapi-schema-validator
PORTVERSION= 0.6.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= openapi_schema_validator-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= OpenAPI schema validation for Python
WWW= https://github.com/python-openapi/openapi-schema-validator
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.19.1<5:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema-specifications>=2023.5.2:devel/py-jsonschema-specifications@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rfc3339-validator>=0:devel/py-rfc3339-validator@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>