@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/mitmproxy/mitmproxy_rs
22TERMUX_PKG_DESCRIPTION=" The Rust bits in mitmproxy"
33TERMUX_PKG_LICENSE=" MIT"
44TERMUX_PKG_MAINTAINER=" @termux-user-repository"
5- TERMUX_PKG_VERSION=" 0.11.5 "
5+ TERMUX_PKG_VERSION=" 0.12.0 "
66TERMUX_PKG_SRCURL=https://github.com/mitmproxy/mitmproxy_rs/archive/refs/tags/v$TERMUX_PKG_VERSION .tar.gz
7- TERMUX_PKG_SHA256=7b9743ba3d8a2d1c7cd606f3aad35dd2c7fefa07c0a8c62973632880d3471191
7+ TERMUX_PKG_SHA256=7bbb2c391792b77514d09429e4b83661cf6009383cbfe20d14c3410597e1e7cb
88TERMUX_PKG_AUTO_UPDATE=true
99TERMUX_PKG_DEPENDS=" libc++, openssl, python"
1010TERMUX_PKG_PYTHON_COMMON_DEPS=" wheel"
@@ -44,13 +44,13 @@ termux_step_make_install() {
4444 --interpreter python${TERMUX_PYTHON_VERSION}
4545
4646 local _pyver=" ${TERMUX_PYTHON_VERSION/ ./ } "
47- # Fix wheel name, although it it built with tag `cp310 -abi3`, but it is linked against `python3.x.so`
47+ # Fix wheel name, although it it built with tag `cp312 -abi3`, but it is linked against `python3.x.so`
4848 # so it will not work on other pythons.
4949 if [ " $TERMUX_ARCH " = " arm" ]; then
50- mv ../target/wheels/mitmproxy_rs-$TERMUX_PKG_VERSION -cp310 -abi3-linux_armv7l.whl \
50+ mv ../target/wheels/mitmproxy_rs-$TERMUX_PKG_VERSION -cp312 -abi3-linux_armv7l.whl \
5151 ../target/wheels/mitmproxy_rs-$TERMUX_PKG_VERSION -py$_pyver -none-any.whl
5252 else
53- mv ../target/wheels/mitmproxy_rs-$TERMUX_PKG_VERSION -cp310 -abi3-linux_$TERMUX_ARCH .whl \
53+ mv ../target/wheels/mitmproxy_rs-$TERMUX_PKG_VERSION -cp312 -abi3-linux_$TERMUX_ARCH .whl \
5454 ../target/wheels/mitmproxy_rs-$TERMUX_PKG_VERSION -cp$_pyver -cp$_pyver -linux_$TERMUX_ARCH .whl
5555 fi
5656
0 commit comments