math/ntpoly: set USE_GITHUB and fix WWW link

Reported by:	diizzy
This commit is contained in:
Thierry Thomas 2022-10-18 11:15:29 +02:00
parent f688807dab
commit 8526d20aa5
2 changed files with 8 additions and 10 deletions

View File

@ -1,13 +1,11 @@
PORTNAME= NTPoly
PORTVERSION= 2.7.1
DISTVERSION= 2.7.1
DISTVERSIONPREFIX= v
CATEGORIES= math
MASTER_SITES= https://github.com/william-dawson/${PORTNAME}/archive/refs/tags/
DISTNAME= ${PORTNAME:tl}-${DISTVERSIONPREFIX}${DISTVERSION}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Library for computing the functions of sparse matrices
WWW= https://github.com/kimwalisch/primecount
WWW= https://william-dawson.github.io/NTPoly
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@ -18,11 +16,11 @@ TEST_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
#USE_GITHUB= yes
#GH_ACCOUNT= william-dawson
USE_GITHUB= yes
GH_ACCOUNT= william-dawson
GH_TAGNAME= ${PORTNAME:tl}-${DISTVERSIONPREFIX}${DISTVERSION}
USES= blaslapack:openblas cmake fortran mpi python
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME:tl}-${DISTVERSIONPREFIX}${DISTVERSION}
FFLAGS+= -fopenmp -fallow-argument-mismatch
CXXFLAGS+= -fopenmp
CMAKE_ARGS= -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1665940022
SHA256 (ntpoly-v2.7.1.tar.gz) = c15d9f51ac054b4ef0565ce5c4c8589c10bdbab4dc3442ebd109691e2bbfc7e2
SIZE (ntpoly-v2.7.1.tar.gz) = 281935
TIMESTAMP = 1666081148
SHA256 (william-dawson-NTPoly-v2.7.1-ntpoly-v2.7.1_GH0.tar.gz) = c15d9f51ac054b4ef0565ce5c4c8589c10bdbab4dc3442ebd109691e2bbfc7e2
SIZE (william-dawson-NTPoly-v2.7.1-ntpoly-v2.7.1_GH0.tar.gz) = 281935