Signed-off-by: Michał Górny <mgorny@gentoo.org>
#BDEPEND="
# test? (
+# net-proxy/3proxy
# $(python_gen_cond_dep 'dev-python/test_server[${PYTHON_USEDEP}]' -3)
# )"
-# TODO: unbundle 3proxy
#distutils_enable_tests pytest
# tests fail semi-randomly; probably starting proxy server doesn't work
"${FILESDIR}"/PySocks-1.7.1-test_server.patch
)
+ rm test/bin/3proxy || die
+# if use test; then
+# ln -s "${BROOT}/usr/bin/3proxy" test/bin/3proxy || die
+# fi
+
# requires Internet
sed -i -e 's:test_socks5_proxy_connect_timeout:_&:' \
test/test_pysocks.py || die