commit:     ec2ffdbcf6977b152a63b9fcb964a8afeceeb149
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  2 02:35:31 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug  2 02:35:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec2ffdbc

dev-python/aiohttp-socks: Create 3proxy symlink cond. to USE=test

Closes: https://bugs.gentoo.org/691266
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild 
b/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild
index 074589380ff..9b27fc1c041 100644
--- a/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild
+++ b/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild
@@ -29,7 +29,9 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
 
 python_configure_all() {
        rm tests/3proxy/bin/*/* || die
-       ln -s "$(type -P 3proxy)" tests/3proxy/bin/linux/ || die
+       if use test; then
+               ln -s "$(type -P 3proxy)" tests/3proxy/bin/linux/ || die
+       fi
 }
 
 python_test() {

Reply via email to