math/py-gmpy2: Update 2.1.2 → 2.1.5

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2023-03-26 23:15:48 -07:00
parent 544895cb86
commit 54ec3e6ab4
2 changed files with 12 additions and 6 deletions

View file

@ -1,23 +1,29 @@
PORTNAME= gmpy2
DISTVERSION= 2.1.2
DISTVERSION= 2.1.5
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= GMP/MPIR, MPFR, and MPC interface to Python
WWW= https://pypi.org/project/gmpy2/
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
USE_PYTHON= distutils autoplist pytest # 2 tests fail, see https://github.com/aleaxit/gmpy/issues/403
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gmpy2/gmpy2*.so
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1641524654
SHA256 (gmpy2-2.1.2.tar.gz) = da75140bca128ece795895477e53b43773e3748aa90ba6170eae7ca2c74b82d1
SIZE (gmpy2-2.1.2.tar.gz) = 258445
TIMESTAMP = 1679897286
SHA256 (gmpy2-2.1.5.tar.gz) = bc297f1fd8c377ae67a4f493fc0f926e5d1b157e5c342e30a4d84dc7b9f95d96
SIZE (gmpy2-2.1.5.tar.gz) = 261709