diff options
author | wen <wen@FreeBSD.org> | 2014-05-28 23:14:02 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2014-05-28 23:14:02 +0800 |
commit | 8df09df32cf23321c292080cb3aaee982a7908da (patch) | |
tree | b4f3fc7cc81e00e96acd4c494c77d5058199e93c /science/py-scipy | |
parent | 1f85785b8b698a453159f5cd2a29b2f9e3bafedf (diff) | |
download | freebsd-ports-gnome-8df09df32cf23321c292080cb3aaee982a7908da.tar.gz freebsd-ports-gnome-8df09df32cf23321c292080cb3aaee982a7908da.tar.zst freebsd-ports-gnome-8df09df32cf23321c292080cb3aaee982a7908da.zip |
- Stage support
- Update to 0.14.0
PR: 190338
Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com>
Diffstat (limited to 'science/py-scipy')
-rw-r--r-- | science/py-scipy/Makefile | 20 | ||||
-rw-r--r-- | science/py-scipy/distinfo | 4 |
2 files changed, 9 insertions, 15 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile index 8978c7bf159d..4062b6ac9cc8 100644 --- a/science/py-scipy/Makefile +++ b/science/py-scipy/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= scipy -PORTVERSION= 0.13.3 -PORTREVISION= 1 +PORTVERSION= 0.14.0 CATEGORIES= science python MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \ SF:source @@ -29,13 +28,16 @@ OPTIONSFILE= ${PORT_DBDIR}/py-numpy/options USES= fortran USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes OPTIONS_DEFINE= ATLAS DOCS SUITESPARSE OPTIONS_DEFAULT=SUITESPARSE ATLAS_DESC= Use optimized blas library SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse -NO_STAGE= yes +PLIST_FILES= %%PORTDOCS%%%%DOCSDIR%%/scipy-ref.pdf +PLIST_DIRSTRY= %%PORTDOCS%%%%DOCSDIR%% + post-patch: @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ -e "s@malloc\.h@stdlib.h@" @@ -64,17 +66,9 @@ 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 ${PORT_OPTIONS:MDOCS} - @${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} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/scipy-ref.pdf ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.post.mk> diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo index c7ca1c12a8ee..37855076e0a7 100644 --- a/science/py-scipy/distinfo +++ b/science/py-scipy/distinfo @@ -1,4 +1,4 @@ -SHA256 (scipy-0.13.3.tar.gz) = a9e33c7ee060c35cd5c6ee3ac9e5e9bbb99219d7ea8c89537c2e80e581670266 -SIZE (scipy-0.13.3.tar.gz) = 10712509 +SHA256 (scipy-0.14.0.tar.gz) = 4b41a3e6bf178df1c7f0ef3bfeabf1f56610329aca5dbd7b6d64da8ac9af6b14 +SIZE (scipy-0.14.0.tar.gz) = 10212944 SHA256 (scipy-ref.pdf) = 04587215578188396723cea2eb7387460fd957706eec61ea1b67326822fdcb68 SIZE (scipy-ref.pdf) = 7382958 |