diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-27 08:29:22 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-27 10:48:28 +0100 |
commit | 766c5da7abd1d0f60d742d4122ae77d18b24b60f (patch) | |
tree | 21294222fb7e7a1ea00ba2636082b738694de8d0 /dev-python/PySocks | |
parent | sys-kernel/gentoo-kernel: Bump to 5.4.15 (diff) | |
download | gentoo-766c5da7abd1d0f60d742d4122ae77d18b24b60f.tar.gz gentoo-766c5da7abd1d0f60d742d4122ae77d18b24b60f.tar.bz2 gentoo-766c5da7abd1d0f60d742d4122ae77d18b24b60f.zip |
dev-python/PySocks: Prepare to unbundle 3proxy
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PySocks')
-rw-r--r-- | dev-python/PySocks/PySocks-1.7.1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/PySocks/PySocks-1.7.1.ebuild b/dev-python/PySocks/PySocks-1.7.1.ebuild index 09bce5ca993c..579fd5f5e387 100644 --- a/dev-python/PySocks/PySocks-1.7.1.ebuild +++ b/dev-python/PySocks/PySocks-1.7.1.ebuild @@ -17,10 +17,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s #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 @@ -32,6 +32,11 @@ src_prepare() { "${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 |