Skip to content

Commit af2ec15

Browse files
authored
python3.12-cryptography: bump to 44.0.0 (#183)
* python3.12-cryptography: bump to 44.0.0 * fix
1 parent 14f83af commit af2ec15

File tree

1 file changed

+10
-3
lines changed
  • tur-pypi-312/python3.12-cryptography

1 file changed

+10
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Provides cryptographic recipes and primitives to Python
33
TERMUX_PKG_LICENSE="Apache-2.0, BSD 3-Clause"
44
TERMUX_PKG_LICENSE_FILE="LICENSE, LICENSE.APACHE, LICENSE.BSD"
55
TERMUX_PKG_MAINTAINER="@termux"
6-
TERMUX_PKG_VERSION="42.0.8"
6+
TERMUX_PKG_VERSION="44.0.0"
77
TERMUX_PKG_SRCURL=https://github.com/pyca/cryptography/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
8-
TERMUX_PKG_SHA256=38ee4ce0804e4003e3093db8342cd7e6ee65614c8bbf70c98f1716e0f33709ed
8+
TERMUX_PKG_SHA256=b2232d62504ba4cca97136582e86564ac75ec1124dfddb19d83f0eb26548d18d
99
TERMUX_PKG_AUTO_UPDATE=true
1010
TERMUX_PKG_DEPENDS="openssl, python, python-pip"
1111
TERMUX_PKG_BUILD_IN_SRC=true
@@ -36,5 +36,12 @@ termux_step_post_make_install() {
3636

3737
mkdir -p wheels
3838
local _pyver="${TERMUX_PYTHON_VERSION/./}"
39-
mv cryptography-$TERMUX_PKG_VERSION-cp$_pyver-cp$_pyver-linux_$TERMUX_ARCH.whl ./wheels/
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
44+
mv cryptography-$TERMUX_PKG_VERSION-cp37-abi3-linux_$TERMUX_ARCH.whl \
45+
./wheels/cryptography-$TERMUX_PKG_VERSION-cp$_pyver-cp$_pyver-linux_$TERMUX_ARCH.whl
46+
fi
4047
}

0 commit comments

Comments
 (0)