Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2017 02:08:29 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448445 - head/math/py-numpy
Message-ID:  <201708210208.v7L28T1q037202@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Mon Aug 21 02:08:29 2017
New Revision: 448445
URL: https://svnweb.freebsd.org/changeset/ports/448445

Log:
  - Update MASTER_SITES, now get source from github and doc from docs.scipy.org
    (Based on PR/181285)

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

Modified: head/math/py-numpy/Makefile
==============================================================================
--- head/math/py-numpy/Makefile	Mon Aug 21 00:49:29 2017	(r448444)
+++ head/math/py-numpy/Makefile	Mon Aug 21 02:08:29 2017	(r448445)
@@ -3,15 +3,17 @@
 
 PORTNAME=	numpy
 PORTVERSION=	1.13.1
+DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	math python
-MASTER_SITES=	CHEESESHOP:source \
-		SF/${PORTNAME}/NumPy/${PORTVERSION}/:doc
+MASTER_SITES=	GH:source \
+		http://docs.scipy.org/doc/${PORTNAME}-${PORTVERSION:C/\.[0-9]+$/.0/}/:doc
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTFILES=	numpy-${PORTVERSION:S/r/rc/}${EXTRACT_SUFX}:source \
-		reference.pdf:doc \
-		userguide.pdf:doc
-EXTRACT_ONLY=	numpy-${PORTVERSION:S/r/rc/}${EXTRACT_SUFX}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:source \
+		${PORTNAME}-ref-${PORTVERSION:C/\.[0-9]+$/.0/}.pdf:doc \
+		${PORTNAME}-user-${PORTVERSION:C/\.[0-9]+$/.0/}.pdf:doc
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	The New Numeric Extension to Python
@@ -21,7 +23,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 PYDISTUTILS_BUILDARGS=		--fcompiler=gnu95
 PYDISTUTILS_CONFIGUREARGS=	--fcompiler=gnu95
-USES=		fortran python zip
+USES=		fortran python
+USE_GITHUB=	yes
 USE_PYTHON=	concurrent distutils py3kplist
 LDFLAGS+=	-shared
 
@@ -34,7 +37,6 @@ TESTS_DESC=		Install test suite requirements
 
 PLIST_SUB=	PYTHON_VER=${PYTHON_VER}
 PORTDOCS=	*
-WRKSRC=		${WRKDIR}/${DISTNAME:S/r/rc/}
 
 GCCLIBDIR_CMDS=	${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so//
 
@@ -45,6 +47,8 @@ OPENBLAS_USES=	blaslapack:openblas
 SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse
 TESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose
 
+BUILD_DEPENDS+=	cython:lang/cython
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
@@ -95,7 +99,7 @@ post-install:
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/reference.pdf ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/userguide.pdf ${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}
 
 .include <bsd.port.post.mk>

Modified: head/math/py-numpy/distinfo
==============================================================================
--- head/math/py-numpy/distinfo	Mon Aug 21 00:49:29 2017	(r448444)
+++ head/math/py-numpy/distinfo	Mon Aug 21 02:08:29 2017	(r448445)
@@ -1,7 +1,9 @@
-TIMESTAMP = 1500813040
-SHA256 (numpy-1.13.1.zip) = c9b0283776085cb2804efff73e9955ca279ba4edafd58d3ead70b61d209c4fbb
-SIZE (numpy-1.13.1.zip) = 5012881
-SHA256 (reference.pdf) = 2f6f6eb0423a27a60cc4c5a79154b1d1491704e8d2ad347059bf02ee4f22f8c8
-SIZE (reference.pdf) = 4529593
-SHA256 (userguide.pdf) = e546a80d2e260448015aaa977acc68f4915f8850c3ad6172fd0cfbeb68ab0e4b
-SIZE (userguide.pdf) = 544720
+TIMESTAMP = 1503308026
+SHA256 (numpy-numpy-v1.13.1_GH0.tar.gz) = cf8652b96582b282a5bb710aa4fe2300dca63bdd678a3cd7820314cb6c97ca89
+SIZE (numpy-numpy-v1.13.1_GH0.tar.gz) = 4336552
+SHA256 (numpy-ref-1.13.0.pdf) = 954a70e3724680603d40ad287201b7999aedd3e803033066f11e95a25a7d4028
+SIZE (numpy-ref-1.13.0.pdf) = 5047809
+SHA256 (numpy-user-1.13.0.pdf) = 9bba988452f0e58c257833df80658509ccb85af5d946c55b19ffb16367f1704f
+SIZE (numpy-user-1.13.0.pdf) = 580593
+SHA256 (numpy-numpy-v1.13.1_GH0.tar.gz) = cf8652b96582b282a5bb710aa4fe2300dca63bdd678a3cd7820314cb6c97ca89
+SIZE (numpy-numpy-v1.13.1_GH0.tar.gz) = 4336552



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