git: 7a3816956dbd - main - science/py-scipy: Update to 1.9.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 10:44:02 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7a3816956dbd4fb2abf500ab7451d705257d28f8
commit 7a3816956dbd4fb2abf500ab7451d705257d28f8
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-10-20 10:41:51 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-10-20 10:41:51 +0000
science/py-scipy: Update to 1.9.2
Use the HTML format doc of 1.9.2, instead of PDF format file of 1.8.x
(there is no PDF doc file since 1.9.0)
PR: 267084
Reported by: wen@
Exp-run by: antoine@
---
science/py-scipy/Makefile | 14 ++++++++------
science/py-scipy/distinfo | 10 +++++-----
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index 5878970bec2a..1b2d8f6da72f 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -1,12 +1,12 @@
PORTNAME= scipy
-DISTVERSION= 1.9.1
+DISTVERSION= 1.9.2
CATEGORIES= science python
-MASTER_SITES= https://docs.scipy.org/doc/scipy-1.8.1/:doc \
+MASTER_SITES= https://docs.scipy.org/doc/${PORTNAME}-${DISTVERSION}/:doc \
CHEESESHOP:source \
SF:source
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \
- scipy-ref-1.8.1.pdf:doc
+ scipy-html-${DISTVERSION}.zip:doc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= python@FreeBSD.org
@@ -19,7 +19,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pythran>=0:devel/py-pythran@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}pythran>=0:devel/py-pythran@${PY_FLAVOR} \
+ unzip>0:archivers/unzip
LIB_DEPENDS= libblas.so:math/blas \
libopenblas.so:math/openblas
RUN_DEPENDS= ${PYNUMPY}
@@ -32,7 +33,7 @@ LDFLAGS+= -shared
PYDISTUTILS_BUILDARGS= --fcompiler=gnu95
PYDISTUTILS_CONFIGUREARGS= --fcompiler=gnu95
-PORTDOCS= scipy-ref-1.8.1.pdf
+PORTDOCS= *
OPTIONS_DEFINE= DOCS
@@ -41,7 +42,8 @@ post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ @${UNZIP_CMD} -d ${STAGEDIR}${DOCSDIR} ${DISTDIR}/scipy-html-${DISTVERSION}.zip
+ @${RM} ${STAGEDIR}${PREFIX}/share/doc/py39-scipy/.buildinfo
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py
diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo
index 950b18fe9ce0..cbea7be02a30 100644
--- a/science/py-scipy/distinfo
+++ b/science/py-scipy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1662765133
-SHA256 (scipy-1.9.1.tar.gz) = 26d28c468900e6d5fdb37d2812ab46db0ccd22c63baa095057871faa3a498bc9
-SIZE (scipy-1.9.1.tar.gz) = 42019478
-SHA256 (scipy-ref-1.8.1.pdf) = b7cb6a203a7bafc97bd643122ad7d23d7b7f9df9d9634ba2156d0c7256d81c88
-SIZE (scipy-ref-1.8.1.pdf) = 35035765
+TIMESTAMP = 1665585025
+SHA256 (scipy-1.9.2.tar.gz) = 99e7720caefb8bca6ebf05c7d96078ed202881f61e0c68bd9e0f3e8097d6f794
+SIZE (scipy-1.9.2.tar.gz) = 42068300
+SHA256 (scipy-html-1.9.2.zip) = b1d9d438e5b9e46c288a132a1f050947a78807e065528535d54060ddd4f369e0
+SIZE (scipy-html-1.9.2.zip) = 59128418