aboutsummaryrefslogtreecommitdiff
path: root/science/py-scipy
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2015-02-07 20:11:53 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2015-02-07 20:11:53 +0000
commitdc913654a596c7b0ff3d4da6184404a8afa31f0b (patch)
tree3d13100d4b177bd0bfc8e4ccd15f48df2173a4e1 /science/py-scipy
parent9066ad97ff87e1b53776c59b87fcd4d0cdea8dda (diff)
downloadports-dc913654a596c7b0ff3d4da6184404a8afa31f0b.tar.gz
ports-dc913654a596c7b0ff3d4da6184404a8afa31f0b.zip
Notes
Diffstat (limited to 'science/py-scipy')
-rw-r--r--science/py-scipy/Makefile36
-rw-r--r--science/py-scipy/distinfo8
2 files changed, 19 insertions, 25 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index f8f807f3b749..4936a6fc7c4a 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= scipy
-PORTVERSION= 0.14.0
-PORTREVISION= 4
+PORTVERSION= 0.15.1
CATEGORIES= science python
MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \
SF:source
@@ -17,15 +16,17 @@ COMMENT= Scientific tools for Python
LICENSE= BSD3CLAUSE
-BUILD_DEPENDS+= ${PYNUMPY} \
+BUILD_DEPENDS= ${PYNUMPY} \
${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
-RUN_DEPENDS= ${PYNUMPY} \
- nosetests:${PORTSDIR}/devel/py-nose
+RUN_DEPENDS= ${PYNUMPY}
USES= fortran python
USE_PYTHON= distutils autoplist concurrent
+PYDISTUTILS_CONFIGUREARGS+= --fcompiler=gnu95
+PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95
+
LDFLAGS+= -shared
OPTIONS_DEFINE= ATLAS DOCS SUITESPARSE
@@ -33,35 +34,28 @@ OPTIONS_DEFAULT=SUITESPARSE
ATLAS_DESC= Use optimized blas library
SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse
-PORTDOCS= scipy-ref-${PORTVERSION}.pdf
+ATLAS_USES= blaslapack:atlas
+ATLAS_USES_OFF= blaslapack:netlib
+SUITESPARSE_LIB_DEPENDS= libumfpack.so:${PORTSDIR}/math/suitesparse
+SUITESPARSE_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
-post-patch:
- @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
- -e "s@malloc\.h@stdlib.h@"
+PORTDOCS= scipy-ref-${PORTVERSION}.pdf
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MATLAS}
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
.if !exists(${LOCALBASE}/lib/libalapack.a)
IGNORE= atlas needs to be built with WITH_STATIC for scipy to function properly
.endif
-.else
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack \
- libblas.so:${PORTSDIR}/math/blas
.endif
-.if ${PORT_OPTIONS:MSUITESPARSE}
-BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13
-LIB_DEPENDS+= libumfpack.so:${PORTSDIR}/math/suitesparse
-.endif
-
-PYDISTUTILS_CONFIGUREARGS+= --fcompiler=gnu95
-PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95
-
post-extract:
@${CP} ${DISTDIR}/scipy-ref-${PORTVERSION}.pdf ${WRKDIR}
+post-patch:
+ @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
+ -e "s@malloc\.h@stdlib.h@"
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo
index 27e18c7b89a0..15c0ae935f6f 100644
--- a/science/py-scipy/distinfo
+++ b/science/py-scipy/distinfo
@@ -1,4 +1,4 @@
-SHA256 (scipy-0.14.0.tar.gz) = 4b41a3e6bf178df1c7f0ef3bfeabf1f56610329aca5dbd7b6d64da8ac9af6b14
-SIZE (scipy-0.14.0.tar.gz) = 10212944
-SHA256 (scipy-ref-0.14.0.pdf) = 8ecaf05c83b13d0730d23b4a374c5d7566a8b48d88addf06ead01c319ab2938c
-SIZE (scipy-ref-0.14.0.pdf) = 17398860
+SHA256 (scipy-0.15.1.tar.gz) = a212cbc3b79e9a563aa45fc5c517b3499198bd7eb7e7be1e047568a5f48c259a
+SIZE (scipy-0.15.1.tar.gz) = 11401878
+SHA256 (scipy-ref-0.15.1.pdf) = d96046ddbc91383fb37e3ae2bbdc6945e0c2fc70fa230e0bcda0789e6025ca7e
+SIZE (scipy-ref-0.15.1.pdf) = 18313446