Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/
Date: Sun, 27 Dec 2020 04:31:39
Message-Id: 1609043446.01e7fa0bef9b9f66ded33318f74acf7a7575c066.sam@gentoo
1 commit: 01e7fa0bef9b9f66ded33318f74acf7a7575c066
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 27 04:30:46 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 27 04:30:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e7fa0b
7
8 net-proxy/sshuttle: cleanup old
9
10 Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-proxy/sshuttle/Manifest | 1 -
14 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 57 -------------------------------
15 2 files changed, 58 deletions(-)
16
17 diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
18 index 8290f7a320c..0f7ae1c7a3f 100644
19 --- a/net-proxy/sshuttle/Manifest
20 +++ b/net-proxy/sshuttle/Manifest
21 @@ -1,2 +1 @@
22 -DIST sshuttle-0.78.5.tar.gz 74663 BLAKE2B 47e295219c1ada7bee4f0340cc169620c5b91abd1f72b933289ef2dea0c5ba088673f2d1348d444f662e9f6c2638ee6dfd3e8df1fa8344bc7c48adf1a3a96d3f SHA512 562acbf0e825ad41458c5b6065592a45b8bac92cd64b20619027fe4d0bec60a22c5191c7a7ed6b216d8cf5c9e027f58a6cdca69dd3a11ec6f6d348ef2f13bb38
23 DIST sshuttle-1.0.3.tar.gz 79216 BLAKE2B fefc93654c4991bad54de6b156916ee656f7d460d609c5333b15c601e9b2b0169c1670e911988dfa8290a5bc1885d94f9ec9656066d2b13da0b4d53d9739297a SHA512 22132dba0e6b7dd835f0af1368a5e8c3a95db66e11ffec9ec3cae72cc7ed4eec13580eeceb08071bee12cae8169852772578f8e29a69583cb79c71d350f474bb
24
25 diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
26 deleted file mode 100644
27 index 497f9299ed0..00000000000
28 --- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
29 +++ /dev/null
30 @@ -1,57 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -PYTHON_COMPAT=( python{3_6,3_7} )
36 -
37 -inherit linux-info distutils-r1
38 -
39 -DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
40 -HOMEPAGE="https://github.com/sshuttle/sshuttle https://pypi.org/project/sshuttle/"
41 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 -
43 -LICENSE="LGPL-2.1+"
44 -SLOT="0"
45 -KEYWORDS="amd64 x86"
46 -IUSE="test"
47 -RESTRICT="!test? ( test )"
48 -
49 -RDEPEND="
50 - dev-python/setuptools[${PYTHON_USEDEP}]
51 - || ( net-firewall/iptables net-firewall/nftables )
52 -"
53 -DEPEND="
54 - dev-python/sphinx
55 - dev-python/setuptools[${PYTHON_USEDEP}]
56 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
57 - test? (
58 - dev-python/pytest[${PYTHON_USEDEP}]
59 - dev-python/mock[${PYTHON_USEDEP}]
60 - )
61 -"
62 -
63 -CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL ~NF_NAT"
64 -
65 -python_prepare_all() {
66 - # don't run tests via setup.py pytest
67 - sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
68 -
69 - # don't require pytest-cov when running tests
70 - sed -i "s/^addopts =/#\0/" setup.cfg || die
71 -
72 - distutils-r1_python_prepare_all
73 -}
74 -
75 -python_compile_all() {
76 - emake -j1 -C docs html man
77 -}
78 -
79 -python_test() {
80 - py.test -v || die "Tests fail under ${EPYTHON}"
81 -}
82 -
83 -python_install_all() {
84 - HTML_DOCS=( docs/_build/html/. )
85 - doman docs/_build/man/*
86 - distutils-r1_python_install_all
87 -}