Skip to content

Commit

Permalink
python-scipy: python 3.12 update
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Oct 7, 2024
1 parent 6b9f131 commit 32defa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tur/python-scipy/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Fundamental algorithms for scientific computing in Pytho
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_VERSION="1:1.14.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=git+https://github.com/scipy/scipy
TERMUX_PKG_DEPENDS="libc++, libopenblas, python, python-numpy"
TERMUX_PKG_BUILD_DEPENDS="python-numpy-static"
Expand Down Expand Up @@ -64,7 +65,7 @@ termux_step_configure() {
cp -f $TERMUX_MESON_CROSSFILE $TERMUX_MESON_WHEEL_CROSSFILE
sed -i 's|^\(\[binaries\]\)$|\1\npython = '\'$(command -v python)\''|g' \
$TERMUX_MESON_WHEEL_CROSSFILE
sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/core/include\''|g' \
sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/_core/include\''|g' \
$TERMUX_MESON_WHEEL_CROSSFILE

(unset PYTHONPATH && termux_step_configure_meson)
Expand Down

0 comments on commit 32defa0

Please sign in to comment.