pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-jsonschema py-jsonschema: add build depend...
details: https://anonhg.NetBSD.org/pkgsrc/rev/97b3dbf4f6c1
branches: trunk
changeset: 381617:97b3dbf4f6c1
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jul 10 21:02:43 2022 +0000
description:
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.
diffstat:
textproc/py-jsonschema/Makefile | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (46 lines):
diff -r 437069ca8eac -r 97b3dbf4f6c1 textproc/py-jsonschema/Makefile
--- a/textproc/py-jsonschema/Makefile Sun Jul 10 20:55:26 2022 +0000
+++ b/textproc/py-jsonschema/Makefile Sun Jul 10 21:02:43 2022 +0000
@@ -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 @@
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 @@
TEST_ENV+= JSON_SCHEMA_TEST_SUITE=${WRKSRC}/json
+# after 'make install'
do-test:
cd ${WRKSRC}/jsonschema && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
Home |
Main Index |
Thread Index |
Old Index