diff --git a/math/py-fpylll/Makefile b/math/py-fpylll/Makefile index 1d86640b7856..39e11da821d7 100644 --- a/math/py-fpylll/Makefile +++ b/math/py-fpylll/Makefile @@ -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} diff --git a/math/py-fpylll/distinfo b/math/py-fpylll/distinfo index ddae94527541..eeede8dd8884 100644 --- a/math/py-fpylll/distinfo +++ b/math/py-fpylll/distinfo @@ -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 diff --git a/math/py-fpylll/pkg-plist b/math/py-fpylll/pkg-plist index 910f9c2e840a..629db14fb3e1 100644 --- a/math/py-fpylll/pkg-plist +++ b/math/py-fpylll/pkg-plist @@ -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