summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-07 16:49:01 +0000
committerSam James <sam@gentoo.org>2021-06-07 16:49:01 +0000
commit8f8f487566d8f8c3ed76f91b9955706a31e080f4 (patch)
treeb552ac654c2f5399a43bdd26f2e1debff8b70123 /net-proxy
parentx11-misc/picom: only require Python for tests (diff)
downloadgentoo-8f8f487566d8f8c3ed76f91b9955706a31e080f4.tar.gz
gentoo-8f8f487566d8f8c3ed76f91b9955706a31e080f4.tar.bz2
gentoo-8f8f487566d8f8c3ed76f91b9955706a31e080f4.zip
net-proxy/trojan: only requre Python for tests
Closes: https://bugs.gentoo.org/764644 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/trojan/trojan-1.16.0-r2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-proxy/trojan/trojan-1.16.0-r2.ebuild b/net-proxy/trojan/trojan-1.16.0-r2.ebuild
index 88eb4b02d0a..2c5d64a5c9d 100644
--- a/net-proxy/trojan/trojan-1.16.0-r2.ebuild
+++ b/net-proxy/trojan/trojan-1.16.0-r2.ebuild
@@ -36,6 +36,10 @@ DEPEND="${RDEPEND}
test? ( net-misc/curl ${PYTHON_DEPS} )
"
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
src_prepare() {
default
cmake_src_prepare