ports/math/py-gmpy2/Makefile
Yuri Victorovich d6d0486a15 math/py-gmpy2: update 2.2.0 → 2.2.1
Reported by:	portscout
2024-08-25 09:47:03 -07:00

27 lines
641 B
Makefile

PORTNAME= gmpy2
DISTVERSION= 2.2.1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= GMP/MPIR, MPFR, and MPC interface to Python
WWW= https://gmpy2.readthedocs.io/en/latest/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgmp.so:math/gmp \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr
USES= localbase python
USE_PYTHON= distutils autoplist pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/test
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gmpy2/gmpy2*.so
.include <bsd.port.mk>