diff options
author | Wen Heping <wen@FreeBSD.org> | 2011-12-09 08:05:48 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2011-12-09 08:05:48 +0000 |
commit | 9f0e2c2b6964f9651abe06421201e7b612ae611d (patch) | |
tree | 43c5b921c0d838fe0f1e030f9bc5b6167b9bceac /science | |
parent | eac732e354288e715ad721265155bdca5307cb54 (diff) | |
download | ports-9f0e2c2b6964f9651abe06421201e7b612ae611d.tar.gz ports-9f0e2c2b6964f9651abe06421201e7b612ae611d.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/py-scipy/Makefile | 24 | ||||
-rw-r--r-- | science/py-scipy/distinfo | 6 |
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 |