pkgsrc-WIP-changes archive

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

py-jsonpatch: fix build with latest setuptools



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Jul 26 08:52:29 2025 +0200
Changeset:	d382a3fddb7cd71badfe40ca864acf0fa265b61c

Modified Files:
	py-jsonpatch/Makefile
	py-jsonpatch/PLIST

Log Message:
py-jsonpatch: fix build with latest setuptools

and depend on it.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d382a3fddb7cd71badfe40ca864acf0fa265b61c

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

diffstat:
 py-jsonpatch/Makefile | 9 +++------
 py-jsonpatch/PLIST    | 4 ++--
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs:
diff --git a/py-jsonpatch/Makefile b/py-jsonpatch/Makefile
index a4d96f6497..e4d3b325e2 100644
--- a/py-jsonpatch/Makefile
+++ b/py-jsonpatch/Makefile
@@ -10,15 +10,12 @@ HOMEPAGE=	https://github.com/stefankoegl/python-json-patch
 COMMENT=	Apply JSON Patches according to RFC 6902
 LICENSE=	modified-bsd
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+DEPENDS+=	${PYPKGPREFIX}-jsonpointer>=1.9:../../wip/py-jsonpointer
+
 USE_LANGUAGES=	# none
 USE_PYTEST=	no
 
-PYTHON_VERSIONS_INCOMPATIBLE=	27
-
-TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+=	${PYPKGPREFIX}-jsonpointer>=1.9:../../wip/py-jsonpointer
-
 post-install:
 	cd ${DESTDIR}${PREFIX} &&					\
 		${MV} bin/jsondiff bin/jsondiff-${PYVERSSUFFIX} &&	\
diff --git a/py-jsonpatch/PLIST b/py-jsonpatch/PLIST
index fbeb6f5e6f..0d1a151f60 100644
--- a/py-jsonpatch/PLIST
+++ b/py-jsonpatch/PLIST
@@ -1,11 +1,11 @@
 @comment $NetBSD$
 bin/jsondiff-${PYVERSSUFFIX}
 bin/jsonpatch-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/jsonpatch.py
 ${PYSITELIB}/jsonpatch.pyc


Home | Main Index | Thread Index | Old Index