From 33c754ddf8b8a7ceda7035924ffcebb577ac7b08 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Mon, 26 Mar 2018 00:03:43 +0000 Subject: [PATCH] devel/py-jsonpatch: Update 1.9 -> 1.21 Port changes: * Change to DISTVERSION * Move RUN_DEPENDS to proper place * Add NO_ARCH=yes * Rename the target regression-test -> do-test * Change WWW to the real homepage PR: 226508 Approved by: harm@weites.com (maintainer timeout; 15 days) --- devel/py-jsonpatch/Makefile | 13 +++++++------ devel/py-jsonpatch/distinfo | 5 +++-- devel/py-jsonpatch/pkg-descr | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/devel/py-jsonpatch/Makefile b/devel/py-jsonpatch/Makefile index 2f012b74d9dc..9d7445358ea9 100644 --- a/devel/py-jsonpatch/Makefile +++ b/devel/py-jsonpatch/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= jsonpatch -PORTVERSION= 1.9 +DISTVERSION= 1.21 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -9,14 +9,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= harm@weites.com COMMENT= Apply JSON-Patches (RFC 6902) -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonpointer>0:devel/py-jsonpointer@${FLAVOR} - LICENSE= BSD3CLAUSE -USES= python -USE_PYTHON= autoplist distutils +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonpointer>0:devel/py-jsonpointer@${FLAVOR} -regression-test: build +USES= python +USE_PYTHON= autoplist concurrent distutils +NO_ARCH= yes + +do-test: build @cd ${WRKSRC} && ${PYTHON_CMD} tests.py @cd ${WRKSRC} && ${PYTHON_CMD} ext_tests.py diff --git a/devel/py-jsonpatch/distinfo b/devel/py-jsonpatch/distinfo index f693eb08bce8..a858c8744963 100644 --- a/devel/py-jsonpatch/distinfo +++ b/devel/py-jsonpatch/distinfo @@ -1,2 +1,3 @@ -SHA256 (jsonpatch-1.9.tar.gz) = e997076450992aa7af2f4ae6c3e7767d390ddb6746979c74fd2092bb8fbdf5b2 -SIZE (jsonpatch-1.9.tar.gz) = 14275 +TIMESTAMP = 1520730497 +SHA256 (jsonpatch-1.21.tar.gz) = 11f5ffdf543a83047a2f54ac28f8caad7f34724cb1ea26b27547fd974f1a2153 +SIZE (jsonpatch-1.21.tar.gz) = 15208 diff --git a/devel/py-jsonpatch/pkg-descr b/devel/py-jsonpatch/pkg-descr index d10c28a407f3..a61c605cc0d2 100644 --- a/devel/py-jsonpatch/pkg-descr +++ b/devel/py-jsonpatch/pkg-descr @@ -1,3 +1,3 @@ Library to apply JSON Patches according to RFC 6902. -WWW: https://pypi.python.org/pypi/jsonpatch +WWW: https://github.com/stefankoegl/python-json-patch