Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 2026 14:22:15 +0300
From:      Max Brazhnikov <makc@freebsd.org>
To:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org, ports-committers@freebsd.org
Cc:        Charlie Li <vishwin@freebsd.org>
Subject:   Re: git: ef9180aa8469 - main - science/py-scipy: update to 1.17.1
Message-ID:  <4085144.kAAoriTUSa@mercury>
In-Reply-To: <69d03cf2.430ed.2d4d8408@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

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"






home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4085144.kAAoriTUSa>