lang/python port module. I've not yet come up with a port that would not need this and one can always set MODPY_TESTDEP to "no" to prevent the module from touching TEST_DEPENDS. Idea from afresh1 who pointed out the cpan module already does this. aja "I support this move." OK sthen@
32 lines
658 B
Makefile
32 lines
658 B
Makefile
# $OpenBSD: Makefile,v 1.16 2019/05/15 12:04:35 kmos Exp $
|
|
|
|
# XXX: Check _cffi__ hashes of dependent ports if updating.
|
|
# e.g. devel/libgit2/py-git2
|
|
|
|
COMMENT= Foreign Function Interface for Python calling C code
|
|
|
|
MODPY_EGG_VERSION= 1.12.3
|
|
DISTNAME= cffi-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}
|
|
CATEGORIES= devel
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MODPY_PI = Yes
|
|
|
|
WANTLIB= ffi pthread ${MODPY_WANTLIB}
|
|
|
|
MODULES= lang/python
|
|
FLAVORS= python3
|
|
FLAVOR?=
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
LIB_DEPENDS= devel/libffi
|
|
RUN_DEPENDS= devel/py-cparser${MODPY_FLAVOR}
|
|
TEST_DEPENDS= devel/py-py${MODPY_FLAVOR} \
|
|
devel/py-test${MODPY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|