openbsd-ports/textproc/py-patiencediff/Makefile
sthen f712e8e88d update to py3-patiencediff-0.2.10, point MODPY_TEST_DIR at the build
dir so that the compiled extension is found and related tests aren't
skipped
2022-12-07 08:49:31 +00:00

28 lines
610 B
Makefile

COMMENT = Python implementation of the patiencediff algorithm
MODPY_EGG_VERSION = 0.2.10
DISTNAME = patiencediff-${MODPY_EGG_VERSION}
PKGNAME = py-patiencediff-${MODPY_EGG_VERSION}
CATEGORIES = textproc
HOMEPAGE = https://pypi.org/project/patiencediff/
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += ${MODPY_WANTLIB} pthread
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
# otherwise extension is not found and relevant tests are skipped
MODPY_TEST_DIR = ${WRKSRC}/build/lib.*
BUILD_DEPENDS = lang/cython${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>