pkgsrc/devel/py-cffi/Makefile
adam bccfc5518e py-cffi: updated to 1.14.4
1.14.4:
Unknown changes
2020-11-25 11:34:39 +00:00

33 lines
920 B
Makefile

# $NetBSD: Makefile,v 1.48 2020/11/25 11:34:39 adam Exp $
DISTNAME= cffi-1.14.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://cffi.readthedocs.io/
COMMENT= Foreign Function Interface for Python calling C code
LICENSE= mit
USE_LANGUAGES= c c++ # c++ for testing only
USE_TOOLS+= pkg-config
DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
PYTHON_VERSIONED_DEPENDENCIES= test:test
DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
# to avoid py-hypothesis
TEST_ENV+= PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
TEST_ENV+= TMPDIR=${WRKDIR}/tmp
do-test:
${MKDIR} ${WRKDIR}/tmp
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} testing
.include "../../devel/libffi/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"