Date: Thu, 31 Oct 2024 20:06:28 GMT From: Craig Leres <leres@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 11ebca5f74d7 - main - textproc/py-qrcode: Update to 8.0 Message-ID: <202410312006.49VK6SAH027452@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by leres: URL: https://cgit.FreeBSD.org/ports/commit/?id=11ebca5f74d7711a348bb619399f7a1476ea1f48 commit 11ebca5f74d7711a348bb619399f7a1476ea1f48 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2024-10-31 20:06:03 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2024-10-31 20:06:03 +0000 textproc/py-qrcode: Update to 8.0 Changes since 7.4: - Added support for Python 3.11 and 3.12. - Drop support for Python <=3.8. - Change local development setup to use Poetry_. - Testsuite and code quality checks are done through Github Actions. - Code quality and formatting utilises ruff_. - Removed ``typing_extensions`` as a dependency, as it's no longer required with having Python 3.9+ as a requirement. - Only allow high error correction rate (`qrcode.ERROR_CORRECT_H`) when generating QR codes with embedded images to ensure content is readable - Allow ``pypng`` factory to allow for saving to a string (like ``qr.save("some_file.png")``) in addition to file-like objects. - Fix bad over-optimization in v7.4 that broke large QR codes. Reported by: portscout --- textproc/py-qrcode/Makefile | 9 +++++---- textproc/py-qrcode/distinfo | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/textproc/py-qrcode/Makefile b/textproc/py-qrcode/Makefile index 94ef292e604d..2d0802d55288 100644 --- a/textproc/py-qrcode/Makefile +++ b/textproc/py-qrcode/Makefile @@ -1,6 +1,5 @@ PORTNAME= qrcode -PORTVERSION= 7.4 -PORTREVISION= 1 +PORTVERSION= 8.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,13 +10,15 @@ WWW= https://github.com/lincolnloop/python-qrcode LICENSE= BSD3CLAUSE -RUN_DEPENDS= ${PY_PILLOW} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=9.1.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}png>=0.0.17:graphics/py-png@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/typing_extensions.py:devel/py-typing-extensions@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/textproc/py-qrcode/distinfo b/textproc/py-qrcode/distinfo index db180bf5a970..1a9493ad207f 100644 --- a/textproc/py-qrcode/distinfo +++ b/textproc/py-qrcode/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1679247625 -SHA256 (qrcode-7.4.tar.gz) = c775424e983c9eba814da1febdfcf853165ecc01e494077591e370c8d4802bd5 -SIZE (qrcode-7.4.tar.gz) = 535636 +TIMESTAMP = 1730404155 +SHA256 (qrcode-8.0.tar.gz) = 025ce2b150f7fe4296d116ee9bad455a6643ab4f6e7dce541613a4758cbce347 +SIZE (qrcode-8.0.tar.gz) = 42743
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410312006.49VK6SAH027452>