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

Closes: https://bugs.gentoo.org/691266
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-08-02 04:35:31 +02:00
parent 8ad3a9713e
commit ec2ffdbcf6

View File

@@ -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() {