summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-11-22 20:36:08 +0100
committerMichał Górny <mgorny@gentoo.org>2024-11-22 20:46:47 +0100
commite6c77c7d89c460d3659ecf213011390b30bab849 (patch)
tree214b695f19563b105080d119155a170772a562f0 /dev-python
parentdev-python/jinja2_pluralize: Add PYPI_PN prior to rename (diff)
downloadgentoo-e6c77c7d89c460d3659ecf213011390b30bab849.tar.gz
gentoo-e6c77c7d89c460d3659ecf213011390b30bab849.tar.bz2
gentoo-e6c77c7d89c460d3659ecf213011390b30bab849.zip
dev-python/mitmproxy_wireguard: Add MY_P prior to rename
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild b/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild
index 8b203a51a8e5..0f655dae142f 100644
--- a/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild
+++ b/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild
@@ -206,12 +206,15 @@ CRATES="
inherit cargo distutils-r1
+MY_P=mitmproxy_wireguard-${PV}
DESCRIPTION="WireGuard frontend for mitmproxy"
HOMEPAGE="https://github.com/decathorpe/mitmproxy_wireguard"
SRC_URI="
- https://github.com/decathorpe/mitmproxy_wireguard/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
+ https://github.com/decathorpe/mitmproxy_wireguard/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
${CARGO_CRATE_URIS}
"
+S=${WORKDIR}/${MY_P}
LICENSE="MIT"
# Dependent crate licenses
@@ -222,10 +225,13 @@ LICENSE+="
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
-RDEPEND=""
-BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/setuptools-rust[${PYTHON_USEDEP}]
+"
-QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/${PN}/${PN}.*.so"
+QA_FLAGS_IGNORED="
+ usr/lib.*/py.*/site-packages/mitmproxy_wireguard/mitmproxy_wireguard.*.so
+"
src_test() {
cargo_src_test