Re: git: ef9180aa8469 - main - science/py-scipy: update to 1.17.1
- In reply to: Charlie Li : "git: ef9180aa8469 - main - science/py-scipy: update to 1.17.1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Apr 2026 11:22:15 UTC
Charlie, thank you for this update!
I still have a questions, see below.
> --- a/science/py-scipy/Makefile
> +++ b/science/py-scipy/Makefile
> @@ -1,19 +1,15 @@
> PORTNAME= scipy
> -DISTVERSION= 1.11.1
> -PORTREVISION= 6
> +DISTVERSION= 1.17.1
> PORTEPOCH= 1
> CATEGORIES= science python
> -MASTER_SITES= https://docs.scipy.org/doc/scipy-${DISTVERSION}/:doc \
> +MASTER_SITES= https://docs.scipy.org/doc/${PORTNAME}-1.17.0/:doc \
> PYPI:source \
> SF:source
> PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \
> - scipy-html-${DISTVERSION}.zip:doc
> + scipy-html-1.17.0.zip:doc
Consider to use `${DISTVERSION:R}.0` here to avoid duplication and to not forget to update the docs in the future :)
> OPTIONS_DEFINE= DOCS
> +OPTIONS_SINGLE= BLASLIB
> +OPTIONS_SINGLE_BLASLIB= BLIS FLEXIBLAS NETLIB OPENBLAS
Do we really need all of them? BLIS marked as broken, NETLIB fails to build for me. Shall we still to the one recommended by the upstream?
> +OPTIONS_DEFAULT= OPENBLAS
> +BLIS_DESC= BLIS BLAS-like implementation
> +FLEXIBLAS_DESC= FlexiBLAS BLAS implementation
>
> -post-install:
> - ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD}
> +BLIS_USES= blaslapack:blis
> +BLIS_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dblas=blis -Csetup-args=-Dlapack=flame"
> +BLIS_BROKEN= math/libflame does not provide a pkg-config file
> +FLEXIBLAS_USES= blaslapack:flexiblas
> +FLEXIBLAS_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dblas=flexiblas -Csetup-args=-Dlapack=flexiblas"
> +NETLIB_USES= blaslapack:netlib
> +NETLIB_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack"
> +OPENBLAS_USES= blaslapack:openblas
> +OPENBLAS_VARS= PEP517_BUILD_CONFIG_SETTING+="-Csetup-args=-Dblas=openblas -Csetup-args=-Dlapack=openblas"