pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-qrcode



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 14 13:50:36 UTC 2024

Modified Files:
        pkgsrc/graphics/py-qrcode: Makefile PLIST distinfo

Log Message:
py-qrcode: updated to 8.0

8.0 ( 27 September 2024)

- 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


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/graphics/py-qrcode/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/py-qrcode/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/py-qrcode/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-qrcode/Makefile
diff -u pkgsrc/graphics/py-qrcode/Makefile:1.19 pkgsrc/graphics/py-qrcode/Makefile:1.20
--- pkgsrc/graphics/py-qrcode/Makefile:1.19     Sat Jan 20 16:17:19 2024
+++ pkgsrc/graphics/py-qrcode/Makefile  Mon Oct 14 13:50:35 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2024/01/20 16:17:19 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2024/10/14 13:50:35 adam Exp $
 
-DISTNAME=      qrcode-7.4.2
+DISTNAME=      qrcode-8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=q/qrcode/}
@@ -10,31 +10,20 @@ HOMEPAGE=   https://github.com/lincolnloop
 COMMENT=       QR Code image generator
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+=      ${PYPKGPREFIX}-pypng-[0-9]*:../../graphics/py-pypng
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core
 # pil
 DEPENDS+=      ${PYPKGPREFIX}-Pillow>=9.1.0:../../graphics/py-Pillow
+# png
+DEPENDS+=      ${PYPKGPREFIX}-pypng-[0-9]*:../../graphics/py-pypng
 TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 REPLACE_PYTHON+=       qrcode/console_scripts.py
 
-SUBST_CLASSES+=                        pkgmandir
-SUBST_FILES.pkgmandir=         setup.py
-SUBST_MESSAGE.pkgmandir=       Fixing PKGMANDIR path.
-SUBST_SED.pkgmandir=           -e "s|share/man|${PKGMANDIR}|1"
-SUBST_STAGE.pkgmandir=         pre-configure
-
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/qr \
-               ${DESTDIR}${PREFIX}/bin/qr-${PYVERSSUFFIX} || ${TRUE}
-       ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qr.1 \
-               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qr-${PYVERSSUFFIX}.1 || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} qr qr-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/graphics/py-qrcode/PLIST
diff -u pkgsrc/graphics/py-qrcode/PLIST:1.7 pkgsrc/graphics/py-qrcode/PLIST:1.8
--- pkgsrc/graphics/py-qrcode/PLIST:1.7 Sat Jan  6 09:24:27 2024
+++ pkgsrc/graphics/py-qrcode/PLIST     Mon Oct 14 13:50:35 2024
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2024/01/06 09:24:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2024/10/14 13:50:35 adam Exp $
 bin/qr-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/qrcode/LUT.py
 ${PYSITELIB}/qrcode/LUT.pyc
 ${PYSITELIB}/qrcode/LUT.pyo
@@ -21,9 +20,9 @@ ${PYSITELIB}/qrcode/compat/__init__.pyo
 ${PYSITELIB}/qrcode/compat/etree.py
 ${PYSITELIB}/qrcode/compat/etree.pyc
 ${PYSITELIB}/qrcode/compat/etree.pyo
-${PYSITELIB}/qrcode/compat/pil.py
-${PYSITELIB}/qrcode/compat/pil.pyc
-${PYSITELIB}/qrcode/compat/pil.pyo
+${PYSITELIB}/qrcode/compat/png.py
+${PYSITELIB}/qrcode/compat/png.pyc
+${PYSITELIB}/qrcode/compat/png.pyo
 ${PYSITELIB}/qrcode/console_scripts.py
 ${PYSITELIB}/qrcode/console_scripts.pyc
 ${PYSITELIB}/qrcode/console_scripts.pyo
@@ -78,12 +77,21 @@ ${PYSITELIB}/qrcode/release.pyo
 ${PYSITELIB}/qrcode/tests/__init__.py
 ${PYSITELIB}/qrcode/tests/__init__.pyc
 ${PYSITELIB}/qrcode/tests/__init__.pyo
+${PYSITELIB}/qrcode/tests/consts.py
+${PYSITELIB}/qrcode/tests/consts.pyc
+${PYSITELIB}/qrcode/tests/consts.pyo
 ${PYSITELIB}/qrcode/tests/test_example.py
 ${PYSITELIB}/qrcode/tests/test_example.pyc
 ${PYSITELIB}/qrcode/tests/test_example.pyo
 ${PYSITELIB}/qrcode/tests/test_qrcode.py
 ${PYSITELIB}/qrcode/tests/test_qrcode.pyc
 ${PYSITELIB}/qrcode/tests/test_qrcode.pyo
+${PYSITELIB}/qrcode/tests/test_qrcode_pil.py
+${PYSITELIB}/qrcode/tests/test_qrcode_pil.pyc
+${PYSITELIB}/qrcode/tests/test_qrcode_pil.pyo
+${PYSITELIB}/qrcode/tests/test_qrcode_pypng.py
+${PYSITELIB}/qrcode/tests/test_qrcode_pypng.pyc
+${PYSITELIB}/qrcode/tests/test_qrcode_pypng.pyo
 ${PYSITELIB}/qrcode/tests/test_qrcode_svg.py
 ${PYSITELIB}/qrcode/tests/test_qrcode_svg.pyc
 ${PYSITELIB}/qrcode/tests/test_qrcode_svg.pyo
@@ -99,4 +107,3 @@ ${PYSITELIB}/qrcode/tests/test_util.pyo
 ${PYSITELIB}/qrcode/util.py
 ${PYSITELIB}/qrcode/util.pyc
 ${PYSITELIB}/qrcode/util.pyo
-man/man1/qr-${PYVERSSUFFIX}.1

Index: pkgsrc/graphics/py-qrcode/distinfo
diff -u pkgsrc/graphics/py-qrcode/distinfo:1.10 pkgsrc/graphics/py-qrcode/distinfo:1.11
--- pkgsrc/graphics/py-qrcode/distinfo:1.10     Sat Jan  6 09:24:27 2024
+++ pkgsrc/graphics/py-qrcode/distinfo  Mon Oct 14 13:50:36 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2024/01/06 09:24:27 adam Exp $
+$NetBSD: distinfo,v 1.11 2024/10/14 13:50:36 adam Exp $
 
-BLAKE2s (qrcode-7.4.2.tar.gz) = bfbd11c6733a69c4c3a0a934cb76c79e249f1570e1a436c01c190b267ec858bc
-SHA512 (qrcode-7.4.2.tar.gz) = a8642845990341034e39c43ef674f5b4ce8d3175a44d6062f711af2c24ffd45bda5f3ecf8a7825b7ebafe734b6396d52a37bb59177c544f921e43eaa9f1f5405
-Size (qrcode-7.4.2.tar.gz) = 535974 bytes
+BLAKE2s (qrcode-8.0.tar.gz) = 4e46e1c15adeef2b9c3066c249e267ad82b8af68ec4abaf8e891e0e4cee7ea13
+SHA512 (qrcode-8.0.tar.gz) = 14d37ef4fe0fca3253c92f39db7948f9d804f600ee3bf9ba053baf4e01488f340cb4977b94a338f448dd4f9007f9f0cb7c5cf1db5405d98a9b38a809c8ed8650
+Size (qrcode-8.0.tar.gz) = 42743 bytes



Home | Main Index | Thread Index | Old Index