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:
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
|
@ -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
|
||||
|
|
44
math/py-gmpy2-devel/Makefile
Normal file
44
math/py-gmpy2-devel/Makefile
Normal 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>
|
3
math/py-gmpy2-devel/distinfo
Normal file
3
math/py-gmpy2-devel/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1589731893
|
||||
SHA256 (gmpy2-2.1.0b4.tar.gz) = 83589062bc2b221080d6e32aa197b845be16dcda8aa0f92781854636f17b0a5b
|
||||
SIZE (gmpy2-2.1.0b4.tar.gz) = 378212
|
10
math/py-gmpy2-devel/pkg-descr
Normal file
10
math/py-gmpy2-devel/pkg-descr
Normal 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
|
12
math/py-gmpy2-devel/pkg-plist
Normal file
12
math/py-gmpy2-devel/pkg-plist
Normal 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
|
Loading…
Reference in a new issue