update to img2pdf-0.4.0, mostly from wen heping, i switched tests to

MODPY_PYTEST to fix them
This commit is contained in:
sthen 2020-11-11 10:19:44 +00:00
parent 3a9172bf76
commit 1f0723fadc
2 changed files with 9 additions and 6 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.14 2020/07/06 10:07:44 sthen Exp $
# $OpenBSD: Makefile,v 1.15 2020/11/11 10:19:44 sthen Exp $
COMMENT = losslessly convert images to PDF
MODPY_EGG_VERSION = 0.3.6
MODPY_EGG_VERSION = 0.4.0
DISTNAME = img2pdf-${MODPY_EGG_VERSION}
CATEGORIES = graphics
@ -17,9 +17,12 @@ MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
RUN_DEPENDS = graphics/py-Pillow${MODPY_FLAVOR} \
print/py-pikepdf${MODPY_FLAVOR}
# some tests fail as they require pdfrw (overall this is optional for
# img2pdf and autodetected at runtime; we don't have it in ports yet)
RUN_DEPENDS = graphics/py-Pillow${MODPY_FLAVOR}
TEST_DEPENDS = graphics/py-Pillow${MODPY_FLAVOR}
MODPY_PYTEST = Yes
TEST_DEPENDS = sysutils/py-packaging${MODPY_FLAVOR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (img2pdf-0.3.6.tar.gz) = jNVQmmC3X0RCuJe609WT4l69MUEF8wNKjxfe85akoPs=
SIZE (img2pdf-0.3.6.tar.gz) = 91006
SHA256 (img2pdf-0.4.0.tar.gz) = 6u5pCrhAPdGpy02xCv7kHdPmx+1jvazgKgEh+f6tsMk=
SIZE (img2pdf-0.4.0.tar.gz) = 107027