aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2023-09-10 18:56:56 +0000
committerMatthias Andree <mandree@FreeBSD.org>2023-09-10 18:58:07 +0000
commit99190adc7dca9eed00d0684782d80b21ba223265 (patch)
treee323d542ad8e0fce65582523580577f2888a8eaf
parentaa82e618e41f13be59c41cbe5d90a51f1229e320 (diff)
downloadports-99190adc7dca9eed00d0684782d80b21ba223265.tar.gz
ports-99190adc7dca9eed00d0684782d80b21ba223265.zip
textproc/py-jq: update to 1.5.0
and patch one reference string from "$end" to "end of file" in several tests, to let "make test" pass... these tests seem to test that there *IS* an error message, so let's adjust the expect string to what we get. ChangeLog: https://github.com/mwilliamson/jq.py/blob/1.5.0/CHANGELOG.rst#150
-rw-r--r--textproc/py-jq/Makefile5
-rw-r--r--textproc/py-jq/distinfo6
2 files changed, 7 insertions, 4 deletions
diff --git a/textproc/py-jq/Makefile b/textproc/py-jq/Makefile
index 5355fe392940..e7d812b6a0c0 100644
--- a/textproc/py-jq/Makefile
+++ b/textproc/py-jq/Makefile
@@ -1,5 +1,5 @@
PORTNAME= jq
-PORTVERSION= 1.4.1
+PORTVERSION= 1.5.0
CATEGORIES= textproc python
MASTER_SITES= PYPI LOCAL/mandree:mandree
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -29,6 +29,9 @@ post-extract:
# move tests into place
${MV} ${WRKDIR}/jq-1.2.1/* ${WRKSRC}
+post-patch:
+ ${REINPLACE_CMD} -e 's/\$$end/end of file/' ${WRKSRC}/tests/*.py
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jq*.so
diff --git a/textproc/py-jq/distinfo b/textproc/py-jq/distinfo
index 2ecbb4180f33..ce5322805a70 100644
--- a/textproc/py-jq/distinfo
+++ b/textproc/py-jq/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1684265516
-SHA256 (jq-1.4.1.tar.gz) = 52284ee3cb51670e6f537b0ec813654c064c1c0705bd910097ea0fe17313516d
-SIZE (jq-1.4.1.tar.gz) = 2711101
+TIMESTAMP = 1694367159
+SHA256 (jq-1.5.0.tar.gz) = 47695d97c300b6a5c36731d9cab12f6bf1cee35f01b3374063b87f868f2131d1
+SIZE (jq-1.5.0.tar.gz) = 2716575
SHA256 (jq-1.2.1-tests.tar.gz) = 7648084f434896eda31bb5e09a4f6d32ebb561660c95655e08346c33be9b3ece
SIZE (jq-1.2.1-tests.tar.gz) = 2856