f712e8e88d
dir so that the compiled extension is found and related tests aren't skipped
28 lines
610 B
Makefile
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>
|