Skip to content

Commit d994f0a

Browse files
committed
fix
1 parent d0973c6 commit d994f0a

File tree

1 file changed

+6
-0
lines changed
  • tur-pypi-312/python3.12-cryptography

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ termux_step_post_make_install() {
3636

3737
mkdir -p wheels
3838
local _pyver="${TERMUX_PYTHON_VERSION/./}"
39+
# Fix wheel name for arm
40+
if [ "$TERMUX_ARCH" = "arm" ]; then
41+
mv cryptography-$TERMUX_PKG_VERSION-cp37-abi3-linux_armv7l.whl \
42+
./wheels/cryptography-$TERMUX_PKG_VERSION-cp$_pyver-cp$_pyver-linux_armv7l.whl
43+
else
3944
mv cryptography-$TERMUX_PKG_VERSION-cp37-abi3-linux_$TERMUX_ARCH.whl \
4045
./wheels/cryptography-$TERMUX_PKG_VERSION-cp$_pyver-cp$_pyver-linux_$TERMUX_ARCH.whl
46+
fi
4147
}

0 commit comments

Comments
 (0)