Skip to content

Commit e890f4f

Browse files
committed
python3.12-numpy: rebuild
1 parent 4d83ab5 commit e890f4f

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

tur-pypi-312/python3.12-numpy/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ TERMUX_PYTHON_CROSSENV_PREFIX=$TERMUX_PKG_BUILDDIR/python${TERMUX_PYTHON_VERSION
2323
TUR_AUTO_AUDIT_WHEEL=true
2424
TUR_AUTO_BUILD_WHEEL=false
2525
TUR_WHEEL_DIR="../src/dist"
26+
TUR_LIB_LICENSE_JSON="$TERMUX_PKG_BUILDER_DIR/licenses.json"
2627

2728
source $TERMUX_SCRIPTDIR/common-files/tur_build_wheel.sh
2829

@@ -78,3 +79,8 @@ termux_step_make_install() {
7879
local _whl="numpy-$TERMUX_PKG_VERSION-cp$_pyv-cp$_pyv-linux_$TERMUX_ARCH.whl"
7980
pip install --no-deps --prefix=$TERMUX_PREFIX --force-reinstall $TERMUX_PKG_SRCDIR/dist/$_whl
8081
}
82+
83+
tur_install_wheel_license() {
84+
# Install the license of libopenblas
85+
cp $TERMUX_PREFIX/share/doc/libopenblas/copyright libopenblas-LICENSE
86+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"name": "openblas",
4+
"libs": [
5+
"libopenblas"
6+
],
7+
"licenses": [
8+
"libopenblas-LICENSE"
9+
]
10+
}
11+
]

0 commit comments

Comments
 (0)