git: b9d8accaa120 - main - graphics/py-img2pdf: Update to 0.6.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 18 May 2025 12:09:33 UTC
The branch main has been updated by kai:

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

commit b9d8accaa120230dba8adc386ad3aa1f9442a7fe
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-05-18 12:05:22 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-05-18 12:05:22 +0000

    graphics/py-img2pdf: Update to 0.6.1
    
    * This release contains some changes and fixes of the testsuite, adapt
      the changes accordingly.
    
    * Also switch to the PEP517 build framework while I'm here.
    
    Changelog:
    
    https://gitlab.mister-muffin.de/josch/img2pdf/src/tag/0.6.1/CHANGES.rst
---
 graphics/py-img2pdf/Makefile | 11 ++++++-----
 graphics/py-img2pdf/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/graphics/py-img2pdf/Makefile b/graphics/py-img2pdf/Makefile
index 2816d9f1212c..4b51a2ddc65f 100644
--- a/graphics/py-img2pdf/Makefile
+++ b/graphics/py-img2pdf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	img2pdf
-DISTVERSION=	0.6.0
-PORTREVISION=	3
+DISTVERSION=	0.6.1
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +11,8 @@ WWW=		https://gitlab.mister-muffin.de/josch/img2pdf
 LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pikepdf>0:textproc/py-pikepdf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
 TEST_DEPENDS=	${PY_NUMPY} \
@@ -21,11 +22,11 @@ TEST_DEPENDS=	${PY_NUMPY} \
 		jpegtopnm:graphics/netpbm \
 		pdftocairo:graphics/poppler-utils
 
-USES=		python shebangfix magick:6,test
-USE_PYTHON=	autoplist concurrent distutils pytest
+USES=		python shebangfix magick:7,test
+USE_PYTHON=	autoplist concurrent pep517 pytest
 # Some tests fail, see following link for more info:
 # https://gitlab.mister-muffin.de/josch/img2pdf/issues/152
-PYTEST_BROKEN_TESTS=	jpg_cmyk miff_cmyk8 test_date tiff_cmyk8
+PYTEST_BROKEN_TESTS=	jpg_cmyk test_date tiff_cmyk8
 SHEBANG_FILES=	src/img2pdf.py
 
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/graphics/py-img2pdf/distinfo b/graphics/py-img2pdf/distinfo
index bc77662778e2..280871d5df5f 100644
--- a/graphics/py-img2pdf/distinfo
+++ b/graphics/py-img2pdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740898563
-SHA256 (img2pdf-0.6.0.tar.gz) = 85a89b8abdeef9ef033508aed0d9f1e84fd6d0130e864e2c523f948ec45365e1
-SIZE (img2pdf-0.6.0.tar.gz) = 106503
+TIMESTAMP = 1747416899
+SHA256 (img2pdf-0.6.1.tar.gz) = 306e279eb832bc159d7d6294b697a9fbd11b4be1f799b14b3b2174fb506af289
+SIZE (img2pdf-0.6.1.tar.gz) = 106513