pkgsrc/devel/py-cffi/Makefile
wiz 6e899de8a6 Run self-tests using py.test, better readable output.
Remove mprotect comment; even with it turned off, a segfault happens.
2017-01-28 15:34:19 +00:00

23 lines
650 B
Makefile

# $NetBSD: Makefile,v 1.24 2017/01/28 15:34:19 wiz Exp $
DISTNAME= cffi-1.9.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/cffi/
COMMENT= Foreign Function Interface for Python calling C code
LICENSE= mit
USE_TOOLS+= pkg-config
DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
do-test:
cd ${WRKSRC} && py.test-${PYVERSSUFFIX} -v
.include "../../devel/libffi/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"