aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-10-05 02:14:16 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-10-05 02:14:16 +0800
commit871f3402e7e1649ef1d80da77860a9eeb25ae7db (patch)
treebd4431e9e6099aa8fa137d8434b61c077216f245 /math
parent27d67c65a25ebda9afc40367780e24791ecaf41e (diff)
downloadfreebsd-ports-gnome-871f3402e7e1649ef1d80da77860a9eeb25ae7db.tar.gz
freebsd-ports-gnome-871f3402e7e1649ef1d80da77860a9eeb25ae7db.tar.zst
freebsd-ports-gnome-871f3402e7e1649ef1d80da77860a9eeb25ae7db.zip
Update to 1.15.1
- Change MASTER_SITES to CHEESESHOP - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk Changes: https://github.com/numpy/numpy/releases PR: 231664 Exp-run by: antoine
Diffstat (limited to 'math')
-rw-r--r--math/py-numpy/Makefile25
-rw-r--r--math/py-numpy/distinfo14
2 files changed, 19 insertions, 20 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index 2df53617f79c..c1493a0b56bd 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -2,14 +2,15 @@
# $FreeBSD$
PORTNAME= numpy
-PORTVERSION= 1.15.0
-DISTVERSIONPREFIX= v
+PORTVERSION= 1.15.1
PORTEPOCH= 1
CATEGORIES= math python
-MASTER_SITES= http://docs.scipy.org/doc/${PORTNAME}-${PORTVERSION:R}.0/:doc
+MASTER_SITES= CHEESESHOP \
+ http://docs.scipy.org/doc/${PORTNAME}-${PORTVERSION}/:doc
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTFILES= ${PORTNAME}-ref-${PORTVERSION:R}.0.pdf:doc \
- ${PORTNAME}-user-${PORTVERSION:R}.0.pdf:doc
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${PORTNAME}-ref-${PORTVERSION}.pdf:doc \
+ ${PORTNAME}-user-${PORTVERSION}.pdf:doc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= python@FreeBSD.org
@@ -18,11 +19,11 @@ COMMENT= The New Numeric Extension to Python
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+USES= fortran python zip
+USE_PYTHON= allflavors autoplist concurrent cython distutils
+
PYDISTUTILS_BUILDARGS= --fcompiler=gnu95
PYDISTUTILS_CONFIGUREARGS= --fcompiler=gnu95
-USES= fortran python
-USE_GITHUB= yes
-USE_PYTHON= concurrent distutils cython allflavors autoplist
LDFLAGS+= -shared
OPTIONS_DEFINE= DOCS SUITESPARSE
@@ -43,8 +44,6 @@ OPENBLAS_USES= blaslapack:openblas
SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-.include <bsd.port.pre.mk>
-
post-extract:
@${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp
@@ -89,10 +88,10 @@ post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-ref-${PORTVERSION:C/\.[0-9]+$/.0/}.pdf ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-user-${PORTVERSION:C/\.[0-9]+$/.0/}.pdf ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-ref-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-user-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR}
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/py-numpy/distinfo b/math/py-numpy/distinfo
index f90acf2872b1..7347ccf756fc 100644
--- a/math/py-numpy/distinfo
+++ b/math/py-numpy/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1532676518
-SHA256 (numpy-ref-1.15.0.pdf) = 5e2621a2d5c192a1cdd8048f923dc40429ed1805317dbef5f828b2d17cb86dc9
-SIZE (numpy-ref-1.15.0.pdf) = 4820996
-SHA256 (numpy-user-1.15.0.pdf) = d6effede9f6628bbdcdaa0732b3f5ee8513e22a374914d51d469a218d72c461d
-SIZE (numpy-user-1.15.0.pdf) = 593592
-SHA256 (numpy-numpy-v1.15.0_GH0.tar.gz) = fec926cc3f157f4023e4126597dd5b9056778094393db01a3751b5e816a4a9ec
-SIZE (numpy-numpy-v1.15.0_GH0.tar.gz) = 4407386
+TIMESTAMP = 1536419161
+SHA256 (numpy-1.15.1.zip) = 7b9e37f194f8bcdca8e9e6af92e2cbad79e360542effc2dd6b98d63955d8d8a3
+SIZE (numpy-1.15.1.zip) = 4482769
+SHA256 (numpy-ref-1.15.1.pdf) = 1de34b5f096e13d1bc8768d68f11802d79196281d008b92bd5eafb8075b77a7c
+SIZE (numpy-ref-1.15.1.pdf) = 4843223
+SHA256 (numpy-user-1.15.1.pdf) = 2f7409221ccaf42760805bd14fd9e614ce4b45de82c7344ede2a08153655a831
+SIZE (numpy-user-1.15.1.pdf) = 596069