git: 146ec1966ca8 - main - textproc/py-qrcode: Update to 7.4

From: Craig Leres <leres_at_FreeBSD.org>
Date: Sun, 19 Mar 2023 19:56:06 UTC
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=146ec1966ca836502e3f0f53b39f5438ffbfb0ea

commit 146ec1966ca836502e3f0f53b39f5438ffbfb0ea
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2023-03-19 19:55:14 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2023-03-19 19:55:14 +0000

    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
---
 textproc/py-qrcode/Makefile | 10 ++++++----
 textproc/py-qrcode/distinfo |  6 +++---
 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