pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-jsonpatch: Update to v1.33
Module Name: pkgsrc-wip
Committed By: Malte Dehling <mdehling%gmail.com@localhost>
Pushed By: mdehling
Date: Mon May 20 13:05:41 2024 -0700
Changeset: 0d198e10bd64859c28afe141561938899ec55b48
Modified Files:
py-jsonpatch/Makefile
py-jsonpatch/PLIST
py-jsonpatch/distinfo
Added Files:
py-jsonpatch/ALTERNATIVES
Log Message:
py-jsonpatch: Update to v1.33
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=0d198e10bd64859c28afe141561938899ec55b48
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-jsonpatch/ALTERNATIVES | 2 ++
py-jsonpatch/Makefile | 17 +++++++++++++----
py-jsonpatch/PLIST | 15 ++++++++-------
py-jsonpatch/distinfo | 6 +++---
4 files changed, 26 insertions(+), 14 deletions(-)
diffs:
diff --git a/py-jsonpatch/ALTERNATIVES b/py-jsonpatch/ALTERNATIVES
new file mode 100644
index 0000000000..4666f41f5c
--- /dev/null
+++ b/py-jsonpatch/ALTERNATIVES
@@ -0,0 +1,2 @@
+bin/jsondiff @PREFIX@/bin/jsondiff-@PYVERSSUFFIX@
+bin/jsonpatch @PREFIX@/bin/jsonpatch-@PYVERSSUFFIX@
diff --git a/py-jsonpatch/Makefile b/py-jsonpatch/Makefile
index d06cb34851..eae89e80dd 100644
--- a/py-jsonpatch/Makefile
+++ b/py-jsonpatch/Makefile
@@ -1,8 +1,8 @@
# $NetBSD$
-DISTNAME= jsonpatch-1.32
+DISTNAME= jsonpatch-1.33
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel
+CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsonpatch/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -10,7 +10,16 @@ HOMEPAGE= https://github.com/stefankoegl/python-json-patch
COMMENT= Apply JSON Patches according to RFC 6902
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-jsonpointer>=0.19:../../wip/py-jsonpointer
+USE_LANGUAGES= # none
-.include "../../lang/python/egg.mk"
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+DEPENDS+= ${PYPKGPREFIX}-jsonpointer>=1.9:../../wip/py-jsonpointer
+
+post-install:
+ cd ${DESTDIR}${PREFIX} && \
+ ${MV} bin/jsondiff bin/jsondiff-${PYVERSSUFFIX} && \
+ ${MV} bin/jsonpatch bin/jsonpatch-${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-jsonpatch/PLIST b/py-jsonpatch/PLIST
index d8bf8f9d99..fbeb6f5e6f 100644
--- a/py-jsonpatch/PLIST
+++ b/py-jsonpatch/PLIST
@@ -1,11 +1,12 @@
@comment $NetBSD$
-bin/jsondiff
-bin/jsonpatch
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+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}/top_level.txt
${PYSITELIB}/jsonpatch.py
${PYSITELIB}/jsonpatch.pyc
${PYSITELIB}/jsonpatch.pyo
diff --git a/py-jsonpatch/distinfo b/py-jsonpatch/distinfo
index a5baa1f426..3dc1e6d901 100644
--- a/py-jsonpatch/distinfo
+++ b/py-jsonpatch/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-BLAKE2s (jsonpatch-1.32.tar.gz) = 194c83d81469bcecad8b20525317377c2ffed34bbeb60f642d8f401588c53b1c
-SHA512 (jsonpatch-1.32.tar.gz) = edd5d7433b1bd0513b9998c989778ae3ede47251aab2e19b7111fe5f6ae7fda75202df473f258cd13e73aae1f5908d85ec046c59d99ad8264a454a84a00bf75f
-Size (jsonpatch-1.32.tar.gz) = 20853 bytes
+BLAKE2s (jsonpatch-1.33.tar.gz) = 7b1bfc8b91b06984ff42f86b38647c7138eab748513557f7edeb6b75ace80f26
+SHA512 (jsonpatch-1.33.tar.gz) = a0f56e82cc5a0d9d76680489ba8eec122378d6322c83d8e97c7276df9b32bc7735bec69d6ed9ed2e139f016b127e47eeb4a948b1394fd31079f19b390bbbc50b
+Size (jsonpatch-1.33.tar.gz) = 21699 bytes
Home |
Main Index |
Thread Index |
Old Index