From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-rs/
Date: Wed, 30 Apr 2025 05:36:03 +0000 (UTC) [thread overview]
Message-ID: <1745991357.95f3074dba3493c9caf3bee0a74d270a9c68db10.mgorny@gentoo> (raw)
commit: 95f3074dba3493c9caf3bee0a74d270a9c68db10
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 04:56:45 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 05:35:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f3074d
net-proxy/mitmproxy-rs: Bump to 0.12.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-proxy/mitmproxy-rs/Manifest | 2 +
net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.3.ebuild | 53 +++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/net-proxy/mitmproxy-rs/Manifest b/net-proxy/mitmproxy-rs/Manifest
index a302b1d165e4..7d19759139a0 100644
--- a/net-proxy/mitmproxy-rs/Manifest
+++ b/net-proxy/mitmproxy-rs/Manifest
@@ -5,4 +5,6 @@ DIST mitmproxy_rs-0.11.5-crates.tar.xz 50121936 BLAKE2B 1f4645c44c42b904c300661b
DIST mitmproxy_rs-0.11.5.tar.gz 1296760 BLAKE2B e7a0003b6657ff0e5d853219b1f5d847464207ee988d07e91c65a6a0c7d44e3a5603cf60dea9de1de7c50f1be0b153f5540431686c3be22b7873d2ed8907e845 SHA512 bcc106078e7e887e381ccee5e8e9753d023da3b5eb01e49c2121d5102094425e6a66be0c30e03f6be24d4c797983a434f063a5b7736fc8c7e7ddaa30ca0d94b1
DIST mitmproxy_rs-0.12.0-crates.tar.xz 62765072 BLAKE2B 270793c1aaf313ad9d256963e67906dfba1e901d24c8549bc4ccd2b09b4dceeb85f8232f45a0859bc53f0a92907051a0ec8a50394a2afe04c94ef3b99659c2ef SHA512 5ad0978d88f487aceebe6d579d0a226388198d2afda31a918fa521a048def313697157391f7971703bebe0134015640aa9841557d943c742a5172fcdfce84d86
DIST mitmproxy_rs-0.12.0.tar.gz 1317235 BLAKE2B 3197640e415ace19c789c7d74650fe7df177302b9935404d3f258e0f7f54738f451c1700cc16e456129cd14c157c6e032baae313ec24227c24c2943984aca076 SHA512 1feb6fba4ee6b9931ef9ce81b81fe354ad362f79efd48a918d169b005dffbbc90ca9e255edfdffcecb0f8d4b55d469a2aab0c7056a6b3283661c49c85486f014
+DIST mitmproxy_rs-0.12.3-crates.tar.xz 55236484 BLAKE2B d1279c3b64ec12f88d71ab053bdc460053558ff51e655f7b348f498874482f3a08a727c4f96f7e4382798865b71b7496791a2a026457f00f852893a422777f76 SHA512 235e1a7126e1aac94a8d6a88f20e56e048801971a12a6d2f8717a37607cefbc80c88d650647d8106d6e5d179e8a7400fa136cbdf732ecab5e9cdae1e92fd108c
+DIST mitmproxy_rs-0.12.3.tar.gz 1321031 BLAKE2B dfd6d96d860169cd6293cbe37ac6aa401f0313d4885feaf3728fbeab3fb88a4ab9a6cf610102b5263212458077a79528a3601cebfcd0d4731644f094e6dba321 SHA512 186a52feff6292752fab9db03729da4a412e8a28e32b656cc3795ada0f3319334c598746387ac2646b9af4716646950b070a88dd43624c827d7f9c7683eadc05
DIST smoltcp-ef67e7b46cabf49783053cbf68d8671ed97ff8d4.gh.tar.gz 334018 BLAKE2B 48c906c3c37ba691fee9889ce526cf5d4426b087fcf284eaecb934a349d6eb3da971dd2de172f3a29bfcd05f5a5449de015342feb0add23ac490e9a9f8b6fce1 SHA512 72020f063215ff5cede1fac6d9f17251f3dfa684b1f7a1c27700a629221e928859d02d099e1382ae82e66165dc83ea54baa3e907109d8cd58b90c93b58b71d45
diff --git a/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.3.ebuild b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.3.ebuild
new file mode 100644
index 000000000000..059c30f7a51f
--- /dev/null
+++ b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+
+declare -A GIT_CRATES=(
+ [boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
+)
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{12..13} )
+RUST_MIN_VER=1.85.0
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="mitmproxy's Rust bits"
+HOMEPAGE="
+ https://github.com/mitmproxy/mitmproxy_rs/
+ https://pypi.org/project/mitmproxy-rs/
+"
+SRC_URI+="
+ ${CARGO_CRATE_URIS}
+ https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/${P/-/_}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+ 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
+ LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ ~net-proxy/mitmproxy-linux-${PV}[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # replace upstream crate substitution with our crate substitution, sigh
+ local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
+ sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
+}
+
+python_test() {
+ cargo_src_test --manifest-path mitmproxy-rs/Cargo.toml
+}
next reply other threads:[~2025-04-30 5:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-30 5:36 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-01 2:36 [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-rs/ Michał Górny
2025-05-31 5:49 Michał Górny
2025-05-31 5:17 Michał Górny
2025-05-24 8:51 Michał Górny
2025-05-17 11:38 Sam James
2025-05-17 11:38 Sam James
2025-04-20 11:50 Michał Górny
2025-04-20 11:43 Michał Górny
2025-01-25 11:01 Arthur Zamarin
2025-01-04 16:17 Sam James
2025-01-03 19:27 Michał Górny
2025-01-03 5:47 Michał Górny
2024-12-31 16:01 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1745991357.95f3074dba3493c9caf3bee0a74d270a9c68db10.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox