Date: Fri, 15 May 2020 21:05:53 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535335 - in head/math: . py-cypari2 Message-ID: <202005152105.04FL5rFJ097055@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Fri May 15 21:05:52 2020 New Revision: 535335 URL: https://svnweb.freebsd.org/changeset/ports/535335 Log: Adding cypari2, a Python interface to the number theory library PARI/GP. To be used by SageMath. Added: head/math/py-cypari2/ head/math/py-cypari2/Makefile (contents, props changed) head/math/py-cypari2/distinfo (contents, props changed) head/math/py-cypari2/pkg-descr (contents, props changed) head/math/py-cypari2/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Fri May 15 20:33:02 2020 (r535334) +++ head/math/Makefile Fri May 15 21:05:52 2020 (r535335) @@ -740,6 +740,7 @@ SUBDIR += py-cvxopt SUBDIR += py-cvxpy SUBDIR += py-cyipopt + SUBDIR += py-cypari2 SUBDIR += py-deap SUBDIR += py-ecos SUBDIR += py-fastcluster Added: head/math/py-cypari2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-cypari2/Makefile Fri May 15 21:05:52 2020 (r535335) @@ -0,0 +1,42 @@ +# Created by: thierry@pompo.net +# $FreeBSD$ + +PORTNAME= cypari2 +DISTVERSION= 2.1.1 +CATEGORIES= math python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Python interface to the number theory library PARI/GP + +LICENSE= GPLv2 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} +LIB_DEPENDS= libgmp.so:math/gmp \ + libpari.so:math/pari +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} + +USE_GITHUB= yes +GH_ACCOUNT= sagemath + +USES= perl5 python:3.6+ +USE_PERL5= build +USE_PYTHON= cython distutils + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ${PY_SPHINX} +DOCS_USES= gmake +PORTDOCS= * + +pre-configure-DOCS-on: + ${REINPLACE_CMD} -e 's|python -m|${PYTHON_CMD} -m|' \ + ${WRKSRC}/docs/Makefile + +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> Added: head/math/py-cypari2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-cypari2/distinfo Fri May 15 21:05:52 2020 (r535335) @@ -0,0 +1,3 @@ +TIMESTAMP = 1589574266 +SHA256 (sagemath-cypari2-2.1.1_GH0.tar.gz) = 8b707cba6f5ed249105348d3e29ce55c12c7ed5556ff6e0ae03f7aa792321e10 +SIZE (sagemath-cypari2-2.1.1_GH0.tar.gz) = 123990 Added: head/math/py-cypari2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-cypari2/pkg-descr Fri May 15 21:05:52 2020 (r535335) @@ -0,0 +1,3 @@ +A Python interface to the number theory library PARI/GP. + +WWW: https://github.com/sagemath/cypari2 Added: head/math/py-cypari2/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-cypari2/pkg-plist Fri May 15 21:05:52 2020 (r535335) @@ -0,0 +1,22 @@ +%%PYTHON_SITELIBDIR%%/cypari2/__init__.py +%%PYTHON_SITELIBDIR%%/cypari2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/cypari2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/cypari2/auto_paridecl.pxd +%%PYTHON_SITELIBDIR%%/cypari2/closure.pxd +%%PYTHON_SITELIBDIR%%/cypari2/closure.so +%%PYTHON_SITELIBDIR%%/cypari2/convert.pxd +%%PYTHON_SITELIBDIR%%/cypari2/convert.so +%%PYTHON_SITELIBDIR%%/cypari2/cypari.h +%%PYTHON_SITELIBDIR%%/cypari2/gen.pxd +%%PYTHON_SITELIBDIR%%/cypari2/gen.so +%%PYTHON_SITELIBDIR%%/cypari2/handle_error.pxd +%%PYTHON_SITELIBDIR%%/cypari2/handle_error.so +%%PYTHON_SITELIBDIR%%/cypari2/pari_instance.pxd +%%PYTHON_SITELIBDIR%%/cypari2/pari_instance.so +%%PYTHON_SITELIBDIR%%/cypari2/paridecl.pxd +%%PYTHON_SITELIBDIR%%/cypari2/paripriv.pxd +%%PYTHON_SITELIBDIR%%/cypari2/stack.pxd +%%PYTHON_SITELIBDIR%%/cypari2/stack.so +%%PYTHON_SITELIBDIR%%/cypari2/string_utils.pxd +%%PYTHON_SITELIBDIR%%/cypari2/string_utils.so +%%PYTHON_SITELIBDIR%%/cypari2/types.pxd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005152105.04FL5rFJ097055>