summaryrefslogtreecommitdiff
path: root/graphics/py-img2pdf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-img2pdf/Makefile')
-rw-r--r--graphics/py-img2pdf/Makefile11
1 files changed, 6 insertions, 5 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}