Skip to content

Commit

Permalink
math/ntpoly: set USE_GITHUB and fix WWW link
Browse files Browse the repository at this point in the history
Reported by:	diizzy
  • Loading branch information
thierry-FreeBSD committed Oct 18, 2022
1 parent f688807 commit 8526d20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions math/ntpoly/Makefile
@@ -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
Expand All @@ -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}
Expand Down
6 changes: 3 additions & 3 deletions math/ntpoly/distinfo
@@ -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

0 comments on commit 8526d20

Please sign in to comment.