diff options
author | wiz <wiz@pkgsrc.org> | 2022-07-10 21:02:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-07-10 21:02:43 +0000 |
commit | aab55e91749372d8fea1cc2fb2c7884b1d4c2082 (patch) | |
tree | ca698a0c0c890fda1397e9d68d178bb7a90cf8f4 | |
parent | 3067d8baf7b07f547b88bc4615c067a1c8c7bed2 (diff) | |
download | pkgsrc-aab55e91749372d8fea1cc2fb2c7884b1d4c2082.tar.gz |
py-jsonschema: add build dependency setuptools_scm
The error comes from hatchling, but it depends on the build system
used, so I think the build dependency is better added here.
Correct me if I'm wrong.
-rw-r--r-- | textproc/py-jsonschema/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/textproc/py-jsonschema/Makefile b/textproc/py-jsonschema/Makefile index 198717c8620..fdd02780d3d 100644 --- a/textproc/py-jsonschema/Makefile +++ b/textproc/py-jsonschema/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2022/07/08 07:54:06 adam Exp $ +# $NetBSD: Makefile,v 1.27 2022/07/10 21:02:43 wiz Exp $ DISTNAME= jsonschema-4.6.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -10,22 +10,21 @@ HOMEPAGE= https://github.com/Julian/jsonschema COMMENT= Implementation of JSON Schema for Python LICENSE= modified-bsd -BUILD_DEPENDS+= ${PYPKGPREFIX}-hatchling>0:../../devel/py-hatchling -BUILD_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>0:../../devel/py-hatch-vcs +BUILD_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling +BUILD_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs +BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm DEPENDS+= ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs DEPENDS+= ${PYPKGPREFIX}-pyrsistent>=0.17.3:../../devel/py-pyrsistent -TEST_DEPENDS+= ${PYPKGPREFIX}-twisted>0:../../net/py-twisted +TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted USE_LANGUAGES= # none -USE_PKG_RESOURCES= yes - PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} < 38 -DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata -DEPENDS+= ${PYPKGPREFIX}-typing-extensions>0:../../devel/py-typing-extensions +DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata +DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions .endif .if ${_PYTHON_VERSION} < 39 DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.4.0:../../devel/py-importlib-resources @@ -37,6 +36,7 @@ post-install: TEST_ENV+= JSON_SCHEMA_TEST_SUITE=${WRKSRC}/json +# after 'make install' do-test: cd ${WRKSRC}/jsonschema && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v |