git: cd0d5f2edb95 - main - math/py-primme: Update 3.2 -> 3.2.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 03:50:29 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd0d5f2edb959069fe82c60d96c1975e5129ccf3 commit cd0d5f2edb959069fe82c60d96c1975e5129ccf3 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-05-10 03:49:54 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-05-10 03:50:24 +0000 math/py-primme: Update 3.2 -> 3.2.1 --- math/py-primme/Makefile | 24 +++++++++++------------- math/py-primme/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/math/py-primme/Makefile b/math/py-primme/Makefile index a18536f7689d..db6ca5f9cf54 100644 --- a/math/py-primme/Makefile +++ b/math/py-primme/Makefile @@ -1,33 +1,31 @@ PORTNAME= primme -DISTVERSIONPREFIX= v -DISTVERSION= 3.2 +DISTVERSION= 3.2.1 CATEGORIES= math python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= PRIMME wrapper for Python LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/../COPYING.txt -BUILD_DEPENDS= ${PYNUMPY} +BUILD_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} LIB_DEPENDS= libprimme.so:math/primme -RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} + TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} USES= fortran gmake localbase:ldflags python:3.6+ shebangfix -SHEBANG_FILES= examples.py tests.py -USE_GITHUB= yes USE_PYTHON= distutils cython autoplist + TEST_TARGET= test -WRKSRC_SUBDIR= Python BINARY_ALIAS= python2=${PYTHON_CMD} -post-patch: - @${REINPLACE_CMD} "s|\['../lib/libprimme.a'\]|['${LOCALBASE}/lib/libprimme.so']|" ${WRKSRC}/setup.py - -post-test: # not sure why does the 'test' target run examples and not tests - @cd ${WRKSRC} && ${PYTHON_CMD} ${WRKSRC}/tests.py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/primme.cpython-38.so .include <bsd.port.mk> diff --git a/math/py-primme/distinfo b/math/py-primme/distinfo index 1e66887ee296..48fa2f5b68b7 100644 --- a/math/py-primme/distinfo +++ b/math/py-primme/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1612122429 -SHA256 (primme-primme-v3.2_GH0.tar.gz) = 8ff242a356cea465c9728a26cb6e0487712d9ae51050a362de487e3b13a2fe9b -SIZE (primme-primme-v3.2_GH0.tar.gz) = 17447176 +TIMESTAMP = 1652145885 +SHA256 (primme-3.2.1.tar.gz) = 0d10daa32899eca8aaf9a3e1dcf7ce088acb17e04668b7317087d279e48db256 +SIZE (primme-3.2.1.tar.gz) = 543155