sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

27 lines
679 B
Makefile

# $OpenBSD: Makefile,v 1.11 2019/04/28 20:51:41 sthen Exp $
COMMENT = losslessly convert images to PDF
MODPY_EGG_VERSION = 0.3.3
DISTNAME = img2pdf-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = graphics
HOMEPAGE = https://gitlab.mister-muffin.de/josch/img2pdf/
# LGPLv3
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
# 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}
.include <bsd.port.mk>