Skip to content

Commit 1eb4cb0

Browse files
committed
python3.12-mitmproxy-rs: bump to 0.11.2
1 parent 9633d90 commit 1eb4cb0

File tree

1 file changed

+6
-3
lines changed
  • tur-pypi-312/python3.12-mitmproxy-rs

1 file changed

+6
-3
lines changed

tur-pypi-312/python3.12-mitmproxy-rs/build.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/mitmproxy/mitmproxy_rs
22
TERMUX_PKG_DESCRIPTION="The Rust bits in mitmproxy"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux-user-repository"
5-
TERMUX_PKG_VERSION="0.11.1"
5+
TERMUX_PKG_VERSION="0.11.2"
66
TERMUX_PKG_SRCURL=https://github.com/mitmproxy/mitmproxy_rs/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
7-
TERMUX_PKG_SHA256=f9604fcb4a3dcc7fff7cc962a2300f92b5cf77f31129626ee7aeefeb4eb45273
7+
TERMUX_PKG_SHA256=4d74364e2a1a4ae956cb687b3308618e4dff3dd29d73491fa311bb26a519439e
88
TERMUX_PKG_AUTO_UPDATE=true
99
TERMUX_PKG_DEPENDS="libc++, openssl, python"
1010
TERMUX_PKG_PYTHON_COMMON_DEPS="wheel"
@@ -38,7 +38,10 @@ termux_step_make_install() {
3838
export PYTHONPATH=$TERMUX_PREFIX/lib/python${TERMUX_PYTHON_VERSION}/site-packages
3939

4040
cd mitmproxy-rs
41-
build-python -m maturin build --release --skip-auditwheel --target $CARGO_BUILD_TARGET
41+
build-python -m maturin build \
42+
--target $CARGO_BUILD_TARGET \
43+
--release --skip-auditwheel \
44+
--interpreter python${TERMUX_PYTHON_VERSION}
4245

4346
local _pyver="${TERMUX_PYTHON_VERSION/./}"
4447
# Fix wheel name, although it it built with tag `cp310-abi3`, but it is linked against `python3.x.so`

0 commit comments

Comments
 (0)