pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-jsonpickle
Module Name: pkgsrc
Committed By: wiz
Date: Sun Apr 30 15:40:20 UTC 2023
Modified Files:
pkgsrc/textproc/py-jsonpickle: Makefile
Log Message:
py-jsonpickle: not for python 2
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/py-jsonpickle/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-jsonpickle/Makefile
diff -u pkgsrc/textproc/py-jsonpickle/Makefile:1.14 pkgsrc/textproc/py-jsonpickle/Makefile:1.15
--- pkgsrc/textproc/py-jsonpickle/Makefile:1.14 Wed Mar 29 09:34:13 2023
+++ pkgsrc/textproc/py-jsonpickle/Makefile Sun Apr 30 15:40:20 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2023/03/29 09:34:13 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2023/04/30 15:40:20 wiz Exp $
DISTNAME= jsonpickle-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,21 +11,23 @@ HOMEPAGE= https://jsonpickle.github.io/
COMMENT= Python library for serializing any arbitrary object graph into JSON
LICENSE= modified-bsd
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 308
-PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif
USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build test:test test-cov:test
-
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index