Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PySocks/
Date: Mon, 27 Jan 2020 09:48:40
Message-Id: 1580118508.766c5da7abd1d0f60d742d4122ae77d18b24b60f.mgorny@gentoo
1 commit: 766c5da7abd1d0f60d742d4122ae77d18b24b60f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 27 07:29:22 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 27 09:48:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=766c5da7
7
8 dev-python/PySocks: Prepare to unbundle 3proxy
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/PySocks/PySocks-1.7.1.ebuild | 7 ++++++-
13 1 file changed, 6 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/PySocks/PySocks-1.7.1.ebuild b/dev-python/PySocks/PySocks-1.7.1.ebuild
16 index 09bce5ca993..579fd5f5e38 100644
17 --- a/dev-python/PySocks/PySocks-1.7.1.ebuild
18 +++ b/dev-python/PySocks/PySocks-1.7.1.ebuild
19 @@ -17,10 +17,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s
20
21 #BDEPEND="
22 # test? (
23 +# net-proxy/3proxy
24 # $(python_gen_cond_dep 'dev-python/test_server[${PYTHON_USEDEP}]' -3)
25 # )"
26
27 -# TODO: unbundle 3proxy
28 #distutils_enable_tests pytest
29
30 # tests fail semi-randomly; probably starting proxy server doesn't work
31 @@ -32,6 +32,11 @@ src_prepare() {
32 "${FILESDIR}"/PySocks-1.7.1-test_server.patch
33 )
34
35 + rm test/bin/3proxy || die
36 +# if use test; then
37 +# ln -s "${BROOT}/usr/bin/3proxy" test/bin/3proxy || die
38 +# fi
39 +
40 # requires Internet
41 sed -i -e 's:test_socks5_proxy_connect_timeout:_&:' \
42 test/test_pysocks.py || die