Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2018 18:14:16 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481239 - head/math/py-numpy
Message-ID:  <201810041814.w94IEGLq082465@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Oct  4 18:14:16 2018
New Revision: 481239
URL: https://svnweb.freebsd.org/changeset/ports/481239

Log:
  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

Modified:
  head/math/py-numpy/Makefile
  head/math/py-numpy/distinfo

Modified: head/math/py-numpy/Makefile
==============================================================================
--- head/math/py-numpy/Makefile	Thu Oct  4 18:14:07 2018	(r481238)
+++ head/math/py-numpy/Makefile	Thu Oct  4 18:14:16 2018	(r481239)
@@ -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>

Modified: head/math/py-numpy/distinfo
==============================================================================
--- head/math/py-numpy/distinfo	Thu Oct  4 18:14:07 2018	(r481238)
+++ head/math/py-numpy/distinfo	Thu Oct  4 18:14:16 2018	(r481239)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810041814.w94IEGLq082465>