git: eabb1fb7b214 - main - math/py-fpylll: upgrade to 0.5.9

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Thu, 30 Mar 2023 19:43:06 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eabb1fb7b21477f817829a07646f6b2cd4ee215b

commit eabb1fb7b21477f817829a07646f6b2cd4ee215b
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-03-30 18:20:45 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-03-30 19:43:00 +0000

    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.
---
 math/py-fpylll/Makefile  | 20 ++++++++++++--------
 math/py-fpylll/distinfo  |  6 +++---
 math/py-fpylll/pkg-plist |  3 +++
 3 files changed, 18 insertions(+), 11 deletions(-)

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