aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-12-09 16:05:48 +0800
committerwen <wen@FreeBSD.org>2011-12-09 16:05:48 +0800
commit374611a8c83be50e30803b12493111ee2048d280 (patch)
tree322c251ed10ae6526306e435cac2bf6d78747b16 /science
parent04798fb61089f2746e7f44c41d32e1ad1189b6e8 (diff)
downloadfreebsd-ports-gnome-374611a8c83be50e30803b12493111ee2048d280.tar.gz
freebsd-ports-gnome-374611a8c83be50e30803b12493111ee2048d280.tar.zst
freebsd-ports-gnome-374611a8c83be50e30803b12493111ee2048d280.zip
- Update to 0.10.0
PR: 162893 Submitted by: Gereon Kaiping <kta1c10!gereon@linta.de> Reviewed by: "Li-Lun Leland Wang" <llwang@infor.org> (maintainer) Feature safe: yes
Diffstat (limited to 'science')
-rw-r--r--science/py-scipy/Makefile24
-rw-r--r--science/py-scipy/distinfo6
2 files changed, 21 insertions, 9 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index 433ecfbc4cf8..c5f93b6fe3a4 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -6,11 +6,14 @@
#
PORTNAME= scipy
-PORTVERSION= 0.8.0
-PORTREVISION= 3
+PORTVERSION= 0.10.0
CATEGORIES= science python
-MASTER_SITES= SF
+MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \
+ SF:source
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \
+ scipy-ref.pdf:doc
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= llwang@infor.org
COMMENT= Scientific tools for Python
@@ -34,10 +37,6 @@ post-patch:
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" && ${OSVERSION} < 602101
-BROKEN= ldexpf is missing See http://lists.freebsd.org/pipermail/freebsd-amd64/2006-December/009263.html for details
-.endif
-
.if defined(WITH_ATLAS)
LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
.if !exists(${LOCALBASE}/lib/libalapack.a)
@@ -56,10 +55,21 @@ LIB_DEPENDS+= umfpack.1:${PORTSDIR}/math/suitesparse
PYDISTUTILS_CONFIGUREARGS+= --fcompiler=gnu95
PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95
+post-extract:
+ @${CP} ${DISTDIR}/scipy-ref.pdf ${WRKDIR}
+
post-install:
@${FIND} ${PYTHONPREFIX_SITELIBDIR}/scipy ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHONPREFIX_SITELIBDIR}/scipy -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/scipy-ref.pdf ${DOCSDIR}
+ @${ECHO_CMD} ${DOCSDIR}/scipy-ref.pdf | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${ECHO_CMD} ${DOCSDIR} | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.endif
.include <bsd.port.post.mk>
diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo
index 3353da28c0af..9cc791db9072 100644
--- a/science/py-scipy/distinfo
+++ b/science/py-scipy/distinfo
@@ -1,2 +1,4 @@
-SHA256 (scipy-0.8.0.tar.gz) = b12937bd3a71ace8d7d6b7e19f8f220630969c2822e6248fc0bbc8f2cc18d825
-SIZE (scipy-0.8.0.tar.gz) = 5560625
+SHA256 (scipy-0.10.0.tar.gz) = 611f980a29c0139519e70164804340b6945656b79c6d62b83fdbac32ab95fbf8
+SIZE (scipy-0.10.0.tar.gz) = 6212961
+SHA256 (scipy-ref.pdf) = e73c654ed3ba799a1897bdc8f1720597ede5ce8381c6acde25203ba70d2181a7
+SIZE (scipy-ref.pdf) = 6611552