Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 11:20:27 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477149 - in head/math/py-numpy: . files
Message-ID:  <201808141120.w7EBKRJU020651@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Aug 14 11:20:27 2018
New Revision: 477149
URL: https://svnweb.freebsd.org/changeset/ports/477149

Log:
  math/py-numpy: update to 1.15.0
  
  - update to 1.15
  - convert to autoplist
  - follow upstream change from nose test framework to pytest
  
  Release notes:
  https://github.com/numpy/numpy/releases/tag/v1.15.0
  
  PR:		230094
  Submitted by:	wen
  Exp-run by:     antoine

Deleted:
  head/math/py-numpy/files/patch-numpy_core_src_npymath_npy__math__complex.c.src
  head/math/py-numpy/pkg-plist
Modified:
  head/math/py-numpy/Makefile
  head/math/py-numpy/distinfo

Modified: head/math/py-numpy/Makefile
==============================================================================
--- head/math/py-numpy/Makefile	Tue Aug 14 10:43:19 2018	(r477148)
+++ head/math/py-numpy/Makefile	Tue Aug 14 11:20:27 2018	(r477149)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	numpy
-PORTVERSION=	1.14.3
-PORTREVISION=	1
+PORTVERSION=	1.15.0
 DISTVERSIONPREFIX=	v
 PORTEPOCH=	1
 CATEGORIES=	math python
@@ -23,17 +22,16 @@ PYDISTUTILS_BUILDARGS=		--fcompiler=gnu95
 PYDISTUTILS_CONFIGUREARGS=	--fcompiler=gnu95
 USES=		fortran python
 USE_GITHUB=	yes
-USE_PYTHON=	concurrent distutils py3kplist cython allflavors
+USE_PYTHON=	concurrent distutils cython allflavors autoplist
 LDFLAGS+=	-shared
 
-OPTIONS_DEFINE=		DOCS SUITESPARSE TESTS
+OPTIONS_DEFINE=		DOCS SUITESPARSE
 OPTIONS_SINGLE=		BLASLIB
 OPTIONS_DEFAULT=	NETLIB SUITESPARSE
 OPTIONS_SINGLE_BLASLIB=	ATLAS NETLIB OPENBLAS
 SUITESPARSE_DESC=	Use AMD and UMFPACK in SuiteSparse
 TESTS_DESC=		Install test suite requirements
 
-PLIST_SUB=	PYTHON_VER=${PYTHON_VER}
 PORTDOCS=	*
 
 GCCLIBDIR_CMDS=	${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so//
@@ -43,10 +41,13 @@ NETLIB_USES=		blaslapack:netlib
 NETLIB_LIB_DEPENDS=	libcblas.so:math/cblas
 OPENBLAS_USES=		blaslapack:openblas
 SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse
-TESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
+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
+
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%FC%%|${FC}|" ${WRKSRC}/numpy/distutils/fcompiler/gnu.py
 	@${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg
@@ -90,5 +91,8 @@ 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}
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py
 
 .include <bsd.port.post.mk>

Modified: head/math/py-numpy/distinfo
==============================================================================
--- head/math/py-numpy/distinfo	Tue Aug 14 10:43:19 2018	(r477148)
+++ head/math/py-numpy/distinfo	Tue Aug 14 11:20:27 2018	(r477149)
@@ -1,7 +1,7 @@
-TIMESTAMP = 1525620087
-SHA256 (numpy-ref-1.14.0.pdf) = d672fdc715441ec139f6cf23384cfb02b3c1e1578c4c68e34836c42364432496
-SIZE (numpy-ref-1.14.0.pdf) = 4729774
-SHA256 (numpy-user-1.14.0.pdf) = cd140c1929537ae5461c0bba1dfaa25e2446e8e21b6e53a2944a9c533789f804
-SIZE (numpy-user-1.14.0.pdf) = 566987
-SHA256 (numpy-numpy-v1.14.3_GH0.tar.gz) = 6fa7a1801cfd305a0b06cee14bfc9f9683a30f25c3941d43449b5c0412a28da7
-SIZE (numpy-numpy-v1.14.3_GH0.tar.gz) = 4279766
+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



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