aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Leres <leres@FreeBSD.org>2023-03-19 19:55:14 +0000
committerCraig Leres <leres@FreeBSD.org>2023-03-19 19:55:14 +0000
commit146ec1966ca836502e3f0f53b39f5438ffbfb0ea (patch)
tree708a016f84536c6e42229a2262080213f884a6df
parent948e09230da5d091b8a09f9b2321575e7ff5a7d2 (diff)
downloadports-146ec1966ca836502e3f0f53b39f5438ffbfb0ea.tar.gz
ports-146ec1966ca836502e3f0f53b39f5438ffbfb0ea.zip
textproc/py-qrcode: Update to 7.4
Changes since 7.3: - Improvements for embedded image. - Restructure the factory drawers, allowing different shapes in SVG image factories as well. - Add a ``--factory-drawer`` option to the ``qr`` console script. - Optimize the output for the ``SVGPathImage`` factory (more than 30% reduction in file sizes). - Add a ``pypng`` image factory as a pure Python PNG solution. If ``pillow`` is *not* installed, then this becomes the default factory. - The ``pymaging`` image factory has been removed, but its factory shortcut and the actual PymagingImage factory class now just link to the PyPNGImage factory. Reported by: portscout
-rw-r--r--textproc/py-qrcode/Makefile10
-rw-r--r--textproc/py-qrcode/distinfo6
2 files changed, 9 insertions, 7 deletions
diff --git a/textproc/py-qrcode/Makefile b/textproc/py-qrcode/Makefile
index ad0c61eaa854..9b92adcf6abb 100644
--- a/textproc/py-qrcode/Makefile
+++ b/textproc/py-qrcode/Makefile
@@ -1,5 +1,5 @@
PORTNAME= qrcode
-PORTVERSION= 7.3
+PORTVERSION= 7.4
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,12 @@ WWW= https://github.com/lincolnloop/python-qrcode
LICENSE= BSD3CLAUSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six@${PY_FLAVOR} \
- ${PY_PILLOW}
+RUN_DEPENDS= ${PY_PILLOW} \
+ ${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:3.6+
+USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/textproc/py-qrcode/distinfo b/textproc/py-qrcode/distinfo
index ea3945917dab..db180bf5a970 100644
--- a/textproc/py-qrcode/distinfo
+++ b/textproc/py-qrcode/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640472677
-SHA256 (qrcode-7.3.tar.gz) = d72861b65e26b611609f0547f0febe58aed8ae229d6bf4e675834f40742915b3
-SIZE (qrcode-7.3.tar.gz) = 43352
+TIMESTAMP = 1679247625
+SHA256 (qrcode-7.4.tar.gz) = c775424e983c9eba814da1febdfcf853165ecc01e494077591e370c8d4802bd5
+SIZE (qrcode-7.4.tar.gz) = 535636