aboutsummaryrefslogtreecommitdiff
path: root/math/py-cypari2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-cypari2/Makefile')
-rw-r--r--math/py-cypari2/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/math/py-cypari2/Makefile b/math/py-cypari2/Makefile
index 3b151e2178f6..58350ac2dd42 100644
--- a/math/py-cypari2/Makefile
+++ b/math/py-cypari2/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cypari2
-PORTVERSION= 2.1.3
+PORTVERSION= 2.2.2
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,40 +10,27 @@ WWW= https://github.com/sagemath/cypari2
LICENSE= GPLv2
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
LIB_DEPENDS= libgmp.so:math/gmp \
libpari.so:math/pari
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
-TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}flaky>=3.8.1:devel/py-flaky@${PY_FLAVOR}
#USE_GITHUB= yes
#GH_ACCOUNT= sagemath
USES= compiler:c11 python
-USE_PYTHON= cython distutils
+USE_PYTHON= cython3 pep517
.if !defined(WITH_DEBUG)
LDFLAGS+= -s
.endif
-OPTIONS_DEFINE= DOCS
-DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
-DOCS_USES= gmake
-PORTDOCS= *
-
PLIST_SUB+= VER=${DISTVERSION}
-pre-configure-DOCS-on:
- ${REINPLACE_CMD} -e 's|python -m|${PYTHON_CMD} -m|' \
- ${WRKSRC}/docs/Makefile
-
-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.test)