1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
This commit is contained in:
Matthias Andree 2023-09-10 20:56:56 +02:00
parent aa82e618e4
commit 99190adc7d
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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