1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Adding fpylll, a Python interface for fplll.

To be used by SageMath.
This commit is contained in:
Thierry Thomas 2020-05-13 20:10:01 +00:00
parent 6dcc56c70b
commit c055f5b540
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535137
5 changed files with 118 additions and 0 deletions

View File

@ -747,6 +747,7 @@
SUBDIR += py-ffc
SUBDIR += py-fiat
SUBDIR += py-fpconst
SUBDIR += py-fpylll
SUBDIR += py-gau2grid
SUBDIR += py-gimmik
SUBDIR += py-gmpy

44
math/py-fpylll/Makefile Normal file
View File

@ -0,0 +1,44 @@
# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= fpylll
DISTVERSION= 0.5.1dev
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Python interface for fplll
LICENSE= GPLv2
BUILD_DEPENDS= ${PYNUMPY} \
cython:lang/cython \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
LIB_DEPENDS= libfplll.so:math/fplll \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libpari.so:math/pari
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= fplll
USES= compiler:c++11-lang python:3.6+
USE_PYTHON= distutils
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PY_SPHINX}
DOCS_USES= gmake
PORTDOCS= *
PLIST_SUB= VER=${PORTVERSION:R}
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>

3
math/py-fpylll/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1589143466
SHA256 (fplll-fpylll-0.5.1dev_GH0.tar.gz) = 310c864ab7e670525757feae9718f02426e40494650ffee4b35af7d109f18aee
SIZE (fplll-fpylll-0.5.1dev_GH0.tar.gz) = 120564

3
math/py-fpylll/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
A Python wrapper for fplll.
WWW: https://github.com/fplll/fpylll

67
math/py-fpylll/pkg-plist Normal file
View File

@ -0,0 +1,67 @@
%%PYTHON_SITELIBDIR%%/fpylll-%%VER%%.dev0-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/fpylll-%%VER%%.dev0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/fpylll-%%VER%%.dev0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/fpylll-%%VER%%.dev0-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/fpylll/__init__.py
%%PYTHON_SITELIBDIR%%/fpylll/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%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__/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
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/bkz2.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/pbkz.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/pbkz.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/__pycache__/simple_bkz.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%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/bkz.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/bkz2.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/pbkz.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/simple_bkz.py
%%PYTHON_SITELIBDIR%%/fpylll/algorithms/simple_dbkz.py
%%PYTHON_SITELIBDIR%%/fpylll/config.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/__init__.py
%%PYTHON_SITELIBDIR%%/fpylll/fplll/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/fplll/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/fplll/bkz.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/bkz_param.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/enumeration.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/gso.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/integer_matrix.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/lll.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/pruner.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/sieve_gauss.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/svpcvp.so
%%PYTHON_SITELIBDIR%%/fpylll/fplll/wrapper.so
%%PYTHON_SITELIBDIR%%/fpylll/gmp/__init__.py
%%PYTHON_SITELIBDIR%%/fpylll/gmp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/gmp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/gmp/pylong.so
%%PYTHON_SITELIBDIR%%/fpylll/io.so
%%PYTHON_SITELIBDIR%%/fpylll/numpy.so
%%PYTHON_SITELIBDIR%%/fpylll/tools/__init__.py
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/benchmark.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/benchmark.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/bkz_plot.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/bkz_plot.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/bkz_simulator.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/bkz_simulator.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/bkz_stats.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/bkz_stats.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/compare.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/compare.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/quality.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/__pycache__/quality.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/fpylll/tools/benchmark.py
%%PYTHON_SITELIBDIR%%/fpylll/tools/bkz_plot.py
%%PYTHON_SITELIBDIR%%/fpylll/tools/bkz_simulator.py
%%PYTHON_SITELIBDIR%%/fpylll/tools/bkz_stats.py
%%PYTHON_SITELIBDIR%%/fpylll/tools/compare.py
%%PYTHON_SITELIBDIR%%/fpylll/tools/quality.py
%%PYTHON_SITELIBDIR%%/fpylll/util.so