git: f467fe075b54 - main - math/py-cypari2: update to 2.1.2.
Thierry Thomas
thierry at FreeBSD.org
Fri Apr 23 15:39:11 UTC 2021
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f467fe075b54ec197b18f30a47d2dbc6c933234d
commit f467fe075b54ec197b18f30a47d2dbc6c933234d
Author: Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-04-23 14:04:03 +0000
Commit: Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-04-23 15:39:04 +0000
math/py-cypari2: update to 2.1.2.
- Switch to pypi.org;
- Strip libraries;
- Add a test target.
---
math/py-cypari2/Makefile | 18 +++++++++++++-----
math/py-cypari2/distinfo | 6 +++---
math/py-cypari2/pkg-plist | 5 -----
3 files changed, 16 insertions(+), 13 deletions(-)
diff --git a/math/py-cypari2/Makefile b/math/py-cypari2/Makefile
index f7d61543ecb8..58e6426a9b72 100644
--- a/math/py-cypari2/Makefile
+++ b/math/py-cypari2/Makefile
@@ -1,8 +1,9 @@
# Created by: thierry at pompo.net
PORTNAME= cypari2
-DISTVERSION= 2.1.2b1
+PORTVERSION= 2.1.2
CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= thierry at FreeBSD.org
@@ -14,14 +15,18 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${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}
-USE_GITHUB= yes
-GH_ACCOUNT= sagemath
+#USE_GITHUB= yes
+#GH_ACCOUNT= sagemath
-USES= compiler:c11 perl5 python:3.6+
-USE_PERL5= build
+USES= compiler:c11 python:3.6+
USE_PYTHON= cython distutils
+.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
@@ -40,4 +45,7 @@ post-build-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR}
+do-test: install
+ (cd ${WRKSRC} && py.test)
+
.include <bsd.port.mk>
diff --git a/math/py-cypari2/distinfo b/math/py-cypari2/distinfo
index 01f97a75b205..77c925a9f524 100644
--- a/math/py-cypari2/distinfo
+++ b/math/py-cypari2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616425865
-SHA256 (sagemath-cypari2-2.1.2b1_GH0.tar.gz) = 8c58cb3c6a8e51e8f1319619761df747ae56823b159c3d326d2b11b0ca5598cd
-SIZE (sagemath-cypari2-2.1.2b1_GH0.tar.gz) = 125863
+TIMESTAMP = 1619180534
+SHA256 (cypari2-2.1.2.tar.gz) = 03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a
+SIZE (cypari2-2.1.2.tar.gz) = 2178968
diff --git a/math/py-cypari2/pkg-plist b/math/py-cypari2/pkg-plist
index 3362c59567fd..27790a909b6a 100644
--- a/math/py-cypari2/pkg-plist
+++ b/math/py-cypari2/pkg-plist
@@ -1,8 +1,3 @@
-%%PYTHON_SITELIBDIR%%/cypari2-%%VER%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
-%%PYTHON_SITELIBDIR%%/cypari2-%%VER%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/cypari2-%%VER%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/cypari2-%%VER%%-py%%PYTHON_VER%%.egg-info/requires.txt
-%%PYTHON_SITELIBDIR%%/cypari2-%%VER%%-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/cypari2/__init__.py
%%PYTHON_SITELIBDIR%%/cypari2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/cypari2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
More information about the dev-commits-ports-all
mailing list