aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-10-17 14:15:16 +0800
committerrm <rm@FreeBSD.org>2012-10-17 14:15:16 +0800
commit4fc03ec835f43f3625f0f20273d58cdadaa95526 (patch)
treeaee1f067d857bc5110287764613a7ff4c386d0d1 /science
parentdf31802502d90610cdc9d513479f1f84f732bf7e (diff)
downloadfreebsd-ports-gnome-4fc03ec835f43f3625f0f20273d58cdadaa95526.tar.gz
freebsd-ports-gnome-4fc03ec835f43f3625f0f20273d58cdadaa95526.tar.zst
freebsd-ports-gnome-4fc03ec835f43f3625f0f20273d58cdadaa95526.zip
- update to 0.11.0
- trim Makefile header while here: - add license (BSD) - limit python version to 2.x (doesn't builds with 3.x) - remove shlib versions to fix some of porlint warnings - update distinfo for user reference PR: 172179 Submitted by: wen Approved by: maintainer timeout (2 weeks+) Feature safe: yes
Diffstat (limited to 'science')
-rw-r--r--science/py-scipy/Makefile23
-rw-r--r--science/py-scipy/distinfo8
2 files changed, 14 insertions, 17 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index 9f07b251a399..7fbbcf1c7d6f 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -1,13 +1,8 @@
-# Ports collection makefile for: SciPy
-# Date created: Jun 8, 2004
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= scipy
-PORTVERSION= 0.10.1
-PORTREVISION= 1
+PORTVERSION= 0.11.0
CATEGORIES= science python
MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \
SF:source
@@ -19,6 +14,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= llwang@infor.org
COMMENT= Scientific tools for Python
+LICENSE= BSD
+
BUILD_DEPENDS+= ${PYNUMPY} \
${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3
@@ -29,11 +26,11 @@ LATEST_LINK= py-${PORTNAME}
OPTIONSFILE= ${PORT_DBDIR}/py-numpy/options
USE_FORTRAN= yes
-USE_PYTHON= 2.5+
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
OPTIONS_DEFINE= ATLAS SUITESPARSE
-OPTIONS_DEFAULT= SUITESPARSE
+OPTIONS_DEFAULT=SUITESPARSE
ATLAS_DESC= Use optimized blas library
SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse
@@ -44,18 +41,18 @@ post-patch:
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MATLAS}
-LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= atlas:${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+= lapack.4:${PORTSDIR}/math/lapack \
- blas.2:${PORTSDIR}/math/blas
+LIB_DEPENDS+= lapack:${PORTSDIR}/math/lapack \
+ blas:${PORTSDIR}/math/blas
.endif
.if ${PORT_OPTIONS:MSUITESPARSE}
BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13
-LIB_DEPENDS+= umfpack.1:${PORTSDIR}/math/suitesparse
+LIB_DEPENDS+= umfpack:${PORTSDIR}/math/suitesparse
.endif
PYDISTUTILS_CONFIGUREARGS+= --fcompiler=gnu95
diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo
index 33baeca7cfee..0214645afa86 100644
--- a/science/py-scipy/distinfo
+++ b/science/py-scipy/distinfo
@@ -1,4 +1,4 @@
-SHA256 (scipy-0.10.1.tar.gz) = 77cc5c48e3f0c07b8137135538cdb99d596d3cc5c498bb0031fb5ff22eae4aa7
-SIZE (scipy-0.10.1.tar.gz) = 6231117
-SHA256 (scipy-ref.pdf) = e73c654ed3ba799a1897bdc8f1720597ede5ce8381c6acde25203ba70d2181a7
-SIZE (scipy-ref.pdf) = 6611552
+SHA256 (scipy-0.11.0.tar.gz) = b2b74d56a2d58a4f032f91e8b91b1c2272d5eb0b5010082dd1e492e452f862ee
+SIZE (scipy-0.11.0.tar.gz) = 6776998
+SHA256 (scipy-ref.pdf) = 04587215578188396723cea2eb7387460fd957706eec61ea1b67326822fdcb68
+SIZE (scipy-ref.pdf) = 7382958