mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
math/py-cypari2: upgrade to 2.1.5
Releases notes at <https://github.com/sagemath/cypari2/releases>.
This commit is contained in:
parent
8f86b9737c
commit
e81ee93ff9
@ -1,5 +1,5 @@
|
||||
PORTNAME= cypari2
|
||||
PORTVERSION= 2.1.3
|
||||
PORTVERSION= 2.1.5
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -14,7 +14,8 @@ 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}
|
||||
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
|
||||
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}flaky>=3.8.1:devel/py-flaky@${PY_FLAVOR}
|
||||
|
||||
#USE_GITHUB= yes
|
||||
#GH_ACCOUNT= sagemath
|
||||
@ -26,24 +27,8 @@ USE_PYTHON= cython distutils
|
||||
LDFLAGS+= -s
|
||||
.endif
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
|
||||
DOCS_USES= gmake
|
||||
PORTDOCS= *
|
||||
|
||||
PLIST_SUB+= VER=${DISTVERSION}
|
||||
|
||||
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}
|
||||
|
||||
do-test: install
|
||||
(cd ${WRKSRC} && py.test)
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1678544220
|
||||
SHA256 (cypari2-2.1.3.tar.gz) = 17beb467d3cb39fffec3227c468f0dd8db8a09129faeb95a6bb4c84b2b6c6683
|
||||
SIZE (cypari2-2.1.3.tar.gz) = 127289
|
||||
TIMESTAMP = 1714919603
|
||||
SHA256 (cypari2-2.1.5.tar.gz) = 1a25865c34f20b1dc95830798e34ab6436e278b8e0c80dc7bf0ab34c5db03ab8
|
||||
SIZE (cypari2-2.1.5.tar.gz) = 127119
|
||||
|
10
math/py-cypari2/files/patch-setup.py
Normal file
10
math/py-cypari2/files/patch-setup.py
Normal file
@ -0,0 +1,10 @@
|
||||
--- setup.py.orig 2024-03-24 18:42:39 UTC
|
||||
+++ setup.py
|
||||
@@ -36,7 +36,6 @@ class build_ext(_build_ext):
|
||||
"binding": True,
|
||||
"cdivision": True,
|
||||
"language_level": 2,
|
||||
- "legacy_implicit_noexcept": True,
|
||||
"c_api_binop_methods": True,
|
||||
}
|
||||
|
@ -1,23 +1,31 @@
|
||||
%%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/Py_SET_SIZE.h
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/auto_paridecl.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/closure.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/closure%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/convert.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/closure.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/closure.pyx
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/convert%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/convert.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/convert.pyx
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/cypari.h
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/gen.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/gen%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/handle_error.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/gen.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/gen.pyx
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/handle_error%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/pari_instance.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/handle_error.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/handle_error.pyx
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/pari_instance%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/pari_instance.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/pari_instance.pyx
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/paridecl.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/paripriv.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/stack.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/pycore_long.h
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/pycore_long.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/stack%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/string_utils.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/stack.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/stack.pyx
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/string_utils%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/string_utils.pxd
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/string_utils.pyx
|
||||
%%PYTHON_SITELIBDIR%%/cypari2/types.pxd
|
||||
|
Loading…
Reference in New Issue
Block a user