From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7CB731581F0 for ; Fri, 03 Jan 2025 05:47:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4950FE089D; Fri, 03 Jan 2025 05:47:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2529FE089D for ; Fri, 03 Jan 2025 05:47:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34EA633C1EB for ; Fri, 03 Jan 2025 05:47:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33DAB1946 for ; Fri, 03 Jan 2025 05:47:05 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1735883208.0eef797efc379156fa1859e9613340b1faf16927.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-rs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/mitmproxy-rs/Manifest net-proxy/mitmproxy-rs/mitmproxy-rs-0.11.2.ebuild X-VCS-Directories: net-proxy/mitmproxy-rs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0eef797efc379156fa1859e9613340b1faf16927 X-VCS-Branch: master Date: Fri, 03 Jan 2025 05:47:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0f9fde36-ff9a-4915-9000-5a70f6227b66 X-Archives-Hash: 83f67ed6e7188263dccf591946e162e1 commit: 0eef797efc379156fa1859e9613340b1faf16927 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 3 04:55:43 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 3 05:46:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eef797e net-proxy/mitmproxy-rs: Bump to 0.11.2 Signed-off-by: Michał Górny gentoo.org> net-proxy/mitmproxy-rs/Manifest | 2 + net-proxy/mitmproxy-rs/mitmproxy-rs-0.11.2.ebuild | 53 +++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/net-proxy/mitmproxy-rs/Manifest b/net-proxy/mitmproxy-rs/Manifest index 4f5ab6feb343..a0c34050f5cd 100644 --- a/net-proxy/mitmproxy-rs/Manifest +++ b/net-proxy/mitmproxy-rs/Manifest @@ -1,4 +1,6 @@ DIST boringtun-e3252d9c4f4c8fc628995330f45369effd4660a1.gh.tar.gz 219190 BLAKE2B d20cb9619cee7d2f8db118deb14c13ddc1ec1574902f1fa24d2cebc5d2838f95ab3fb252413616d8af4d4d362b2031fdd447021bde4baf554cb8c7eb68cee77b SHA512 3dd2bdcc2e94714b448df72eab54bfddb9e436a4799fe0b266777b3bac5debdeb4495f31495736c98f86725921758ccbdd0c25a2404e4a4472dd8c6d14771b7c DIST mitmproxy-rs-0.11.1-crates.tar.xz 40875272 BLAKE2B d033617908ac719962483b13d4f18a4470cdcaaf953246e7b63a6cc0fb78bdb7459e7fb81b9bff520b2f30edc7720df435a42a1da9efe8a893954c8afea042e5 SHA512 639319cf7163832b7f8aa44733ed50e8d429a73bd3458c0a40e4e86b4a2c03567f40cf9f1df045f7c0d880a63578132efe2791934e43427b57abd44e4e7f52e6 +DIST mitmproxy-rs-0.11.2-crates.tar.xz 49260956 BLAKE2B 2313619c662be40d2325ffce2714e0c92ea0ccabc3001e00f4330e30a4b6c6eb283e19bd9edda49f0e6c574c497b4adddfd13158442467a3ce005ba3382c3b39 SHA512 c607884382af7e73b51a9521ef4645f93be54850c561453cd30d6b16d1e991d97ea7b0e97990b12115ee4b12be491782bb716656d135de16021194c9cf48fce9 DIST mitmproxy_rs-0.11.1.tar.gz 1184746 BLAKE2B 6e4b7f1c50d45821664e7c448398e5497b33310b0ecc268fa2ed5d4559a8a51f47e76366d939edda9b9923f2aaeb3205646bbc995ba45b068600926a9a6d1d6a SHA512 c72e8c36bc7de6a34cc99eb0cbc1cc3deb6c51d994e9e56acbb02803846fd87f6b671889b1b8c019ac7e84ecdf8939cda5bc62f5f5bd1dacdb53f75c9f1fb1c4 +DIST mitmproxy_rs-0.11.2.tar.gz 1294125 BLAKE2B 4fa79d391b89e5334e920c0aa3119b0ca1bdc4e6999491cf1efaba383de7796bebef8a9f7aeda5066bdf40cb32b881d620f2eb9e29f9eb4c41df86a0990a0236 SHA512 b3492e2771f58770c0cdd7a5627f10f2c9fa6376e96b8bc9be8e5eb94add2c27f411badce21cbf8c090eed67ef6075a3c3a6ae0609c5d4e3879934ed2d7579e5 DIST smoltcp-ef67e7b46cabf49783053cbf68d8671ed97ff8d4.gh.tar.gz 334018 BLAKE2B 48c906c3c37ba691fee9889ce526cf5d4426b087fcf284eaecb934a349d6eb3da971dd2de172f3a29bfcd05f5a5449de015342feb0add23ac490e9a9f8b6fce1 SHA512 72020f063215ff5cede1fac6d9f17251f3dfa684b1f7a1c27700a629221e928859d02d099e1382ae82e66165dc83ea54baa3e907109d8cd58b90c93b58b71d45 diff --git a/net-proxy/mitmproxy-rs/mitmproxy-rs-0.11.2.ebuild b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.11.2.ebuild new file mode 100644 index 000000000000..a0a2e5fd85b4 --- /dev/null +++ b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.11.2.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_{10..13} ) + +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} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/${P}-crates.tar.xz + " +fi + +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" + +src_prepare() { + distutils-r1_src_prepare + + # replace upstream crate substitution with our crate substitution, sigh + sed -i -e '/git =/d' Cargo.toml || die + sed -i -e '/\[patch\./d' -e '/boringtun/i[patch.crates-io]' \ + "${CARGO_HOME}/config.toml" || die +} + +python_test() { + cargo_src_test --manifest-path mitmproxy-rs/Cargo.toml +}