2022-11-13 15:29:41 +00:00

36 lines
747 B
Makefile

COMMENT= python bindings to libstatgrab
MODPY_EGG_VERSION = 0.7
DISTNAME= pystatgrab-${MODPY_EGG_VERSION}
PKGNAME= py-statgrab-${MODPY_EGG_VERSION}
CATEGORIES= sysutils
REVISION= 7
HOMEPAGE= http://www.i-scream.org/pystatgrab/
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB = pthread statgrab ${MODPY_WANTLIB}
MASTER_SITES= http://ftp.i-scream.org/pub/i-scream/pystatgrab/ \
http://ftp.uk.i-scream.org/pub/i-scream/pystatgrab/
MODULES = lang/python
FLAVORS= python3
FLAVOR= python3
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = test.py
LIB_DEPENDS= sysutils/libstatgrab>=0.91
# distributed statgrab.c needs rebuilding with newer cython for py37
BUILD_DEPENDS= lang/cython${MODPY_FLAVOR}
post-extract:
rm ${WRKSRC}/statgrab.c
.include <bsd.port.mk>