1 |
commit: 6e9a8e31660f7ec2d818ba19d74d196bcf6a3d9e |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 29 04:49:29 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 29 04:51:16 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e9a8e31 |
7 |
|
8 |
net-proxy/sshuttle: version bump to 0.78.3 |
9 |
|
10 |
net-proxy/sshuttle/Manifest | 1 + |
11 |
net-proxy/sshuttle/sshuttle-0.78.3.ebuild | 42 +++++++++++++++++++++++++++++++ |
12 |
2 files changed, 43 insertions(+) |
13 |
|
14 |
diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest |
15 |
index d8cd79c2f66..37a630dd96f 100644 |
16 |
--- a/net-proxy/sshuttle/Manifest |
17 |
+++ b/net-proxy/sshuttle/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST sshuttle-0.78.1.tar.gz 67173 SHA256 03a71648ce476de06a075bd9a972492d494b414ae51304bf535b80ff22be2d3c SHA512 506b01f20d152e97a41c93299f47d6bba4d7f9fda11e066aca3d79426be68790ff30a3a081ea05ca538aba921ed69e711b672fcfd9084aba6bdae6498beb7e8d WHIRLPOOL d356bf17ba5f6f01351dc316745af3fd07237160340f675e1ecef52d73cb15caf4c5eee65d1ed56ea4008081623362688957f268da30d487d5aa6be02632ddda |
20 |
+DIST sshuttle-0.78.3.tar.gz 69460 SHA256 8aa31a645e6532d381d0298071960845fbdfa5c7683649a765a7ac7360c1be8b SHA512 581955d9868bdd369a37386b273d53448944b1fb5458a25d5930b348630521cadcaea8cf45371942f96c789889d2a405e8bbe824af3d0c6def73f017f1149a1e WHIRLPOOL 33e1f57ecefcce46240569554e623ae0865cc034232735b4361baf6e43f027b2b2be6ef54120944d3eb7281baecc376cd2a4cbede3b51d2bb8340eeb5e40a89c |
21 |
|
22 |
diff --git a/net-proxy/sshuttle/sshuttle-0.78.3.ebuild b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..7afb04c1fa0 |
25 |
--- /dev/null |
26 |
+++ b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild |
27 |
@@ -0,0 +1,42 @@ |
28 |
+# Copyright 1999-2017 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
33 |
+ |
34 |
+inherit linux-info distutils-r1 |
35 |
+ |
36 |
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh" |
37 |
+HOMEPAGE="https://github.com/sshuttle/sshuttle https://pypi.python.org/pypi/sshuttle" |
38 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="GPL-2+" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="test" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
47 |
+ net-firewall/iptables |
48 |
+" |
49 |
+DEPEND=" |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
52 |
+ test? ( |
53 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
54 |
+ dev-python/mock[${PYTHON_USEDEP}] |
55 |
+ ) |
56 |
+" |
57 |
+ |
58 |
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL ~NF_NAT" |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ # don't run tests via setup.py pytest |
62 |
+ sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die |
63 |
+ |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ py.test || die "Tests fail under ${EPYTHON}" |
69 |
+} |