pkgsrc-WIP-changes archive

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

py-jsonpointer: Update to v2.4



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Mon May 20 12:59:34 2024 -0700
Changeset:	c7ed8037a550652f82736f0fa943d702080a91cb

Modified Files:
	py-jsonpointer/DESCR
	py-jsonpointer/Makefile
	py-jsonpointer/PLIST
	py-jsonpointer/distinfo
Added Files:
	py-jsonpointer/ALTERNATIVES

Log Message:
py-jsonpointer: Update to v2.4

Packaging changes:
- convert to wheel
- use ALTERNATIVES

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

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

diffstat:
 py-jsonpointer/ALTERNATIVES |  1 +
 py-jsonpointer/DESCR        |  4 +---
 py-jsonpointer/Makefile     | 17 ++++++++++++++---
 py-jsonpointer/PLIST        | 12 +++++++-----
 py-jsonpointer/distinfo     |  6 +++---
 5 files changed, 26 insertions(+), 14 deletions(-)

diffs:
diff --git a/py-jsonpointer/ALTERNATIVES b/py-jsonpointer/ALTERNATIVES
new file mode 100644
index 0000000000..afbaa8fa54
--- /dev/null
+++ b/py-jsonpointer/ALTERNATIVES
@@ -0,0 +1 @@
+bin/jsonpointer @PREFIX@/bin/jsonpointer-@PYVERSSUFFIX@
diff --git a/py-jsonpointer/DESCR b/py-jsonpointer/DESCR
index dc8669c7bb..5171d6b8b6 100644
--- a/py-jsonpointer/DESCR
+++ b/py-jsonpointer/DESCR
@@ -1,3 +1 @@
-Library to resolve JSON Pointers according to RFC 6901
-
-See source code for examples.
+Library to resolve JSON Pointers according to RFC 6901.
diff --git a/py-jsonpointer/Makefile b/py-jsonpointer/Makefile
index 7e3a4d7f9a..92ad102607 100644
--- a/py-jsonpointer/Makefile
+++ b/py-jsonpointer/Makefile
@@ -1,8 +1,8 @@
 # $NetBSD$
 
-DISTNAME=	jsonpointer-2.3
+DISTNAME=	jsonpointer-2.4
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	textproc
+CATEGORIES=	textproc python
 MASTER_SITES=	${MASTER_SITE_PYPI:=j/jsonpointer/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -10,5 +10,16 @@ HOMEPAGE=	https://github.com/stefankoegl/python-json-pointer
 COMMENT=	Library to resolve JSON Pointers according to RFC 6901
 LICENSE=	modified-bsd
 
-.include "../../lang/python/egg.mk"
+USE_LANGUAGES=	# none
+
+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}
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-jsonpointer/PLIST b/py-jsonpointer/PLIST
index b4030fb49d..27b2d33eee 100644
--- a/py-jsonpointer/PLIST
+++ b/py-jsonpointer/PLIST
@@ -1,9 +1,11 @@
 @comment $NetBSD$
-bin/jsonpointer
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+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}/top_level.txt
 ${PYSITELIB}/jsonpointer.py
 ${PYSITELIB}/jsonpointer.pyc
 ${PYSITELIB}/jsonpointer.pyo
diff --git a/py-jsonpointer/distinfo b/py-jsonpointer/distinfo
index dd6e80b16b..bcb9d75932 100644
--- a/py-jsonpointer/distinfo
+++ b/py-jsonpointer/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (jsonpointer-2.3.tar.gz) = b1328110e148e6a3eb03f60c11835046a5f93dd928b8be054568f156f1c6eb3e
-SHA512 (jsonpointer-2.3.tar.gz) = e04da474a5ec376d1cd2c764c2d7a11ac296450df199449994cb1dedf02a49df3ae3a4e75b2963370dba1da166464602b849a79609f7a98d8246dab0b342c819
-Size (jsonpointer-2.3.tar.gz) = 9295 bytes
+BLAKE2s (jsonpointer-2.4.tar.gz) = b51729972ac755b481900f685b4ae6bfd2bba41be1f2bbc5a0024aa877bc39c1
+SHA512 (jsonpointer-2.4.tar.gz) = 41cc0f8b525bec4b18801aeaec1b2432c5f6475dd3f2bc0fb363cf6ceaac5c64e7993c72130a40c64427218a1eac352e93464137fe17427b9f8a34ae09699f4e
+Size (jsonpointer-2.4.tar.gz) = 9254 bytes


Home | Main Index | Thread Index | Old Index