File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
8
8
9
9
[project ]
10
10
name = " scipy_openblas64"
11
- version = " 0.3.26.0.0 "
11
+ version = " 0.3.26.0"
12
12
requires-python = " >=3.7"
13
13
description = " Provides OpenBLAS for python packaging"
14
14
readme = " README.md"
Original file line number Diff line number Diff line change @@ -188,9 +188,9 @@ function do_build_lib {
188
188
static_libname=$( basename ` find OpenBLAS -maxdepth 1 -type f -name ' *.a' \! -name ' *.dll.a' ` )
189
189
renamed_libname=$( basename ` find OpenBLAS -maxdepth 1 -type f -name ' *.renamed' ` )
190
190
cp -f " OpenBLAS/${renamed_libname} " " $BUILD_PREFIX /lib/${static_libname} "
191
- sed -e " s/^Cflags.*/\0 -DBLAS_SYMBOL_PREFIX=scipy_ -DBLAS_SYMBOL_SUFFIX=64_/" -i.bak $BUILD_PREFIX /lib/pkgconfig/scipy-openblas.pc
191
+ sed -e " s/\( ^Cflags.*\)/\1 -DBLAS_SYMBOL_PREFIX=scipy_ -DBLAS_SYMBOL_SUFFIX=64_/" -i.bak $BUILD_PREFIX /lib/pkgconfig/scipy-openblas.pc
192
192
else
193
- sed -e " s/^Cflags.*/\0 -DBLAS_SYMBOL_PREFIX=scipy_/" -i.bak $BUILD_PREFIX /lib/pkgconfig/scipy-openblas.pc
193
+ sed -e " s/\( ^Cflags.*\)/\1 -DBLAS_SYMBOL_PREFIX=scipy_/" -i.bak $BUILD_PREFIX /lib/pkgconfig/scipy-openblas.pc
194
194
fi
195
195
196
196
local out_name=" openblas${symbolsuffix} -${version} -${plat_tag}${suff} .tar.gz"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ find local/scipy_openblas64/lib -maxdepth 1 -type l -delete
24
24
rm local/scipy_openblas64/lib/* .a
25
25
# Check that the pyproject.toml and the pkgconfig versions agree.
26
26
py_version=$( grep " ^version" pyproject.toml | sed -e " s/version = \" //" )
27
- pkg_version=$( grep " version=" ./local/scipy_openblas64/lib/pkgconfig/scipy-openblas* .pc | sed -e " s/version=//" )
27
+ pkg_version=$( grep " version=" ./local/scipy_openblas64/lib/pkgconfig/scipy-openblas* .pc | sed -e " s/version=//" | sed -e " s/dev// " )
28
28
if [[ -z " $pkg_version " ]]; then
29
29
echo Could not read version from pkgconfig file
30
30
exit 1
You can’t perform that action at this time.
0 commit comments