Gmpy2 is lagging for some time, and meanwhile, pplpy and SageMath require

functonnalities only available from the pre-release versions.
This commit is contained in:
Thierry Thomas 2020-05-17 20:28:46 +00:00
parent 629e77287b
commit 3c68f9cfbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535674
5 changed files with 70 additions and 0 deletions

View file

@ -753,6 +753,7 @@
SUBDIR += py-gimmik
SUBDIR += py-gmpy
SUBDIR += py-gmpy2
SUBDIR += py-gmpy2-devel
SUBDIR += py-grandalf
SUBDIR += py-graphillion
SUBDIR += py-gym

View file

@ -0,0 +1,44 @@
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= gmpy2
DISTVERSION= 2.1.0b4
CATEGORIES= math python
MASTER_SITES= https://github.com/aleaxit/gmpy/archive/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -devel
MAINTAINER= thierry@FreeBSD.org
COMMENT= GMP, MPFR, and MPC interface to Python - devel version
LICENSE= GPLv3
LIB_DEPENDS= libgmp.so:math/gmp \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr
#USE_GITHUB= yes
#GH_ACCOUNT= aleaxit
#GH_PROJECT= gmpy
USES= localbase python:3.7+
USE_PYTHON= distutils
CONFLICTS= ${PYTHON_PKGNAMEPREFIX}gmpy2-2.0*
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PY_SPHINX}
DOCS_USES= gmake
PORTDOCS= *
WRKSRC= ${WRKDIR}/gmpy-${PORTNAME}-${DISTVERSION}
PLIST_SUB= VER=${DISTVERSION}
do-build-DOCS-on:
(cd ${WRKSRC}/docs && ${GMAKE} html)
post-build-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/_build/html/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1589731893
SHA256 (gmpy2-2.1.0b4.tar.gz) = 83589062bc2b221080d6e32aa197b845be16dcda8aa0f92781854636f17b0a5b
SIZE (gmpy2-2.1.0b4.tar.gz) = 378212

View file

@ -0,0 +1,10 @@
C-coded Python extension module that supports multiple-precision arithmetic.
In addition to supporting GMP or MPIR for multiple-precision integer and
rational arithmetic, gmpy2 adds support for the MPFR (correctly rounded real
floating-point arithmetic) and MPC (correctly rounded complex floating-point
arithmetic) libraries.
This is the -devel version, to be removed when 2.1 will be the new stable.
WWW: https://pypi.org/project/gmpy2/
WWW: https://github.com/aleaxit/gmpy/releases

View file

@ -0,0 +1,12 @@
%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/not-zip-safe
%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/gmpy2/__init__.pxd
%%PYTHON_SITELIBDIR%%/gmpy2/__init__.py
%%PYTHON_SITELIBDIR%%/gmpy2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/gmpy2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/gmpy2/gmpy2.h
%%PYTHON_SITELIBDIR%%/gmpy2/gmpy2.pxd
%%PYTHON_SITELIBDIR%%/gmpy2/gmpy2.so