git: 6a6f9bc44f18 - main - textproc/py-jq: update to 1.2.2

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Sun, 13 Feb 2022 23:16:55 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a6f9bc44f1855ce47b65e44ab0a4e13e5c2e9b2

commit 6a6f9bc44f1855ce47b65e44ab0a4e13e5c2e9b2
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2022-02-13 23:15:40 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-02-13 23:16:42 +0000

    textproc/py-jq: update to 1.2.2
    
    https://github.com/mwilliamson/jq.py/blob/master/CHANGELOG.rst#122
---
 textproc/py-jq/Makefile | 8 ++++++--
 textproc/py-jq/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/textproc/py-jq/Makefile b/textproc/py-jq/Makefile
index 587277822451..4b8d4e468904 100644
--- a/textproc/py-jq/Makefile
+++ b/textproc/py-jq/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	jq
-PORTVERSION=	1.2.1
+PORTVERSION=	1.2.2
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP LOCAL/mandree:mandree
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,9 +21,13 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 
-USES=		localbase python:3.5+
+USES=		localbase python:3.7-3.10
 USE_PYTHON=	autoplist distutils
 
+post-extract:
+		# move tests into place - unchanged between 1.2.1 and 1.2.2
+		${MV} ${WRKDIR}/jq-1.2.1/* ${WRKDIR}/jq-1.2.2/
+
 post-install:
 		${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jq*.so
 
diff --git a/textproc/py-jq/distinfo b/textproc/py-jq/distinfo
index 1ae9e5b0e920..068a64d9cdfc 100644
--- a/textproc/py-jq/distinfo
+++ b/textproc/py-jq/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1628345619
-SHA256 (jq-1.2.1.tar.gz) = 73ce588025495e6ebcda20bb9e64b6d9f3f1657c22895143ae243899ac710cbc
-SIZE (jq-1.2.1.tar.gz) = 72435
+TIMESTAMP = 1644792897
+SHA256 (jq-1.2.2.tar.gz) = 86ace2c43f17b5a64a38887ede72c7b8ce2ab0bcfa81ee28ff6434e935010abe
+SIZE (jq-1.2.2.tar.gz) = 72440
 SHA256 (jq-1.2.1-tests.tar.gz) = 7648084f434896eda31bb5e09a4f6d32ebb561660c95655e08346c33be9b3ece
 SIZE (jq-1.2.1-tests.tar.gz) = 2856