pkgsrc-WIP-changes archive

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

py-jsonpointer: 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:51:00 2025 +0200
Changeset:	e536f93608fa76bd2b09b992e734fbd6d364969b

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

Log Message:
py-jsonpointer: 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=e536f93608fa76bd2b09b992e734fbd6d364969b

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

diffstat:
 py-jsonpointer/Makefile | 7 ++-----
 py-jsonpointer/PLIST    | 4 ++--
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs:
diff --git a/py-jsonpointer/Makefile b/py-jsonpointer/Makefile
index d0227c913f..a5572a937a 100644
--- a/py-jsonpointer/Makefile
+++ b/py-jsonpointer/Makefile
@@ -10,14 +10,11 @@ HOMEPAGE=	https://github.com/stefankoegl/python-json-pointer
 COMMENT=	Library to resolve JSON Pointers according to RFC 6901
 LICENSE=	modified-bsd
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+
 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
-
 post-install:
 	cd ${DESTDIR}${PREFIX} &&					\
 		${MV} bin/jsonpointer bin/jsonpointer-${PYVERSSUFFIX}
diff --git a/py-jsonpointer/PLIST b/py-jsonpointer/PLIST
index 27b2d33eee..938aeaf427 100644
--- a/py-jsonpointer/PLIST
+++ b/py-jsonpointer/PLIST
@@ -1,10 +1,10 @@
 @comment $NetBSD$
 bin/jsonpointer-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/jsonpointer.py
 ${PYSITELIB}/jsonpointer.pyc


Home | Main Index | Thread Index | Old Index