pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-jsonschema



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 10 21:02:44 UTC 2022

Modified Files:
        pkgsrc/textproc/py-jsonschema: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/textproc/py-jsonschema/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-jsonschema/Makefile
diff -u pkgsrc/textproc/py-jsonschema/Makefile:1.26 pkgsrc/textproc/py-jsonschema/Makefile:1.27
--- pkgsrc/textproc/py-jsonschema/Makefile:1.26 Fri Jul  8 07:54:06 2022
+++ pkgsrc/textproc/py-jsonschema/Makefile      Sun Jul 10 21:02:43 2022
@@ -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/json
 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
 



Home | Main Index | Thread Index | Old Index