| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/py-fpylll/ |
Upload File : |
PORTNAME= fpylll
PORTVERSION= 0.5.7
PORTREVISION= 1
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Python interface for fplll
WWW= https://github.com/fplll/fpylll
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 \
libqd.so:math/qd
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= fplll
USES= compiler:c++11-lang python:3.6+
USE_PYTHON= distutils
.if !defined(WITH_DEBUG)
LDFLAGS+= -s
.endif
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6,1:textproc/py-sphinx@${PY_FLAVOR}
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}
do-test: install
(cd ${WRKSRC} && PY_IGNORE_IMPORTMISMATCH=1 py.test)
.include <bsd.port.mk>