pkgsrc/math/py-gmpy/Makefile
wiz 71cce5e81d egg.mk: remove --single-version-externally-managed
setuptools has this as default when --root is used (since version 0.6a11).
2022-01-09 11:58:13 +00:00

26 lines
763 B
Makefile

# $NetBSD: Makefile,v 1.15 2022/01/09 11:58:15 wiz Exp $
DISTNAME= gmpy-1.17
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gmpy/}
EXTRACT_SUFX= .zip
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= https://github.com/aleaxit/gmpy
COMMENT= Python library for arbitrary precision arithmetic
LICENSE= gnu-lgpl-v2.1
.include "../../lang/python/pyversion.mk"
do-test:
.if ${_PYTHON_VERSION} == "27"
cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} gmpy_test.py
.else
cd ${WRKSRC}/test3 && ${SETENV} ${TEST_ENV} ${PYTHONBIN} gmpy_test.py
.endif
BUILDLINK_API_DEPENDS.gmp+= gmp>=4.2.1
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"