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: Sat, 31 May 2025 05:17:36 +0000 (UTC) [thread overview]
Message-ID: <1748668216.113b204db10c1391126f889a523e787b506a4e7a.mgorny@gentoo> (raw)
commit: 113b204db10c1391126f889a523e787b506a4e7a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 04:35:22 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 31 05:10:16 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113b204d
net-proxy/mitmproxy-rs: Bump to 0.12.5
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-proxy/mitmproxy-rs/Manifest | 2 +
net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.5.ebuild | 53 +++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/net-proxy/mitmproxy-rs/Manifest b/net-proxy/mitmproxy-rs/Manifest
index ee778ff90ef7..828905e99ee1 100644
--- a/net-proxy/mitmproxy-rs/Manifest
+++ b/net-proxy/mitmproxy-rs/Manifest
@@ -3,4 +3,6 @@ DIST mitmproxy-rs-0.11.1-crates.tar.xz 40875272 BLAKE2B d033617908ac719962483b13
DIST mitmproxy_rs-0.11.1.tar.gz 1184746 BLAKE2B 6e4b7f1c50d45821664e7c448398e5497b33310b0ecc268fa2ed5d4559a8a51f47e76366d939edda9b9923f2aaeb3205646bbc995ba45b068600926a9a6d1d6a SHA512 c72e8c36bc7de6a34cc99eb0cbc1cc3deb6c51d994e9e56acbb02803846fd87f6b671889b1b8c019ac7e84ecdf8939cda5bc62f5f5bd1dacdb53f75c9f1fb1c4
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 mitmproxy_rs-0.12.5-crates.tar.xz 48932336 BLAKE2B dfdb6fc0c789361e90bd14e7ae02d81705b98a69d7d6b91114eaaac317ca2971fb6d4ed8fe3eb4801826adf8f782727fbe018d71adf21b1634eecd6039619671 SHA512 f8cb08bd509112f67e1ff1b2e4af9f4e3117a9451e7fae0bef7428ee6f1c576732a1ace69898fa3379ebf9a5da4293014b3cf7dffdd6f0d16f36f5de433d5c0c
+DIST mitmproxy_rs-0.12.5.tar.gz 1321109 BLAKE2B c91b62ece2d402c7f29ecec0713831c6b377a250a427f749d95abab00c4f696a8634cf82478b1efecadee29c0d0198aaeec0c95bd4527f4f7473807f76314755 SHA512 e954690a3114117a7089ecfc81e45ebc51ac6ba67e955ccbc2e6ee62299ccad2d8575710208d6a08706d115c1e7ac47bb62eda0405a57628525ccbb72c098235
DIST smoltcp-ef67e7b46cabf49783053cbf68d8671ed97ff8d4.gh.tar.gz 334018 BLAKE2B 48c906c3c37ba691fee9889ce526cf5d4426b087fcf284eaecb934a349d6eb3da971dd2de172f3a29bfcd05f5a5449de015342feb0add23ac490e9a9f8b6fce1 SHA512 72020f063215ff5cede1fac6d9f17251f3dfa684b1f7a1c27700a629221e928859d02d099e1382ae82e66165dc83ea54baa3e907109d8cd58b90c93b58b71d45
diff --git a/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.5.ebuild b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.5.ebuild
new file mode 100644
index 000000000000..dcc9377571f5
--- /dev/null
+++ b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.5.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 ~arm64"
+
+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-05-31 5:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-31 5:17 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-28 6:55 [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-rs/ Michał Górny
2025-06-01 2:36 Michał Górny
2025-05-31 5:49 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-30 5:36 Michał Górny
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=1748668216.113b204db10c1391126f889a523e787b506a4e7a.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