math/py-fpylll: upgrade to 0.5.9

Also do not build the docs (Tutorial) by default, because ATM Sphinx
causes filesystem violations. To be reverted when PR 270511 will be
committed.
This commit is contained in:
Thierry Thomas 2023-03-30 20:20:45 +02:00
parent f28be01a83
commit eabb1fb7b2
3 changed files with 18 additions and 11 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= fpylll
PORTVERSION= 0.5.7
PORTREVISION= 1
PORTVERSION= 0.5.9
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,6 +11,8 @@ LICENSE= GPLv2
BUILD_DEPENDS= ${PYNUMPY} \
cython:lang/cython \
${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pythran>0:devel/py-pythran@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
LIB_DEPENDS= libfplll.so:math/fplll \
libgmp.so:math/gmp \
@ -19,6 +20,8 @@ LIB_DEPENDS= libfplll.so:math/fplll \
libpari.so:math/pari \
libqd.so:math/qd
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pythran>0:devel/py-pythran@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
@ -31,17 +34,18 @@ USE_PYTHON= distutils
LDFLAGS+= -s
.endif
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6,1:textproc/py-sphinx@${PY_FLAVOR}
DOCS_USES= gmake
PORTDOCS= *
OPTIONS_DEFINE= TUTO
TUTO_DESC= Build the tutorial
OPTIONS_SUB= Yes
TUTO_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6,1:textproc/py-sphinx@${PY_FLAVOR}
TUTO_USES= gmake
PLIST_SUB= VER=${PORTVERSION:R}
do-build-DOCS-on:
do-build-TUTO-on:
(cd ${WRKSRC}/docs && ${GMAKE} html)
post-build-DOCS-on:
post-build-TUTO-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/_build/html/* ${STAGEDIR}${DOCSDIR}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1663516099
SHA256 (fplll-fpylll-0.5.7_GH0.tar.gz) = 350eff2debd1249ef915add8ea0b19217e8a694285b8a90460c593a718d57be4
SIZE (fplll-fpylll-0.5.7_GH0.tar.gz) = 126463
TIMESTAMP = 1680168776
SHA256 (fplll-fpylll-0.5.9_GH0.tar.gz) = d38f3cfaa3c104bba091933d6c798a4f71cad620e19a30843eb02d935a429eb2
SIZE (fplll-fpylll-0.5.9_GH0.tar.gz) = 129908

View file

@ -4,6 +4,8 @@
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__init__.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/babai.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/babai.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/bkz.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/bkz.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/bkz2.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
@ -12,6 +14,7 @@
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/simple_bkz.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/simple_dbkz.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/simple_dbkz.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/babai.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/bkz.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/bkz2.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/simple_bkz.py