Сравнение mitmproxy-rs-0.11.1 с mitmproxy-rs-0.12.6

/usr/portage/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.6.ebuild 2025-07-29 16:22:17.296467593 +0300
8 8

  
9 9
declare -A GIT_CRATES=(
10 10
	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
11
	[smoltcp]='https://github.com/smoltcp-rs/smoltcp;ef67e7b46cabf49783053cbf68d8671ed97ff8d4;smoltcp-%commit%'
12 11
)
13 12

  
14 13
DISTUTILS_EXT=1
15 14
DISTUTILS_USE_PEP517=maturin
16
PYTHON_COMPAT=( python3_{10..13} )
15
PYTHON_COMPAT=( python3_{12..14} )
16
RUST_MIN_VER=1.85.0
17 17

  
18 18
inherit cargo distutils-r1 pypi
19 19

  
......
24 24
"
25 25
SRC_URI+="
26 26
	${CARGO_CRATE_URIS}
27
	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/${P/-/_}-crates.tar.xz
27 28
"
28
if [[ ${PKGBUMPING} != ${PVR} ]]; then
29
	SRC_URI+="
30
		https://dev.gentoo.org/~mgorny/dist/${P}-crates.tar.xz
31
	"
32
fi
33 29

  
34 30
LICENSE="MIT"
35 31
# Dependent crate licenses
36 32
LICENSE+="
37 33
	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
38
	LGPL-3+ MIT Unicode-DFS-2016 WTFPL-2
34
	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
39 35
"
40 36
SLOT="0"
41
KEYWORDS="amd64 ~arm64"
37
KEYWORDS="~amd64 ~arm64"
38

  
39
RDEPEND="
40
	~net-proxy/mitmproxy-linux-${PV}[${PYTHON_USEDEP}]
41
"
42 42

  
43 43
src_prepare() {
44 44
	distutils-r1_src_prepare
45 45

  
46 46
	# replace upstream crate substitution with our crate substitution, sigh
47
	sed -i -e '/git =/d' Cargo.toml || die
48
	sed -i -e '/\[patch\./d' -e '/boringtun/i[patch.crates-io]' \
49
		"${CARGO_HOME}/config.toml" || die
47
	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
48
	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
50 49
}
51 50

  
52 51
python_test() {
Спасибо!