Skip to content

Commit

Permalink
math/py-gmpy2: Update 2.1.2 → 2.1.5
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Mar 27, 2023
1 parent 544895c commit 54ec3e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions math/py-gmpy2/Makefile
@@ -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>
6 changes: 3 additions & 3 deletions math/py-gmpy2/distinfo
@@ -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

0 comments on commit 54ec3e6

Please sign in to comment.