Date: Sun, 10 Sep 2023 18:58:16 GMT From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 99190adc7dca - main - textproc/py-jq: update to 1.5.0 Message-ID: <202309101858.38AIwGZK092740@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=99190adc7dca9eed00d0684782d80b21ba223265 commit 99190adc7dca9eed00d0684782d80b21ba223265 Author: Matthias Andree <mandree@FreeBSD.org> AuthorDate: 2023-09-10 18:56:56 +0000 Commit: Matthias Andree <mandree@FreeBSD.org> CommitDate: 2023-09-10 18:58:07 +0000 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 --- textproc/py-jq/Makefile | 5 ++++- textproc/py-jq/distinfo | 6 +++--- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309101858.38AIwGZK092740>