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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CD311382C5 for ; Mon, 7 Jun 2021 16:49:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D1E2E0837; Mon, 7 Jun 2021 16:49:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85CCAE0837 for ; Mon, 7 Jun 2021 16:49:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BF5E335D51 for ; Mon, 7 Jun 2021 16:49:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F54675B for ; Mon, 7 Jun 2021 16:49:19 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1623084541.8f8f487566d8f8c3ed76f91b9955706a31e080f4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/trojan/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/trojan/trojan-1.16.0-r2.ebuild X-VCS-Directories: net-proxy/trojan/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8f8f487566d8f8c3ed76f91b9955706a31e080f4 X-VCS-Branch: master Date: Mon, 7 Jun 2021 16:49:19 +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: 328f3495-1dcb-47f9-b003-822e7406e358 X-Archives-Hash: 0297eb8c034af81903323f563f6f4fb7 commit: 8f8f487566d8f8c3ed76f91b9955706a31e080f4 Author: Sam James gentoo org> AuthorDate: Mon Jun 7 16:49:01 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 7 16:49:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8f4875 net-proxy/trojan: only requre Python for tests Closes: https://bugs.gentoo.org/764644 Signed-off-by: Sam James gentoo.org> net-proxy/trojan/trojan-1.16.0-r2.ebuild | 4 ++++ 1 file changed, 4 insertions(+) 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