[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2024-04-29 Thread Sam James
commit: f5f15d01c39948cef6cd809c499243b845b272e5
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 29 13:39:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 29 13:39:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f15d01

net-proxy/sshuttle: Stabilize 1.1.2 amd64, #930857

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.1.2.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
index ee969d0444aa..0c3c7b286c31 100644
--- a/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
@@ -28,7 +28,7 @@ fi
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="${SSHUTTLE_DOCS_USEFLAG}"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2024-04-28 Thread Sam James
commit: ea619097a5a4b6832aedfbf032d3adf08cd94c3b
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 29 05:47:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 29 05:47:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea619097

net-proxy/sshuttle: Stabilize 1.1.2 x86, #930857

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.1.2.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
index 8bde64af7644..ee969d0444aa 100644
--- a/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
@@ -28,7 +28,7 @@ fi
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="${SSHUTTLE_DOCS_USEFLAG}"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2024-02-21 Thread Sam James
commit: 54ee4ea16dbdf1018e9b65d39724b416275e61de
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 21 10:15:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 21 10:15:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54ee4ea1

net-proxy/sshuttle: add 1.1.2

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  2 +
 net-proxy/sshuttle/sshuttle-1.1.2.ebuild | 78 
 2 files changed, 80 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 30b03be5c7f1..36fd5e723838 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1,4 @@
 DIST sshuttle-1.1.1-docs.tar.xz 8048 BLAKE2B 
f6318110f67a4882a733d9b389c52eefd2e769b70f3282e7699425b6e6d3a9c5a60219978e248aaf1e7f184491db9aea4aab2efad09eb0af3ee095e0cf527d54
 SHA512 
c2ef822f872f6afd1d9c64e7a412ad65cca0486115dcfa0673a7a1b0554bfd1413f673248e30fa01759daaf1a1a0061f48a42170d7b234448093d3562f757cd9
 DIST sshuttle-1.1.1.tar.gz 93639 BLAKE2B 
63725146dd5fcd07f4b291f981ca947a514735014f4f8173023d3982796ce4ef96b9defb39beef026d32b2162d11951742c57dee1f04cd453cf85ca08c8d2468
 SHA512 
07a3371c4998f37410692f9c5eaa456ff28b2db731a0be3877d96c820b42c83cb386ec3ab54b524d4b333edd1a2289cd949c7d59b98a11b1ee2d6867da4f
+DIST sshuttle-1.1.2-docs.tar.xz 8300 BLAKE2B 
efbffcda40422b76e18ad8e85b1ccd392a5ca342897d3a179b31b5f000954b2021c877680eda6a0aae70c8594704afb8a81599f2c79dd1c954665c437ad789f2
 SHA512 
b48896b48da2540e561fec10ae20a8b53ffc8df59c7917e7166f138b6c2ad2d3555949d9f10934886e3c6d5a062e20460e985c064b1502a3951149265c332956
+DIST sshuttle-1.1.2.gh.tar.gz 111767 BLAKE2B 
7f2a63df0a6e2815e8787c6e02cd81924ff3d80d4b2309d8ebb875b49db33ff5b7b8c8249760b27a942f69db049c862041433099a06f009fe3532c4cb4493bac
 SHA512 
c24a6490c1877b9ded8f5f4f44571953c4c204c33f0238c709ca32c7a581ddc919bfc48beb4fafd3a4d346cccd9b02dc7051b6233ff989a0ad329d55c1c5ec47

diff --git a/net-proxy/sshuttle/sshuttle-1.1.2.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
new file mode 100644
index ..8bde64af7644
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-1.1.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-sshuttle-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${SSHUTTLE_DOCS_PREBUILT:=1}
+
+SSHUTTLE_DOCS_PREBUILT_DEV=sam
+SSHUTTLE_DOCS_VERSION=${PV}
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+SSHUTTLE_DOCS_USEFLAG="+doc"
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 linux-info
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
+# No tests in sdist
+SRC_URI=" https://github.com/sshuttle/sshuttle/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.gh.tar.gz"
+if [[ ${SSHUTTLE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${SSHUTTLE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${SSHUTTLE_DOCS_VERSION}-docs.tar.xz
 )"
+   SSHUTTLE_DOCS_USEFLAG="doc"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="${SSHUTTLE_DOCS_USEFLAG}"
+
+BDEPEND="
+   doc? (
+   dev-python/sphinx
+   dev-python/furo
+   )
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   dev-python/psutil[${PYTHON_USEDEP}]
+   || ( net-firewall/iptables net-firewall/nftables )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   # Don't require pytest-cov when running tests
+   sed -i "s/^addopts =/#\0/" setup.cfg || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc ; then
+   emake -j1 -C docs html man
+   fi
+}
+
+python_install_all() {
+   # If USE=doc, there'll be newly generated docs which we install instead.
+   if ! use doc && [[ ${SSHUTTLE_DOCS_PREBUILT} == 1 ]] ; then
+   doman 
"${WORKDIR}"/${PN}-${SSHUTTLE_DOCS_VERSION}-docs/sshuttle.1
+   else
+   HTML_DOCS=( docs/_build/html/. )
+   doman docs/_build/man/*
+   fi
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2023-03-16 Thread Michał Górny
commit: 2af66b846d3b6d8c9716c4102b805e158d8dc6e0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 16 18:57:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 17 05:31:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af66b84

net-proxy/sshuttle: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.1.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.1.1.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
index 3371a844ea40..f2826293e380 100644
--- a/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
@@ -15,11 +15,10 @@ SSHUTTLE_DOCS_USEFLAG="+doc"
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1 linux-info
+inherit distutils-r1 linux-info pypi
 
 DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
 HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 if [[ ${SSHUTTLE_DOCS_PREBUILT} == 1 ]] ; then
SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${SSHUTTLE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${SSHUTTLE_DOCS_VERSION}-docs.tar.xz
 )"
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-10-28 Thread Sam James
commit: 15481824f1713c21cb5641167a498138e074e9d8
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:36:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15481824

net-proxy/sshuttle: drop 1.1.0

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  1 -
 net-proxy/sshuttle/sshuttle-1.1.0.ebuild | 54 
 2 files changed, 55 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index a575286ddd9f..30b03be5c7f1 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,3 +1,2 @@
-DIST sshuttle-1.1.0.tar.gz 93987 BLAKE2B 
c81ab591d5f84764a6ed114623ccb1aaf2ff9706bc5f494513b19c4c2eeb218f3777b2bc7042329eb862aa311a5eab56669d88e10d92b019c0ff9ac9381e3903
 SHA512 
86361dec179c2ae61c338abaec3d0d36a280c1cc719c1df245a98379037315ac71781e8e5599bb50e34f5068dab3e1010cd7d15c614e01f3dc12011b620d43ee
 DIST sshuttle-1.1.1-docs.tar.xz 8048 BLAKE2B 
f6318110f67a4882a733d9b389c52eefd2e769b70f3282e7699425b6e6d3a9c5a60219978e248aaf1e7f184491db9aea4aab2efad09eb0af3ee095e0cf527d54
 SHA512 
c2ef822f872f6afd1d9c64e7a412ad65cca0486115dcfa0673a7a1b0554bfd1413f673248e30fa01759daaf1a1a0061f48a42170d7b234448093d3562f757cd9
 DIST sshuttle-1.1.1.tar.gz 93639 BLAKE2B 
63725146dd5fcd07f4b291f981ca947a514735014f4f8173023d3982796ce4ef96b9defb39beef026d32b2162d11951742c57dee1f04cd453cf85ca08c8d2468
 SHA512 
07a3371c4998f37410692f9c5eaa456ff28b2db731a0be3877d96c820b42c83cb386ec3ab54b524d4b333edd1a2289cd949c7d59b98a11b1ee2d6867da4f

diff --git a/net-proxy/sshuttle/sshuttle-1.1.0.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
deleted file mode 100644
index 7a636a151c2c..
--- a/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 linux-info
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   dev-python/sphinx
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   dev-python/psutil[${PYTHON_USEDEP}]
-   || ( net-firewall/iptables net-firewall/nftables )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Don't run tests via setup.py pytest
-   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
-
-   # Don't require pytest-cov when running tests
-   sed -i "s/^addopts =/#\0/" setup.cfg || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   emake -j1 -C docs html man
-}
-
-python_install_all() {
-   HTML_DOCS=( docs/_build/html/. )
-
-   doman docs/_build/man/*
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-10-08 Thread Sam James
commit: b6d29471b30827dd300f31f03d63c54f26262dcd
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 23:10:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 23:10:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6d29471

net-proxy/sshuttle: Stabilize 1.1.1 x86, #876223

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.1.1.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
index 76c2e19b8e11..83a1c4540348 100644
--- a/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
@@ -28,7 +28,7 @@ fi
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="${SSHUTTLE_DOCS_USEFLAG}"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-10-08 Thread Sam James
commit: 6dd70b6e627275340f0cb67ab4ef1f5b1c0b0098
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 23:09:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 23:09:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd70b6e

net-proxy/sshuttle: Stabilize 1.1.1 amd64, #876223

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.1.1.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
index c9cdc03543a1..76c2e19b8e11 100644
--- a/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
@@ -28,7 +28,7 @@ fi
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="${SSHUTTLE_DOCS_USEFLAG}"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-09-05 Thread Sam James
commit: 713e51578f640aa1cd7681439ae9e2108cebb913
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep  6 02:16:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep  6 02:16:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713e5157

net-proxy/sshuttle: add 1.1.1

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  2 +
 net-proxy/sshuttle/sshuttle-1.1.1.ebuild | 75 
 2 files changed, 77 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 08faa7825113..a575286ddd9f 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,3 @@
 DIST sshuttle-1.1.0.tar.gz 93987 BLAKE2B 
c81ab591d5f84764a6ed114623ccb1aaf2ff9706bc5f494513b19c4c2eeb218f3777b2bc7042329eb862aa311a5eab56669d88e10d92b019c0ff9ac9381e3903
 SHA512 
86361dec179c2ae61c338abaec3d0d36a280c1cc719c1df245a98379037315ac71781e8e5599bb50e34f5068dab3e1010cd7d15c614e01f3dc12011b620d43ee
+DIST sshuttle-1.1.1-docs.tar.xz 8048 BLAKE2B 
f6318110f67a4882a733d9b389c52eefd2e769b70f3282e7699425b6e6d3a9c5a60219978e248aaf1e7f184491db9aea4aab2efad09eb0af3ee095e0cf527d54
 SHA512 
c2ef822f872f6afd1d9c64e7a412ad65cca0486115dcfa0673a7a1b0554bfd1413f673248e30fa01759daaf1a1a0061f48a42170d7b234448093d3562f757cd9
+DIST sshuttle-1.1.1.tar.gz 93639 BLAKE2B 
63725146dd5fcd07f4b291f981ca947a514735014f4f8173023d3982796ce4ef96b9defb39beef026d32b2162d11951742c57dee1f04cd453cf85ca08c8d2468
 SHA512 
07a3371c4998f37410692f9c5eaa456ff28b2db731a0be3877d96c820b42c83cb386ec3ab54b524d4b333edd1a2289cd949c7d59b98a11b1ee2d6867da4f

diff --git a/net-proxy/sshuttle/sshuttle-1.1.1.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
new file mode 100644
index ..c9cdc03543a1
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-1.1.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-sshuttle-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${SSHUTTLE_DOCS_PREBUILT:=1}
+
+SSHUTTLE_DOCS_PREBUILT_DEV=sam
+SSHUTTLE_DOCS_VERSION=${PV}
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+SSHUTTLE_DOCS_USEFLAG="+doc"
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+inherit distutils-r1 linux-info
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+if [[ ${SSHUTTLE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${SSHUTTLE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${SSHUTTLE_DOCS_VERSION}-docs.tar.xz
 )"
+
+   SSHUTTLE_DOCS_USEFLAG="doc"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="${SSHUTTLE_DOCS_USEFLAG}"
+
+BDEPEND="
+   doc? ( dev-python/sphinx )
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   dev-python/psutil[${PYTHON_USEDEP}]
+   || ( net-firewall/iptables net-firewall/nftables )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   # Don't require pytest-cov when running tests
+   sed -i "s/^addopts =/#\0/" setup.cfg || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc ; then
+   emake -j1 -C docs html man
+   fi
+}
+
+python_install_all() {
+   # If USE=doc, there'll be newly generated docs which we install instead.
+   if ! use doc && [[ ${SSHUTTLE_DOCS_PREBUILT} == 1 ]] ; then
+   doman 
"${WORKDIR}"/${PN}-${SSHUTTLE_DOCS_VERSION}-docs/sshuttle.1
+   else
+   HTML_DOCS=( docs/_build/html/. )
+   doman docs/_build/man/*
+   fi
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-04-29 Thread Sam James
commit: f1a8223af37caa72fb2ba8a1f269c2f15daab4a7
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 09:30:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 10:20:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a8223a

net-proxy/sshuttle: drop 1.0.5

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  1 -
 net-proxy/sshuttle/sshuttle-1.0.5.ebuild | 53 
 2 files changed, 54 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 58aa627072b4..08faa7825113 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1 @@
-DIST sshuttle-1.0.5.tar.gz 88823 BLAKE2B 
6a68be71a92c8245e2e60df1f425c6959547f8c2b972bdafcd774449c3779698c2549f2c7a3575c102158962ef9dd2edaaecec564f36f7f5cc84ed3f53b3daa3
 SHA512 
a9ebc8f8cf5ccc351796c2eb5b224b5d76908d23a367b768fa4e7b9cd8517ee7ff9c232c92ed4332f46d02d890ad8114f8beaa66876a8c0d7d4850c18ff4c2b3
 DIST sshuttle-1.1.0.tar.gz 93987 BLAKE2B 
c81ab591d5f84764a6ed114623ccb1aaf2ff9706bc5f494513b19c4c2eeb218f3777b2bc7042329eb862aa311a5eab56669d88e10d92b019c0ff9ac9381e3903
 SHA512 
86361dec179c2ae61c338abaec3d0d36a280c1cc719c1df245a98379037315ac71781e8e5599bb50e34f5068dab3e1010cd7d15c614e01f3dc12011b620d43ee

diff --git a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
deleted file mode 100644
index dd71ee736799..
--- a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 linux-info
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   dev-python/sphinx
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   dev-python/psutil[${PYTHON_USEDEP}]
-   || ( net-firewall/iptables net-firewall/nftables )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Don't run tests via setup.py pytest
-   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
-
-   # Don't require pytest-cov when running tests
-   sed -i "s/^addopts =/#\0/" setup.cfg || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   emake -j1 -C docs html man
-}
-
-python_install_all() {
-   HTML_DOCS=( docs/_build/html/. )
-
-   doman docs/_build/man/*
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-03-01 Thread Sam James
commit: ade71aefa364430bd30666a9a0a61920fdfe5973
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar  2 03:41:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  2 03:41:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade71aef

net-proxy/sshuttle: Stabilize 1.1.0 amd64, #834452

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.1.0.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
index 809e9d48926c..ccb31c1864b0 100644
--- a/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-03-01 Thread Sam James
commit: 34f7a8b4944a5885987ab50651dd0f6c14f770e6
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar  2 03:42:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  2 03:42:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34f7a8b4

net-proxy/sshuttle: Stabilize 1.1.0 x86, #834452

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.1.0.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
index ccb31c1864b0..7a636a151c2c 100644
--- a/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2022-01-28 Thread Sam James
commit: a4ea51ed76e14ce71a889558c9fe5ef4c5c64114
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 28 08:16:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 28 08:16:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ea51ed

net-proxy/sshuttle: add 1.1.0

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  1 +
 net-proxy/sshuttle/sshuttle-1.1.0.ebuild | 54 
 2 files changed, 55 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index ae1788a02dc2..58aa627072b4 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-1.0.5.tar.gz 88823 BLAKE2B 
6a68be71a92c8245e2e60df1f425c6959547f8c2b972bdafcd774449c3779698c2549f2c7a3575c102158962ef9dd2edaaecec564f36f7f5cc84ed3f53b3daa3
 SHA512 
a9ebc8f8cf5ccc351796c2eb5b224b5d76908d23a367b768fa4e7b9cd8517ee7ff9c232c92ed4332f46d02d890ad8114f8beaa66876a8c0d7d4850c18ff4c2b3
+DIST sshuttle-1.1.0.tar.gz 93987 BLAKE2B 
c81ab591d5f84764a6ed114623ccb1aaf2ff9706bc5f494513b19c4c2eeb218f3777b2bc7042329eb862aa311a5eab56669d88e10d92b019c0ff9ac9381e3903
 SHA512 
86361dec179c2ae61c338abaec3d0d36a280c1cc719c1df245a98379037315ac71781e8e5599bb50e34f5068dab3e1010cd7d15c614e01f3dc12011b620d43ee

diff --git a/net-proxy/sshuttle/sshuttle-1.1.0.ebuild 
b/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
new file mode 100644
index ..809e9d48926c
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-1.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 linux-info
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   dev-python/sphinx
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   dev-python/psutil[${PYTHON_USEDEP}]
+   || ( net-firewall/iptables net-firewall/nftables )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   # Don't require pytest-cov when running tests
+   sed -i "s/^addopts =/#\0/" setup.cfg || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   emake -j1 -C docs html man
+}
+
+python_install_all() {
+   HTML_DOCS=( docs/_build/html/. )
+
+   doman docs/_build/man/*
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-08-21 Thread Arthur Zamarin
commit: 26422c74925f5fd932620a5dde9ac8312e823661
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 21 13:26:52 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 21 13:29:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26422c74

net-proxy/sshuttle: enable py3.10, sort deps

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.5.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
index 06ad52f2a3b..dd71ee73679 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
@@ -2,9 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8,9} )
 
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1 linux-info
 
 DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
@@ -16,8 +15,8 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 
 BDEPEND="
-   dev-python/sphinx
dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   dev-python/sphinx
test? (
dev-python/mock[${PYTHON_USEDEP}]
)



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-05-27 Thread Sam James
commit: d8bf21023435bf6a40661890f8891b1ed05b5617
Author: Sam James  gentoo  org>
AuthorDate: Fri May 28 03:19:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 28 03:20:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bf2102

net-proxy/sshuttle: undo Sphinx 4.0.x workaround

They've reverted the change upstream in Sphinx 4.0.2.

See: b36fcb064c9d30014e4d77bb350f16dd34436cf5
Closes: https://bugs.gentoo.org/792402
Bug: https://bugs.gentoo.org/789417
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.5.ebuild | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
index 5cc44739a20..06ad52f2a3b 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
@@ -48,13 +48,7 @@ python_compile_all() {
 python_install_all() {
HTML_DOCS=( docs/_build/html/. )
 
-   # Sphinx 4.0 changed the layout for installed man pages
-   # https://bugs.gentoo.org/789417
-   if has_version '>=dev-python/sphinx-4.0.0' ; then
-   doman docs/_build/man/1/*
-   else
-   doman docs/_build/man/*
-   fi
+   doman docs/_build/man/*
 
distutils-r1_python_install_all
 }



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-05-16 Thread Sam James
commit: b36fcb064c9d30014e4d77bb350f16dd34436cf5
Author: Sam James  gentoo  org>
AuthorDate: Mon May 17 00:52:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 17 00:52:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b36fcb06

net-proxy/sshuttle: fix installation with Sphinx 4.0

Sphinx 4.0 has changed the installation layout for man pages.

Closes: https://bugs.gentoo.org/789417
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.5.ebuild | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
index 888000fa91a..5cc44739a20 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
@@ -32,10 +32,10 @@ CONFIG_CHECK="~NETFILTER_XT_TARGET_HL 
~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL ~N
 distutils_enable_tests pytest
 
 python_prepare_all() {
-   # don't run tests via setup.py pytest
+   # Don't run tests via setup.py pytest
sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
 
-   # don't require pytest-cov when running tests
+   # Don't require pytest-cov when running tests
sed -i "s/^addopts =/#\0/" setup.cfg || die
 
distutils-r1_python_prepare_all
@@ -47,6 +47,14 @@ python_compile_all() {
 
 python_install_all() {
HTML_DOCS=( docs/_build/html/. )
-   doman docs/_build/man/*
+
+   # Sphinx 4.0 changed the layout for installed man pages
+   # https://bugs.gentoo.org/789417
+   if has_version '>=dev-python/sphinx-4.0.0' ; then
+   doman docs/_build/man/1/*
+   else
+   doman docs/_build/man/*
+   fi
+
distutils-r1_python_install_all
 }



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-03-16 Thread Sam James
commit: cc9082392e1d1322a364ac95ddb8c4012ddadef1
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 21:15:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 21:28:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc908239

net-proxy/sshuttle: add myself to maintainers

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml
index f58c931767c..b08f0112cd6 100644
--- a/net-proxy/sshuttle/metadata.xml
+++ b/net-proxy/sshuttle/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   s...@gentoo.org
+   Sam James
+   

sshuttle
sshuttle/sshuttle



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-03-16 Thread Sam James
commit: 82ed345d2fdb0730f3a35079843d9942cdd33e2d
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 21:15:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 21:28:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82ed345d

net-proxy/sshuttle: fix metadata indentation

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/metadata.xml | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml
index 7597a9dccda..f58c931767c 100644
--- a/net-proxy/sshuttle/metadata.xml
+++ b/net-proxy/sshuttle/metadata.xml
@@ -1,9 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-  
-sshuttle
-sshuttle/sshuttle
-  
+   
+   sshuttle
+   sshuttle/sshuttle
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-02-02 Thread Sam James
commit: d0c524229d7687e79fb22d4d369394dd4d06ed93
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  2 23:50:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  2 23:50:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0c52422

net-proxy/sshuttle: cleanup old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  1 -
 net-proxy/sshuttle/sshuttle-1.0.3.ebuild | 49 
 2 files changed, 50 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 6879ed33288..ae1788a02dc 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1 @@
-DIST sshuttle-1.0.3.tar.gz 79216 BLAKE2B 
fefc93654c4991bad54de6b156916ee656f7d460d609c5333b15c601e9b2b0169c1670e911988dfa8290a5bc1885d94f9ec9656066d2b13da0b4d53d9739297a
 SHA512 
22132dba0e6b7dd835f0af1368a5e8c3a95db66e11ffec9ec3cae72cc7ed4eec13580eeceb08071bee12cae8169852772578f8e29a69583cb79c71d350f474bb
 DIST sshuttle-1.0.5.tar.gz 88823 BLAKE2B 
6a68be71a92c8245e2e60df1f425c6959547f8c2b972bdafcd774449c3779698c2549f2c7a3575c102158962ef9dd2edaaecec564f36f7f5cc84ed3f53b3daa3
 SHA512 
a9ebc8f8cf5ccc351796c2eb5b224b5d76908d23a367b768fa4e7b9cd8517ee7ff9c232c92ed4332f46d02d890ad8114f8beaa66876a8c0d7d4850c18ff4c2b3

diff --git a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
deleted file mode 100644
index 19f8b36a581..000
--- a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit distutils-r1 linux-info
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-BDEPEND="
-   dev-python/sphinx
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="|| ( net-firewall/iptables net-firewall/nftables )"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # don't run tests via setup.py pytest
-   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
-
-   # don't require pytest-cov when running tests
-   sed -i "s/^addopts =/#\0/" setup.cfg || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   emake -j1 -C docs html man
-}
-
-python_install_all() {
-   HTML_DOCS=( docs/_build/html/. )
-   doman docs/_build/man/*
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-02-02 Thread Sam James
commit: d9669810831e81086af6d39c76777e6efb79fa92
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  2 23:45:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  2 23:45:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9669810

net-proxy/sshuttle: Stabilize 1.0.5 x86, #767925

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
index 88103e56ef0..888000fa91a 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 BDEPEND="
dev-python/sphinx



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2021-01-31 Thread Sam James
commit: ad990969d9ecb292cb62f8933459701077523429
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 31 21:50:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 31 21:50:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad990969

net-proxy/sshuttle: Stabilize 1.0.5 amd64, #767925

Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
index b297f3b3390..88103e56ef0 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 BDEPEND="
dev-python/sphinx



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-12-29 Thread Sam James
commit: 33e941c07bed7a9f264d95f6ea6a7349a8075907
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 29 20:15:31 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 29 20:15:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e941c0

net-proxy/sshuttle: bump to 1.0.5

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest | 2 +-
 net-proxy/sshuttle/{sshuttle-1.0.4.ebuild => sshuttle-1.0.5.ebuild} | 5 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index be0ffbe3b4d..6879ed33288 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1,2 @@
 DIST sshuttle-1.0.3.tar.gz 79216 BLAKE2B 
fefc93654c4991bad54de6b156916ee656f7d460d609c5333b15c601e9b2b0169c1670e911988dfa8290a5bc1885d94f9ec9656066d2b13da0b4d53d9739297a
 SHA512 
22132dba0e6b7dd835f0af1368a5e8c3a95db66e11ffec9ec3cae72cc7ed4eec13580eeceb08071bee12cae8169852772578f8e29a69583cb79c71d350f474bb
-DIST sshuttle-1.0.4.tar.gz 82241 BLAKE2B 
7c8ff612b3762e26d2f29667fe4399ce2f6d51b7adff17af861644464121276480401d3a0127f8c14ab1f200829a8ed40c471620674122318b9204d573cb7fd6
 SHA512 
f612f193b1ad2f94c0fc5fa3642adcce7bcf62da093152987efd947e4b353694b0571fd3a221d44fe2e7b215782169cf728f3f398ec3e4d1ad25f5149e5a4d2c
+DIST sshuttle-1.0.5.tar.gz 88823 BLAKE2B 
6a68be71a92c8245e2e60df1f425c6959547f8c2b972bdafcd774449c3779698c2549f2c7a3575c102158962ef9dd2edaaecec564f36f7f5cc84ed3f53b3daa3
 SHA512 
a9ebc8f8cf5ccc351796c2eb5b224b5d76908d23a367b768fa4e7b9cd8517ee7ff9c232c92ed4332f46d02d890ad8114f8beaa66876a8c0d7d4850c18ff4c2b3

diff --git a/net-proxy/sshuttle/sshuttle-1.0.4.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
similarity index 91%
rename from net-proxy/sshuttle/sshuttle-1.0.4.ebuild
rename to net-proxy/sshuttle/sshuttle-1.0.5.ebuild
index 6f5b0c2088b..b297f3b3390 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.4.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
@@ -22,7 +22,10 @@ BDEPEND="
dev-python/mock[${PYTHON_USEDEP}]
)
 "
-RDEPEND="|| ( net-firewall/iptables net-firewall/nftables )"
+RDEPEND="
+   dev-python/psutil[${PYTHON_USEDEP}]
+   || ( net-firewall/iptables net-firewall/nftables )
+"
 
 CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-12-26 Thread Sam James
commit: 3ae48278c2359865ae50c5c16af770d907a105b9
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 27 04:47:39 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 27 04:47:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae48278

net-proxy/sshuttle: bump to 1.0.4

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  1 +
 net-proxy/sshuttle/sshuttle-1.0.4.ebuild | 49 
 2 files changed, 50 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 0f7ae1c7a3f..be0ffbe3b4d 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-1.0.3.tar.gz 79216 BLAKE2B 
fefc93654c4991bad54de6b156916ee656f7d460d609c5333b15c601e9b2b0169c1670e911988dfa8290a5bc1885d94f9ec9656066d2b13da0b4d53d9739297a
 SHA512 
22132dba0e6b7dd835f0af1368a5e8c3a95db66e11ffec9ec3cae72cc7ed4eec13580eeceb08071bee12cae8169852772578f8e29a69583cb79c71d350f474bb
+DIST sshuttle-1.0.4.tar.gz 82241 BLAKE2B 
7c8ff612b3762e26d2f29667fe4399ce2f6d51b7adff17af861644464121276480401d3a0127f8c14ab1f200829a8ed40c471620674122318b9204d573cb7fd6
 SHA512 
f612f193b1ad2f94c0fc5fa3642adcce7bcf62da093152987efd947e4b353694b0571fd3a221d44fe2e7b215782169cf728f3f398ec3e4d1ad25f5149e5a4d2c

diff --git a/net-proxy/sshuttle/sshuttle-1.0.4.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.4.ebuild
new file mode 100644
index 000..6f5b0c2088b
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-1.0.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 linux-info
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+   dev-python/sphinx
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="|| ( net-firewall/iptables net-firewall/nftables )"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   # don't require pytest-cov when running tests
+   sed -i "s/^addopts =/#\0/" setup.cfg || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   emake -j1 -C docs html man
+}
+
+python_install_all() {
+   HTML_DOCS=( docs/_build/html/. )
+   doman docs/_build/man/*
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-12-26 Thread Sam James
commit: 01e7fa0bef9b9f66ded33318f74acf7a7575c066
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 27 04:30:46 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 27 04:30:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e7fa0b

net-proxy/sshuttle: cleanup old

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest   |  1 -
 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 57 ---
 2 files changed, 58 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 8290f7a320c..0f7ae1c7a3f 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1 @@
-DIST sshuttle-0.78.5.tar.gz 74663 BLAKE2B 
47e295219c1ada7bee4f0340cc169620c5b91abd1f72b933289ef2dea0c5ba088673f2d1348d444f662e9f6c2638ee6dfd3e8df1fa8344bc7c48adf1a3a96d3f
 SHA512 
562acbf0e825ad41458c5b6065592a45b8bac92cd64b20619027fe4d0bec60a22c5191c7a7ed6b216d8cf5c9e027f58a6cdca69dd3a11ec6f6d348ef2f13bb38
 DIST sshuttle-1.0.3.tar.gz 79216 BLAKE2B 
fefc93654c4991bad54de6b156916ee656f7d460d609c5333b15c601e9b2b0169c1670e911988dfa8290a5bc1885d94f9ec9656066d2b13da0b4d53d9739297a
 SHA512 
22132dba0e6b7dd835f0af1368a5e8c3a95db66e11ffec9ec3cae72cc7ed4eec13580eeceb08071bee12cae8169852772578f8e29a69583cb79c71d350f474bb

diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
deleted file mode 100644
index 497f9299ed0..000
--- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
-
-inherit linux-info distutils-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   || ( net-firewall/iptables net-firewall/nftables )
-"
-DEPEND="
-   dev-python/sphinx
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
-
-python_prepare_all() {
-   # don't run tests via setup.py pytest
-   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
-
-   # don't require pytest-cov when running tests
-   sed -i "s/^addopts =/#\0/" setup.cfg || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   emake -j1 -C docs html man
-}
-
-python_test() {
-   py.test -v || die "Tests fail under ${EPYTHON}"
-}
-
-python_install_all() {
-   HTML_DOCS=( docs/_build/html/. )
-   doman docs/_build/man/*
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-09-20 Thread Agostino Sarubbo
commit: 453d43f8fc670347a6ce062bfd64321c421630b1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep 20 20:18:55 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 20 20:18:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=453d43f8

net-proxy/sshuttle: amd64 stable wrt bug #737520

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
index e30bce7ebe5..19f8b36a581 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 BDEPEND="
dev-python/sphinx



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-08-29 Thread Thomas Deutschmann
commit: b095af37e324402e039c7ff85f2b149e9af26064
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 30 01:29:00 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 30 01:32:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b095af37

net-proxy/sshuttle: x86 stable (bug #737520)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
index 6f5b0c2088b..e30bce7ebe5 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 BDEPEND="
dev-python/sphinx



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-08-02 Thread Sam James
commit: c6a1efe9b57c767235339ec6736ca95375bb0300
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug  2 23:07:46 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug  2 23:08:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a1efe9

net-proxy/sshuttle: modernise

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/sshuttle-1.0.3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
index 5ef1619ca36..6f5b0c2088b 100644
--- a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit distutils-r1 linux-info
@@ -13,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 BDEPEND="
dev-python/sphinx



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-08-02 Thread Sam James
commit: c867d5836c411c0117c5a5263f736bdad1e1f0a3
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug  2 22:49:07 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug  2 22:49:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c867d583

net-proxy/sshuttle: bump to 1.0.3

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-proxy/sshuttle/Manifest  |  1 +
 net-proxy/sshuttle/sshuttle-1.0.3.ebuild | 50 
 2 files changed, 51 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 10a76828e3f..8290f7a320c 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-0.78.5.tar.gz 74663 BLAKE2B 
47e295219c1ada7bee4f0340cc169620c5b91abd1f72b933289ef2dea0c5ba088673f2d1348d444f662e9f6c2638ee6dfd3e8df1fa8344bc7c48adf1a3a96d3f
 SHA512 
562acbf0e825ad41458c5b6065592a45b8bac92cd64b20619027fe4d0bec60a22c5191c7a7ed6b216d8cf5c9e027f58a6cdca69dd3a11ec6f6d348ef2f13bb38
+DIST sshuttle-1.0.3.tar.gz 79216 BLAKE2B 
fefc93654c4991bad54de6b156916ee656f7d460d609c5333b15c601e9b2b0169c1670e911988dfa8290a5bc1885d94f9ec9656066d2b13da0b4d53d9739297a
 SHA512 
22132dba0e6b7dd835f0af1368a5e8c3a95db66e11ffec9ec3cae72cc7ed4eec13580eeceb08071bee12cae8169852772578f8e29a69583cb79c71d350f474bb

diff --git a/net-proxy/sshuttle/sshuttle-1.0.3.ebuild 
b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
new file mode 100644
index 000..5ef1619ca36
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-1.0.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 linux-info
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   dev-python/sphinx
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="|| ( net-firewall/iptables net-firewall/nftables )"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   # don't require pytest-cov when running tests
+   sed -i "s/^addopts =/#\0/" setup.cfg || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   emake -j1 -C docs html man
+}
+
+python_install_all() {
+   HTML_DOCS=( docs/_build/html/. )
+   doman docs/_build/man/*
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2020-02-11 Thread Michał Górny
commit: f5376899ccdd817f6ce546ed6017ee970f59f952
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 12:07:11 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 12:16:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5376899

net-proxy/sshuttle: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
index 1d37cfea382..497f9299ed0 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 
 inherit linux-info distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2019-11-17 Thread Tim Harder
commit: 8f2addacc3038dbfc5b180493bbc09f3032b22a4
Author: Tim Harder  gentoo  org>
AuthorDate: Mon Nov 18 06:27:38 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Mon Nov 18 06:28:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f2addac

net-proxy/sshuttle: drop myself as a maintainer

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml
index 6956e63728a..7597a9dccda 100644
--- a/net-proxy/sshuttle/metadata.xml
+++ b/net-proxy/sshuttle/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-radher...@gentoo.org
-Tim Harder
-  
+  
   
 sshuttle
 sshuttle/sshuttle



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2019-08-14 Thread Tim Harder
commit: 588e3dad21a1a57e2c39adf8a24bf64c9100962e
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Aug 14 23:13:41 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Aug 14 23:14:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588e3dad

net-proxy/sshuttle: add missing conditional test RESTRICT

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
index a324fa29d3a..c495b1cc7f2 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2019-06-09 Thread Tim Harder
commit: 4edfe222d9a6a99f25d3ae0187d64215ce32d203
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Jun  9 21:28:40 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Jun  9 21:57:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4edfe222

net-proxy/sshuttle: don't require pytest-cov when running tests

Closes: https://bugs.gentoo.org/687696

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
index 5d058b48df7..a324fa29d3a 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
@@ -35,6 +35,9 @@ python_prepare_all() {
# don't run tests via setup.py pytest
sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
 
+   # don't require pytest-cov when running tests
+   sed -i "s/^addopts =/#\0/" setup.cfg || die
+
distutils-r1_python_prepare_all
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2019-04-02 Thread Tim Harder
commit: 51daae5923b4de395b14260f16d581bb31d393d6
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Apr  3 04:41:34 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Apr  3 04:41:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51daae59

net-proxy/sshuttle: remove old

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/Manifest   |  1 -
 net-proxy/sshuttle/sshuttle-0.78.4.ebuild | 53 ---
 2 files changed, 54 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 5b90e1b534a..10a76828e3f 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1 @@
-DIST sshuttle-0.78.4.tar.gz 72465 BLAKE2B 
655df610757e245b66db61955306908c8d1e41db7d093dc44d55260a34b30d4605973815c64d59a860974e9a268e3fcefbba41a104da5ad73f6a8a292bc64b80
 SHA512 
6e3e49a638ad56fbb00b197d33426f9ccb9afe3d71f8109eb886bc9047083100c910fef7cb42f0426246e585138ce996872179d23fca98afd9e9ccca376da1e6
 DIST sshuttle-0.78.5.tar.gz 74663 BLAKE2B 
47e295219c1ada7bee4f0340cc169620c5b91abd1f72b933289ef2dea0c5ba088673f2d1348d444f662e9f6c2638ee6dfd3e8df1fa8344bc7c48adf1a3a96d3f
 SHA512 
562acbf0e825ad41458c5b6065592a45b8bac92cd64b20619027fe4d0bec60a22c5191c7a7ed6b216d8cf5c9e027f58a6cdca69dd3a11ec6f6d348ef2f13bb38

diff --git a/net-proxy/sshuttle/sshuttle-0.78.4.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
deleted file mode 100644
index a4f04e43049..000
--- a/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
-
-inherit linux-info distutils-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-RDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   || ( net-firewall/iptables net-firewall/nftables )
-"
-DEPEND="
-   dev-python/sphinx
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
-
-python_prepare_all() {
-   # don't run tests via setup.py pytest
-   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   emake -j1 -C docs html man
-}
-
-python_test() {
-   py.test -v || die "Tests fail under ${EPYTHON}"
-}
-
-python_install_all() {
-   HTML_DOCS=( "${S}"/docs/_build/html/. )
-   doman "${S}"/docs/_build/man/*
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2019-04-02 Thread Tim Harder
commit: f3c5b140f77aa7f23371422868d6ffd4d3560d8c
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Apr  3 04:40:54 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Apr  3 04:40:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c5b140

net-proxy/sshuttle: stabilize 0.78.5

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
index ef640caf780..5d058b48df7 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2019-03-04 Thread Tim Harder
commit: 0a6145b0c52efe6a2ff9a3553ba32190936e683b
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Mar  1 23:25:00 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Mon Mar  4 08:28:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6145b0

net-proxy/sshuttle: version bump to 0.78.5

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/Manifest   |  1 +
 net-proxy/sshuttle/sshuttle-0.78.5.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 26c70d2d2da..5b90e1b534a 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-0.78.4.tar.gz 72465 BLAKE2B 
655df610757e245b66db61955306908c8d1e41db7d093dc44d55260a34b30d4605973815c64d59a860974e9a268e3fcefbba41a104da5ad73f6a8a292bc64b80
 SHA512 
6e3e49a638ad56fbb00b197d33426f9ccb9afe3d71f8109eb886bc9047083100c910fef7cb42f0426246e585138ce996872179d23fca98afd9e9ccca376da1e6
+DIST sshuttle-0.78.5.tar.gz 74663 BLAKE2B 
47e295219c1ada7bee4f0340cc169620c5b91abd1f72b933289ef2dea0c5ba088673f2d1348d444f662e9f6c2638ee6dfd3e8df1fa8344bc7c48adf1a3a96d3f
 SHA512 
562acbf0e825ad41458c5b6065592a45b8bac92cd64b20619027fe4d0bec60a22c5191c7a7ed6b216d8cf5c9e027f58a6cdca69dd3a11ec6f6d348ef2f13bb38

diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
new file mode 100644
index 000..ef640caf780
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+inherit linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   || ( net-firewall/iptables net-firewall/nftables )
+"
+DEPEND="
+   dev-python/sphinx
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+python_prepare_all() {
+   # don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   emake -j1 -C docs html man
+}
+
+python_test() {
+   py.test -v || die "Tests fail under ${EPYTHON}"
+}
+
+python_install_all() {
+   HTML_DOCS=( docs/_build/html/. )
+   doman docs/_build/man/*
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2018-12-28 Thread Tim Harder
commit: 6202304986b8ea544e220e99116d62fce6743572
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Dec 28 10:09:10 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Dec 28 10:12:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62023049

net-proxy/sshuttle: fix sphinx parallelism issue

Closes: https://bugs.gentoo.org/654578

And add python3_7 support.

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/sshuttle-0.78.4.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.4.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
index de0f9599f26..610a10d2bac 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
 
 inherit linux-info distutils-r1
 
@@ -39,7 +39,7 @@ python_prepare_all() {
 }
 
 python_compile_all() {
-   emake -C docs html man
+   emake -j1 -C docs html man
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/, net-proxy/sshuttle/files/

2018-12-28 Thread Tim Harder
commit: 04cf9c57fbc922d5234d677ad5fcc463900ad0e4
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Dec 28 10:10:32 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Dec 28 10:12:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04cf9c57

net-proxy/sshuttle: remove old

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/Manifest|  1 -
 .../files/sshuttle-0.78.3-remote-python.patch  | 70 --
 net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild   | 55 -
 3 files changed, 126 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index e40605347bd..26c70d2d2da 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1 @@
-DIST sshuttle-0.78.3.tar.gz 69460 BLAKE2B 
af6835ac6ca8d2d4d94f86067b2d9024ad531de2c35f07432f4b7319c5ff133349c8975a15d30486bf5cc0e9d9a71798ec2d3ecab943b5992f66b5c371b45de1
 SHA512 
581955d9868bdd369a37386b273d53448944b1fb5458a25d5930b348630521cadcaea8cf45371942f96c789889d2a405e8bbe824af3d0c6def73f017f1149a1e
 DIST sshuttle-0.78.4.tar.gz 72465 BLAKE2B 
655df610757e245b66db61955306908c8d1e41db7d093dc44d55260a34b30d4605973815c64d59a860974e9a268e3fcefbba41a104da5ad73f6a8a292bc64b80
 SHA512 
6e3e49a638ad56fbb00b197d33426f9ccb9afe3d71f8109eb886bc9047083100c910fef7cb42f0426246e585138ce996872179d23fca98afd9e9ccca376da1e6

diff --git a/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch 
b/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch
deleted file mode 100644
index c8138f73277..000
--- a/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 9b7ce2811ec3ef35b9b7f7dfc157127bc46ece47 Mon Sep 17 00:00:00 2001
-From: vieira 
-Date: Fri, 20 Oct 2017 22:52:06 +
-Subject: [PATCH] Use versions of python3 greater than 3.5 when available (e.g.
- 3.6)
-
-Some Linux distros, like Alpine, Arch, etc and some BSDs, like FreeBSD, are
-now shipping with python3.6 as the default python3. Both the client and the
-server are failing to run in this distros, because we are specifically looking
-for python3.5.
-
-These changes make the run shell script use python3 if the version is greater
-than 3.5, otherwise falling back as usual.
-
-On the server any version of python3 will do, use it before falling back to
-python, as the server code can run with any version of python3.

- run | 28 +---
- sshuttle/ssh.py |  2 +-
- 2 files changed, 18 insertions(+), 12 deletions(-)
-
-diff --git a/run b/run
-index ec2d3f0..a14d831 100755
 a/run
-+++ b/run
-@@ -1,11 +1,17 @@
--#!/bin/sh
--source_dir="$(dirname $0)"
--(cd "$source_dir" && "$source_dir/setup.py" --version > /dev/null)
--export PYTHONPATH="$source_dir:$PYTHONPATH"
--if python3.5 -V >/dev/null 2>&1; then
--  exec python3.5 -m "sshuttle" "$@"
--elif python2.7 -V >/dev/null 2>&1; then
--  exec python2.7 -m "sshuttle" "$@"
--else
--  exec python -m "sshuttle" "$@"
--fi
-+#!/usr/bin/env sh
-+set -e
-+export PYTHONPATH="$(dirname $0):$PYTHONPATH"
-+
-+python_best_version() {
-+  if [ -x "$(command -v python3)" ]; then
-+if python3 -c "import sys; sys.exit(not sys.version_info > (3, 5))"; then
-+  exec python3 "$@"
-+fi
-+  elif [ -x "$(command -v python2.7)" ]; then
-+exec python2.7 "$@"
-+  else
-+exec python "$@"
-+  fi
-+}
-+
-+python_best_version -m "sshuttle" "$@"
-diff --git a/sshuttle/ssh.py b/sshuttle/ssh.py
-index f4c84cc..a1f2997 100644
 a/sshuttle/ssh.py
-+++ b/sshuttle/ssh.py
-@@ -116,7 +116,7 @@ def connect(ssh_cmd, rhostport, python, stderr, options):
- if python:
- pycmd = "'%s' -c '%s'" % (python, pyscript)
- else:
--pycmd = ("P=python3.5; $P -V 2>/dev/null || P=python; "
-+pycmd = ("P=python3; $P -V 2>/dev/null || P=python; "
-  "exec \"$P\" -c %s") % quote(pyscript)
- pycmd = ("exec /bin/sh -c %s" % quote(pycmd))
- argv = (sshl +
--- 
-2.16.1
-

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild
deleted file mode 100644
index 1a4ce06c0fe..000
--- a/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-inherit linux-info distutils-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-RDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   net-firewall/iptables
-"
-DEPEND="
-   dev-python/sphinx
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2018-12-28 Thread Tim Harder
commit: 0fd116927c07eac22bcf5d77675836d95dcf69da
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Dec 28 10:10:00 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Dec 28 10:12:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd11692

net-proxy/sshuttle: stabilize 0.78.4

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/sshuttle/sshuttle-0.78.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.4.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
index 610a10d2bac..a4f04e43049 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2018-06-30 Thread Tim Harder
commit: c26c65f0baa0a846739be6187a73c03f33640154
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Jun 30 17:22:37 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Jun 30 17:34:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c26c65f0

net-proxy/sshuttle: version bump to 0.78.4

 net-proxy/sshuttle/Manifest   |  1 +
 net-proxy/sshuttle/sshuttle-0.78.4.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 87ebd6b5a4e..e40605347bd 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-0.78.3.tar.gz 69460 BLAKE2B 
af6835ac6ca8d2d4d94f86067b2d9024ad531de2c35f07432f4b7319c5ff133349c8975a15d30486bf5cc0e9d9a71798ec2d3ecab943b5992f66b5c371b45de1
 SHA512 
581955d9868bdd369a37386b273d53448944b1fb5458a25d5930b348630521cadcaea8cf45371942f96c789889d2a405e8bbe824af3d0c6def73f017f1149a1e
+DIST sshuttle-0.78.4.tar.gz 72465 BLAKE2B 
655df610757e245b66db61955306908c8d1e41db7d093dc44d55260a34b30d4605973815c64d59a860974e9a268e3fcefbba41a104da5ad73f6a8a292bc64b80
 SHA512 
6e3e49a638ad56fbb00b197d33426f9ccb9afe3d71f8109eb886bc9047083100c910fef7cb42f0426246e585138ce996872179d23fca98afd9e9ccca376da1e6

diff --git a/net-proxy/sshuttle/sshuttle-0.78.4.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
new file mode 100644
index 000..de0f9599f26
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.78.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+inherit linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.org/project/sshuttle/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   || ( net-firewall/iptables net-firewall/nftables )
+"
+DEPEND="
+   dev-python/sphinx
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+python_prepare_all() {
+   # don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   emake -C docs html man
+}
+
+python_test() {
+   py.test -v || die "Tests fail under ${EPYTHON}"
+}
+
+python_install_all() {
+   HTML_DOCS=( "${S}"/docs/_build/html/. )
+   doman "${S}"/docs/_build/man/*
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2018-03-23 Thread Tim Harder
commit: 2cd7a2dc7880b695c164e5ca15fdec9126feb2d2
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Mar 23 06:30:13 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Mar 23 06:39:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd7a2dc

net-proxy/sshuttle: remove old

 net-proxy/sshuttle/sshuttle-0.78.3.ebuild | 42 ---
 1 file changed, 42 deletions(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
deleted file mode 100644
index b627c1c8e0c..000
--- a/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-inherit linux-info distutils-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-RDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   net-firewall/iptables
-"
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
-
-python_prepare_all() {
-   # don't run tests via setup.py pytest
-   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   py.test || die "Tests fail under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2018-03-23 Thread Tim Harder
commit: 35a938298bc9a3a7e1036416e0a982c4674232aa
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Mar 23 06:29:48 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Mar 23 06:39:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a93829

net-proxy/sshuttle: stabilize 0.78.3-r2

 net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild
index 254601915e1..6d1d9030054 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/, net-proxy/sshuttle/files/

2018-02-06 Thread Tim Harder
commit: d53245ce5666e61659ee995ff3645b26fcc5cbbb
Author: Tim Harder  gentoo  org>
AuthorDate: Tue Feb  6 09:56:59 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Tue Feb  6 10:25:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53245ce

net-proxy/sshuttle: use upstream python3 patch

 .../files/sshuttle-0.78.3-remote-python.patch  | 67 --
 ...-0.78.3-r1.ebuild => sshuttle-0.78.3-r2.ebuild} |  0
 2 files changed, 62 insertions(+), 5 deletions(-)

diff --git a/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch 
b/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch
index d7404fd45b0..c8138f73277 100644
--- a/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch
+++ b/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch
@@ -1,13 +1,70 @@
-Check for more generic remote python versions.
+From 9b7ce2811ec3ef35b9b7f7dfc157127bc46ece47 Mon Sep 17 00:00:00 2001
+From: vieira 
+Date: Fri, 20 Oct 2017 22:52:06 +
+Subject: [PATCH] Use versions of python3 greater than 3.5 when available (e.g.
+ 3.6)
 
 sshuttle-0.78.3/sshuttle/ssh.py
-+++ sshuttle-0.78.3/sshuttle/ssh.py
-@@ -116,7 +116,7 @@
+Some Linux distros, like Alpine, Arch, etc and some BSDs, like FreeBSD, are
+now shipping with python3.6 as the default python3. Both the client and the
+server are failing to run in this distros, because we are specifically looking
+for python3.5.
+
+These changes make the run shell script use python3 if the version is greater
+than 3.5, otherwise falling back as usual.
+
+On the server any version of python3 will do, use it before falling back to
+python, as the server code can run with any version of python3.
+---
+ run | 28 +---
+ sshuttle/ssh.py |  2 +-
+ 2 files changed, 18 insertions(+), 12 deletions(-)
+
+diff --git a/run b/run
+index ec2d3f0..a14d831 100755
+--- a/run
 b/run
+@@ -1,11 +1,17 @@
+-#!/bin/sh
+-source_dir="$(dirname $0)"
+-(cd "$source_dir" && "$source_dir/setup.py" --version > /dev/null)
+-export PYTHONPATH="$source_dir:$PYTHONPATH"
+-if python3.5 -V >/dev/null 2>&1; then
+-  exec python3.5 -m "sshuttle" "$@"
+-elif python2.7 -V >/dev/null 2>&1; then
+-  exec python2.7 -m "sshuttle" "$@"
+-else
+-  exec python -m "sshuttle" "$@"
+-fi
++#!/usr/bin/env sh
++set -e
++export PYTHONPATH="$(dirname $0):$PYTHONPATH"
++
++python_best_version() {
++  if [ -x "$(command -v python3)" ]; then
++if python3 -c "import sys; sys.exit(not sys.version_info > (3, 5))"; then
++  exec python3 "$@"
++fi
++  elif [ -x "$(command -v python2.7)" ]; then
++exec python2.7 "$@"
++  else
++exec python "$@"
++  fi
++}
++
++python_best_version -m "sshuttle" "$@"
+diff --git a/sshuttle/ssh.py b/sshuttle/ssh.py
+index f4c84cc..a1f2997 100644
+--- a/sshuttle/ssh.py
 b/sshuttle/ssh.py
+@@ -116,7 +116,7 @@ def connect(ssh_cmd, rhostport, python, stderr, options):
  if python:
  pycmd = "'%s' -c '%s'" % (python, pyscript)
  else:
 -pycmd = ("P=python3.5; $P -V 2>/dev/null || P=python; "
-+pycmd = ("P=python3; $P -V 2>/dev/null || P=python2; $P -V 
2>/dev/null || P=python; "
++pycmd = ("P=python3; $P -V 2>/dev/null || P=python; "
   "exec \"$P\" -c %s") % quote(pyscript)
  pycmd = ("exec /bin/sh -c %s" % quote(pycmd))
  argv = (sshl +
+-- 
+2.16.1
+

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild
similarity index 100%
rename from net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild
rename to net-proxy/sshuttle/sshuttle-0.78.3-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2018-02-05 Thread Tim Harder
commit: 3838105b77316a45453dea09dda8cd8f4e9ba919
Author: Tim Harder  gentoo  org>
AuthorDate: Tue Feb  6 03:01:20 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Tue Feb  6 03:17:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3838105b

net-proxy/sshuttle: initial docs and man page

 net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild | 53 
 1 file changed, 53 insertions(+)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild
new file mode 100644
index 000..49502d96180
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+inherit linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   dev-python/sphinx
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+python_prepare_all() {
+   # don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   emake -C docs html man
+}
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}
+
+python_install_all() {
+   HTML_DOCS=( "${S}"/docs/_build/html/. )
+   doman "${S}"/docs/_build/man/*
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/, net-proxy/sshuttle/files/

2018-02-05 Thread Tim Harder
commit: bb1f8408db50c4ea99c48cd41eafcc98c0460be0
Author: Tim Harder  gentoo  org>
AuthorDate: Tue Feb  6 03:15:57 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Tue Feb  6 03:17:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb1f8408

net-proxy/sshuttle: check for more generic remote python versions

 .../sshuttle/files/sshuttle-0.78.3-remote-python.patch  | 13 +
 net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild|  2 ++
 2 files changed, 15 insertions(+)

diff --git a/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch 
b/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch
new file mode 100644
index 000..d7404fd45b0
--- /dev/null
+++ b/net-proxy/sshuttle/files/sshuttle-0.78.3-remote-python.patch
@@ -0,0 +1,13 @@
+Check for more generic remote python versions.
+
+--- sshuttle-0.78.3/sshuttle/ssh.py
 sshuttle-0.78.3/sshuttle/ssh.py
+@@ -116,7 +116,7 @@
+ if python:
+ pycmd = "'%s' -c '%s'" % (python, pyscript)
+ else:
+-pycmd = ("P=python3.5; $P -V 2>/dev/null || P=python; "
++pycmd = ("P=python3; $P -V 2>/dev/null || P=python2; $P -V 
2>/dev/null || P=python; "
+  "exec \"$P\" -c %s") % quote(pyscript)
+ pycmd = ("exec /bin/sh -c %s" % quote(pycmd))
+ argv = (sshl +

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild
index 49502d96180..254601915e1 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.3-r1.ebuild
@@ -31,6 +31,8 @@ DEPEND="
 
 CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
 
+PATCHES=( "${FILESDIR}"/${P}-remote-python.patch )
+
 python_prepare_all() {
# don't run tests via setup.py pytest
sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2017-08-31 Thread Tim Harder
commit: 039231094e41b7d8f517de7b90f0b87d81affb9f
Author: Tim Harder  gentoo  org>
AuthorDate: Thu Aug 31 14:06:49 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Thu Aug 31 14:30:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03923109

net-proxy/sshuttle: remove old

 net-proxy/sshuttle/Manifest   |  1 -
 net-proxy/sshuttle/sshuttle-0.78.1.ebuild | 42 ---
 2 files changed, 43 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 37a630dd96f..5c546b61a9a 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1 @@
-DIST sshuttle-0.78.1.tar.gz 67173 SHA256 
03a71648ce476de06a075bd9a972492d494b414ae51304bf535b80ff22be2d3c SHA512 
506b01f20d152e97a41c93299f47d6bba4d7f9fda11e066aca3d79426be68790ff30a3a081ea05ca538aba921ed69e711b672fcfd9084aba6bdae6498beb7e8d
 WHIRLPOOL 
d356bf17ba5f6f01351dc316745af3fd07237160340f675e1ecef52d73cb15caf4c5eee65d1ed56ea4008081623362688957f268da30d487d5aa6be02632ddda
 DIST sshuttle-0.78.3.tar.gz 69460 SHA256 
8aa31a645e6532d381d0298071960845fbdfa5c7683649a765a7ac7360c1be8b SHA512 
581955d9868bdd369a37386b273d53448944b1fb5458a25d5930b348630521cadcaea8cf45371942f96c789889d2a405e8bbe824af3d0c6def73f017f1149a1e
 WHIRLPOOL 
33e1f57ecefcce46240569554e623ae0865cc034232735b4361baf6e43f027b2b2be6ef54120944d3eb7281baecc376cd2a4cbede3b51d2bb8340eeb5e40a89c

diff --git a/net-proxy/sshuttle/sshuttle-0.78.1.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.1.ebuild
deleted file mode 100644
index 7f0c384782c..000
--- a/net-proxy/sshuttle/sshuttle-0.78.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5} )
-
-inherit linux-info distutils-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-RDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   net-firewall/iptables
-"
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
-
-python_prepare_all() {
-   # don't run tests via setup.py pytest
-   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   py.test || die "Tests fail under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2017-08-31 Thread Tim Harder
commit: 402810ebbc6463261d87414036f89f6f0a12ddb0
Author: Tim Harder  gentoo  org>
AuthorDate: Thu Aug 31 14:06:35 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Thu Aug 31 14:30:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402810eb

net-proxy/sshuttle: stabilize 0.78.3

 net-proxy/sshuttle/sshuttle-0.78.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
index 7afb04c1fa0..b627c1c8e0c 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2017-07-28 Thread Tim Harder
commit: 6e9a8e31660f7ec2d818ba19d74d196bcf6a3d9e
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Jul 29 04:49:29 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Jul 29 04:51:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e9a8e31

net-proxy/sshuttle: version bump to 0.78.3

 net-proxy/sshuttle/Manifest   |  1 +
 net-proxy/sshuttle/sshuttle-0.78.3.ebuild | 42 +++
 2 files changed, 43 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index d8cd79c2f66..37a630dd96f 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-0.78.1.tar.gz 67173 SHA256 
03a71648ce476de06a075bd9a972492d494b414ae51304bf535b80ff22be2d3c SHA512 
506b01f20d152e97a41c93299f47d6bba4d7f9fda11e066aca3d79426be68790ff30a3a081ea05ca538aba921ed69e711b672fcfd9084aba6bdae6498beb7e8d
 WHIRLPOOL 
d356bf17ba5f6f01351dc316745af3fd07237160340f675e1ecef52d73cb15caf4c5eee65d1ed56ea4008081623362688957f268da30d487d5aa6be02632ddda
+DIST sshuttle-0.78.3.tar.gz 69460 SHA256 
8aa31a645e6532d381d0298071960845fbdfa5c7683649a765a7ac7360c1be8b SHA512 
581955d9868bdd369a37386b273d53448944b1fb5458a25d5930b348630521cadcaea8cf45371942f96c789889d2a405e8bbe824af3d0c6def73f017f1149a1e
 WHIRLPOOL 
33e1f57ecefcce46240569554e623ae0865cc034232735b4361baf6e43f027b2b2be6ef54120944d3eb7281baecc376cd2a4cbede3b51d2bb8340eeb5e40a89c

diff --git a/net-proxy/sshuttle/sshuttle-0.78.3.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
new file mode 100644
index 000..7afb04c1fa0
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+inherit linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL 
~NF_NAT"
+
+python_prepare_all() {
+   # don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-11-22 Thread Tim Harder
commit: 14e592fbfe41261240d303fd3bdf6a4fca0336ce
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Nov 23 05:14:05 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Nov 23 05:14:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e592fb

net-proxy/sshuttle: stabilize 0.78.1

 net-proxy/sshuttle/sshuttle-0.78.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.1.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.1.ebuild
index cb49965..d513456 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.1.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-11-22 Thread Tim Harder
commit: 43d112d2f8ea8ccf170451e5cef28fcaf5ef6353
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Nov 23 05:14:23 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Nov 23 05:14:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d112d2

net-proxy/sshuttle: remove old

 net-proxy/sshuttle/Manifest   |  1 -
 net-proxy/sshuttle/sshuttle-0.78.0.ebuild | 36 ---
 2 files changed, 37 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index a4b01bd..d8cd79c 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1 @@
-DIST sshuttle-0.78.0.tar.gz 63391 SHA256 
6bd80d48f73eb04d4449a8aa636081704107cfdef05980b3b02166ff44e419a2 SHA512 
e4ecb09e79905c1be6d3d7935863231c54bd68144fbb1ca38af29d5efb35c42261db4319368d5c83474ed9714859b04012c9ad4108a77d283a0a041356f90cbd
 WHIRLPOOL 
9f7c0ea7be81b4605ee4e9c14be1bc309fc273cc367be348a64f04569e5505888a12350e0ac07415edc541539dfdc3c3a5c6ac90421189dd6c6567ccc2131b37
 DIST sshuttle-0.78.1.tar.gz 67173 SHA256 
03a71648ce476de06a075bd9a972492d494b414ae51304bf535b80ff22be2d3c SHA512 
506b01f20d152e97a41c93299f47d6bba4d7f9fda11e066aca3d79426be68790ff30a3a081ea05ca538aba921ed69e711b672fcfd9084aba6bdae6498beb7e8d
 WHIRLPOOL 
d356bf17ba5f6f01351dc316745af3fd07237160340f675e1ecef52d73cb15caf4c5eee65d1ed56ea4008081623362688957f268da30d487d5aa6be02632ddda

diff --git a/net-proxy/sshuttle/sshuttle-0.78.0.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.0.ebuild
deleted file mode 100644
index 1f67d11..
--- a/net-proxy/sshuttle/sshuttle-0.78.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5} )
-
-inherit eutils linux-info distutils-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-RDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   net-firewall/iptables
-"
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
-
-python_test() {
-   py.test || die "Tests fail under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-08-09 Thread Tim Harder
commit: 2f13af6b351d09119f3264bae39ef185eedf145b
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Aug 10 03:00:55 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Aug 10 03:02:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f13af6b

net-proxy/sshuttle: version bump to 0.78.1

 net-proxy/sshuttle/Manifest   |  1 +
 net-proxy/sshuttle/sshuttle-0.78.1.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index bb119f6..a4b01bd 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-0.78.0.tar.gz 63391 SHA256 
6bd80d48f73eb04d4449a8aa636081704107cfdef05980b3b02166ff44e419a2 SHA512 
e4ecb09e79905c1be6d3d7935863231c54bd68144fbb1ca38af29d5efb35c42261db4319368d5c83474ed9714859b04012c9ad4108a77d283a0a041356f90cbd
 WHIRLPOOL 
9f7c0ea7be81b4605ee4e9c14be1bc309fc273cc367be348a64f04569e5505888a12350e0ac07415edc541539dfdc3c3a5c6ac90421189dd6c6567ccc2131b37
+DIST sshuttle-0.78.1.tar.gz 67173 SHA256 
03a71648ce476de06a075bd9a972492d494b414ae51304bf535b80ff22be2d3c SHA512 
506b01f20d152e97a41c93299f47d6bba4d7f9fda11e066aca3d79426be68790ff30a3a081ea05ca538aba921ed69e711b672fcfd9084aba6bdae6498beb7e8d
 WHIRLPOOL 
d356bf17ba5f6f01351dc316745af3fd07237160340f675e1ecef52d73cb15caf4c5eee65d1ed56ea4008081623362688957f268da30d487d5aa6be02632ddda

diff --git a/net-proxy/sshuttle/sshuttle-0.78.1.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.1.ebuild
new file mode 100644
index 000..cb49965
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.78.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_5} )
+
+inherit linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
+
+python_prepare_all() {
+   # don't run tests via setup.py pytest
+   sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-08-06 Thread Tim Harder
commit: cb0ff0869b89b91904f6f0024b7706037fe36b39
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Aug  6 07:30:32 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Aug  6 07:32:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0ff086

net-proxy/sshuttle: stabilize 0.78

 net-proxy/sshuttle/sshuttle-0.78.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/sshuttle-0.78.0.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.0.ebuild
index 1d06a7c..1f67d11 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.0.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.78.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-08-06 Thread Tim Harder
commit: 781f15364cd47fcfce254794682c9cc5fb888c20
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Aug  6 07:31:22 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Aug  6 07:32:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=781f1536

net-proxy/sshuttle: remove old

 net-proxy/sshuttle/Manifest|  5 
 net-proxy/sshuttle/sshuttle-0.61-r3.ebuild | 40 --
 net-proxy/sshuttle/sshuttle-0.73.ebuild| 34 -
 net-proxy/sshuttle/sshuttle-0.75.ebuild| 34 -
 net-proxy/sshuttle/sshuttle-0.76.ebuild| 35 --
 net-proxy/sshuttle/sshuttle-0.77.2.ebuild  | 36 ---
 6 files changed, 184 deletions(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index b08ac1b..bb119f6 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,6 +1 @@
-DIST sshuttle-0.61.tar.xz 181528 SHA256 
78cea312c4bab6f6baa459131cb7739d9fae7d0df9e54efd48fc4ddd852042f5 SHA512 
39687ecf0a9b78cc0f7dc576c3c036f5afb52050f17d793602e50c8a9ab8bb0f9eb3277cb2fffb1e9c0f5f652d96c6915aecf8a8da93697172d8cbef1161a986
 WHIRLPOOL 
9c8597d98306730fcab750094588310c03bafea473b54a2758e055a7bb4bb851b3edad4d2cf2995893a30ed4148b7fd8437820099042ff6c7c52a0dc279d6ebc
-DIST sshuttle-0.73.tar.gz 53321 SHA256 
d78a6aa76f93ab69fd9685ce11b428a9b549c049a6c0104740c06c9b354a5ae3 SHA512 
75bef9f0472cf648454fbde6d6fb14e0656e5d84896cf3295e8535a4cf6859bdafd0053d65ebb673da46e0bcb422dd1a615deef026c2eefd67a4702e70dd3660
 WHIRLPOOL 
c07745df347e68326e211939db0fb8f0eac862cd7f1035b4e3424f3ad6bc9509a558508e8af77e2aaef290e694d871227d3f5a569ae444bc67457419a988b9f1
-DIST sshuttle-0.75.tar.gz 52736 SHA256 
63714287d8f9128eefafe4e1b9fc9c8367490f9d074a2b2ff2f555c46ff794b2 SHA512 
caa1d2de2c1622086c00b1686dca14a975944cc91d6c9f0a9610060304b638609290e34bb9e719c2aadfc1f4f6eca151c769bb0cae7fe2ff74e67979e5949a24
 WHIRLPOOL 
cc10efdbf5ce91ad308a72660595e84e78869168d2d8203065aa77d2c63a17f9075bacfade2ea74e73a358e42f989e48a3963232b8c68f88088f0858835c5023
-DIST sshuttle-0.76.tar.gz 61706 SHA256 
0b915dee37b203109930868465f4ae0389605cd5cde256381b62ef0637c810e0 SHA512 
9a5cb401cef8f0bec3a9c9704ec87557196adadf6b8778c37473bffbf3b52100701e838a840a601b3fc6732ee3907fe25e2fb3ad5fe4e8f1776e35074cfb30cb
 WHIRLPOOL 
4bf79bfa083e4bcb1e6cb68923267216971b915bb562d0c74c6d082d227e6ccc3b2966ec1770c9abc41ece8c50f8cc784d2d22fb90e5b0272b9356d7a16d3905
-DIST sshuttle-0.77.2.tar.gz 63603 SHA256 
20cc93802bded9efef1efb89a044abd7ef585cafc4da62b4bd83de944b8694bb SHA512 
fba646528e91822709658674c770d24f1c20b9a678120442f0fdac422a553b0bf01ffd358a7874639eec6c272466f5a3fe8226c3d7b991f2d63c488a513f23ef
 WHIRLPOOL 
cc516641edf815b98ef340701cb58616596e99577868667a75063cbf212dc962d7dd50d39c0cf3fc8a0f644b263af2bbba51d1ba9facad8f9143b4465aec8a23
 DIST sshuttle-0.78.0.tar.gz 63391 SHA256 
6bd80d48f73eb04d4449a8aa636081704107cfdef05980b3b02166ff44e419a2 SHA512 
e4ecb09e79905c1be6d3d7935863231c54bd68144fbb1ca38af29d5efb35c42261db4319368d5c83474ed9714859b04012c9ad4108a77d283a0a041356f90cbd
 WHIRLPOOL 
9f7c0ea7be81b4605ee4e9c14be1bc309fc273cc367be348a64f04569e5505888a12350e0ac07415edc541539dfdc3c3a5c6ac90421189dd6c6567ccc2131b37

diff --git a/net-proxy/sshuttle/sshuttle-0.61-r3.ebuild 
b/net-proxy/sshuttle/sshuttle-0.61-r3.ebuild
deleted file mode 100644
index ba36261..000
--- a/net-proxy/sshuttle/sshuttle-0.61-r3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils linux-info python-single-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/apenwarr/sshuttle/;
-SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="app-arch/xz-utils"
-RDEPEND="net-firewall/iptables"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
-
-pkg_setup() {
-   linux-info_pkg_setup
-   python-single-r1_pkg_setup
-}
-
-src_compile() { :; }
-
-src_install() {
-   rm stresstest.py || die
-   python_moduleinto ${PN}
-   python_domodule *.py compat
-   python_optimize
-
-   make_wrapper ${PN} "${EPYTHON} $(python_get_sitedir)/${PN}/main.py 
${EPYTHON}"
-
-   dodoc README.md
-   doman Documentation/${PN}.8
-}

diff --git a/net-proxy/sshuttle/sshuttle-0.73.ebuild 
b/net-proxy/sshuttle/sshuttle-0.73.ebuild
deleted file mode 100644
index 1ff6ebf..000
--- a/net-proxy/sshuttle/sshuttle-0.73.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5} )
-
-inherit eutils linux-info distutils-r1
-
-DESCRIPTION="Transparent proxy server that works as a poor 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-04-07 Thread Tim Harder
commit: aedf8ac8807136a8ae9a144b92be013cab4522e4
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Apr  8 05:13:35 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Apr  8 05:14:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedf8ac8

net-proxy/sshuttle: version bump to 0.78.0

 net-proxy/sshuttle/Manifest   |  1 +
 net-proxy/sshuttle/sshuttle-0.78.0.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index e961d46..b08ac1b 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -3,3 +3,4 @@ DIST sshuttle-0.73.tar.gz 53321 SHA256 
d78a6aa76f93ab69fd9685ce11b428a9b549c049a
 DIST sshuttle-0.75.tar.gz 52736 SHA256 
63714287d8f9128eefafe4e1b9fc9c8367490f9d074a2b2ff2f555c46ff794b2 SHA512 
caa1d2de2c1622086c00b1686dca14a975944cc91d6c9f0a9610060304b638609290e34bb9e719c2aadfc1f4f6eca151c769bb0cae7fe2ff74e67979e5949a24
 WHIRLPOOL 
cc10efdbf5ce91ad308a72660595e84e78869168d2d8203065aa77d2c63a17f9075bacfade2ea74e73a358e42f989e48a3963232b8c68f88088f0858835c5023
 DIST sshuttle-0.76.tar.gz 61706 SHA256 
0b915dee37b203109930868465f4ae0389605cd5cde256381b62ef0637c810e0 SHA512 
9a5cb401cef8f0bec3a9c9704ec87557196adadf6b8778c37473bffbf3b52100701e838a840a601b3fc6732ee3907fe25e2fb3ad5fe4e8f1776e35074cfb30cb
 WHIRLPOOL 
4bf79bfa083e4bcb1e6cb68923267216971b915bb562d0c74c6d082d227e6ccc3b2966ec1770c9abc41ece8c50f8cc784d2d22fb90e5b0272b9356d7a16d3905
 DIST sshuttle-0.77.2.tar.gz 63603 SHA256 
20cc93802bded9efef1efb89a044abd7ef585cafc4da62b4bd83de944b8694bb SHA512 
fba646528e91822709658674c770d24f1c20b9a678120442f0fdac422a553b0bf01ffd358a7874639eec6c272466f5a3fe8226c3d7b991f2d63c488a513f23ef
 WHIRLPOOL 
cc516641edf815b98ef340701cb58616596e99577868667a75063cbf212dc962d7dd50d39c0cf3fc8a0f644b263af2bbba51d1ba9facad8f9143b4465aec8a23
+DIST sshuttle-0.78.0.tar.gz 63391 SHA256 
6bd80d48f73eb04d4449a8aa636081704107cfdef05980b3b02166ff44e419a2 SHA512 
e4ecb09e79905c1be6d3d7935863231c54bd68144fbb1ca38af29d5efb35c42261db4319368d5c83474ed9714859b04012c9ad4108a77d283a0a041356f90cbd
 WHIRLPOOL 
9f7c0ea7be81b4605ee4e9c14be1bc309fc273cc367be348a64f04569e5505888a12350e0ac07415edc541539dfdc3c3a5c6ac90421189dd6c6567ccc2131b37

diff --git a/net-proxy/sshuttle/sshuttle-0.78.0.ebuild 
b/net-proxy/sshuttle/sshuttle-0.78.0.ebuild
new file mode 100644
index 000..1d06a7c
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.78.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_5} )
+
+inherit eutils linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-03-11 Thread Tim Harder
commit: 7e8eab4c140fd4899c7f21cd62260cb4bb273729
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Mar 12 07:03:08 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Mar 12 07:03:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e8eab4c

net-proxy/sshuttle: add bdep on setuptools

 net-proxy/sshuttle/sshuttle-0.77.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-proxy/sshuttle/sshuttle-0.77.2.ebuild 
b/net-proxy/sshuttle/sshuttle-0.77.2.ebuild
index 98744d0..1d06a7c 100644
--- a/net-proxy/sshuttle/sshuttle-0.77.2.ebuild
+++ b/net-proxy/sshuttle/sshuttle-0.77.2.ebuild
@@ -21,6 +21,7 @@ RDEPEND="
net-firewall/iptables
 "
 DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-03-11 Thread Tim Harder
commit: 95928ba53638f9ed350a8a19c642af36d5a93c22
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Mar 12 06:59:43 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Mar 12 06:59:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95928ba5

net-proxy/sshuttle: version bump to 0.77.2

 net-proxy/sshuttle/Manifest   |  1 +
 net-proxy/sshuttle/sshuttle-0.77.2.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 9e47de6..e961d46 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -2,3 +2,4 @@ DIST sshuttle-0.61.tar.xz 181528 SHA256 
78cea312c4bab6f6baa459131cb7739d9fae7d0d
 DIST sshuttle-0.73.tar.gz 53321 SHA256 
d78a6aa76f93ab69fd9685ce11b428a9b549c049a6c0104740c06c9b354a5ae3 SHA512 
75bef9f0472cf648454fbde6d6fb14e0656e5d84896cf3295e8535a4cf6859bdafd0053d65ebb673da46e0bcb422dd1a615deef026c2eefd67a4702e70dd3660
 WHIRLPOOL 
c07745df347e68326e211939db0fb8f0eac862cd7f1035b4e3424f3ad6bc9509a558508e8af77e2aaef290e694d871227d3f5a569ae444bc67457419a988b9f1
 DIST sshuttle-0.75.tar.gz 52736 SHA256 
63714287d8f9128eefafe4e1b9fc9c8367490f9d074a2b2ff2f555c46ff794b2 SHA512 
caa1d2de2c1622086c00b1686dca14a975944cc91d6c9f0a9610060304b638609290e34bb9e719c2aadfc1f4f6eca151c769bb0cae7fe2ff74e67979e5949a24
 WHIRLPOOL 
cc10efdbf5ce91ad308a72660595e84e78869168d2d8203065aa77d2c63a17f9075bacfade2ea74e73a358e42f989e48a3963232b8c68f88088f0858835c5023
 DIST sshuttle-0.76.tar.gz 61706 SHA256 
0b915dee37b203109930868465f4ae0389605cd5cde256381b62ef0637c810e0 SHA512 
9a5cb401cef8f0bec3a9c9704ec87557196adadf6b8778c37473bffbf3b52100701e838a840a601b3fc6732ee3907fe25e2fb3ad5fe4e8f1776e35074cfb30cb
 WHIRLPOOL 
4bf79bfa083e4bcb1e6cb68923267216971b915bb562d0c74c6d082d227e6ccc3b2966ec1770c9abc41ece8c50f8cc784d2d22fb90e5b0272b9356d7a16d3905
+DIST sshuttle-0.77.2.tar.gz 63603 SHA256 
20cc93802bded9efef1efb89a044abd7ef585cafc4da62b4bd83de944b8694bb SHA512 
fba646528e91822709658674c770d24f1c20b9a678120442f0fdac422a553b0bf01ffd358a7874639eec6c272466f5a3fe8226c3d7b991f2d63c488a513f23ef
 WHIRLPOOL 
cc516641edf815b98ef340701cb58616596e99577868667a75063cbf212dc962d7dd50d39c0cf3fc8a0f644b263af2bbba51d1ba9facad8f9143b4465aec8a23

diff --git a/net-proxy/sshuttle/sshuttle-0.77.2.ebuild 
b/net-proxy/sshuttle/sshuttle-0.77.2.ebuild
new file mode 100644
index 000..98744d0
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.77.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_5} )
+
+inherit eutils linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-01-18 Thread Tim Harder
commit: fe4909d8f2d5d5f88eccc8360fe5e2ed9e059ea7
Author: Tim Harder  gentoo  org>
AuthorDate: Tue Jan 19 04:28:12 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Tue Jan 19 04:28:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4909d8

net-proxy/sshuttle: version bump to 0.76

 net-proxy/sshuttle/Manifest |  1 +
 net-proxy/sshuttle/sshuttle-0.76.ebuild | 35 +
 2 files changed, 36 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index ba1dd05..9e47de6 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,3 +1,4 @@
 DIST sshuttle-0.61.tar.xz 181528 SHA256 
78cea312c4bab6f6baa459131cb7739d9fae7d0df9e54efd48fc4ddd852042f5 SHA512 
39687ecf0a9b78cc0f7dc576c3c036f5afb52050f17d793602e50c8a9ab8bb0f9eb3277cb2fffb1e9c0f5f652d96c6915aecf8a8da93697172d8cbef1161a986
 WHIRLPOOL 
9c8597d98306730fcab750094588310c03bafea473b54a2758e055a7bb4bb851b3edad4d2cf2995893a30ed4148b7fd8437820099042ff6c7c52a0dc279d6ebc
 DIST sshuttle-0.73.tar.gz 53321 SHA256 
d78a6aa76f93ab69fd9685ce11b428a9b549c049a6c0104740c06c9b354a5ae3 SHA512 
75bef9f0472cf648454fbde6d6fb14e0656e5d84896cf3295e8535a4cf6859bdafd0053d65ebb673da46e0bcb422dd1a615deef026c2eefd67a4702e70dd3660
 WHIRLPOOL 
c07745df347e68326e211939db0fb8f0eac862cd7f1035b4e3424f3ad6bc9509a558508e8af77e2aaef290e694d871227d3f5a569ae444bc67457419a988b9f1
 DIST sshuttle-0.75.tar.gz 52736 SHA256 
63714287d8f9128eefafe4e1b9fc9c8367490f9d074a2b2ff2f555c46ff794b2 SHA512 
caa1d2de2c1622086c00b1686dca14a975944cc91d6c9f0a9610060304b638609290e34bb9e719c2aadfc1f4f6eca151c769bb0cae7fe2ff74e67979e5949a24
 WHIRLPOOL 
cc10efdbf5ce91ad308a72660595e84e78869168d2d8203065aa77d2c63a17f9075bacfade2ea74e73a358e42f989e48a3963232b8c68f88088f0858835c5023
+DIST sshuttle-0.76.tar.gz 61706 SHA256 
0b915dee37b203109930868465f4ae0389605cd5cde256381b62ef0637c810e0 SHA512 
9a5cb401cef8f0bec3a9c9704ec87557196adadf6b8778c37473bffbf3b52100701e838a840a601b3fc6732ee3907fe25e2fb3ad5fe4e8f1776e35074cfb30cb
 WHIRLPOOL 
4bf79bfa083e4bcb1e6cb68923267216971b915bb562d0c74c6d082d227e6ccc3b2966ec1770c9abc41ece8c50f8cc784d2d22fb90e5b0272b9356d7a16d3905

diff --git a/net-proxy/sshuttle/sshuttle-0.76.ebuild 
b/net-proxy/sshuttle/sshuttle-0.76.ebuild
new file mode 100644
index 000..98744d0
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.76.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_5} )
+
+inherit eutils linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle 
https://pypi.python.org/pypi/sshuttle;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-01-18 Thread Tim Harder
commit: 48e721b6ca5e1d45de623c4f154a95791b021048
Author: Tim Harder  gentoo  org>
AuthorDate: Tue Jan 19 04:44:25 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Tue Jan 19 04:44:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e721b6

net-proxy/sshuttle: add pypi to metadata

 net-proxy/sshuttle/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml
index f932a94..1d3aaf4 100644
--- a/net-proxy/sshuttle/metadata.xml
+++ b/net-proxy/sshuttle/metadata.xml
@@ -6,6 +6,7 @@
 Tim Harder
   
   
+sshuttle
 sshuttle/sshuttle
   
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-01-13 Thread Tim Harder
commit: 73ada10da466188c15d743c333ef1b1fff637737
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Jan 13 21:53:18 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Jan 13 21:57:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ada10d

net-proxy/sshuttle: version bump to 0.75 and remove old

0.74 had a broken entry point.

 net-proxy/sshuttle/Manifest   | 2 +-
 net-proxy/sshuttle/{sshuttle-0.74.ebuild => sshuttle-0.75.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 88eae0a..ba1dd05 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,3 +1,3 @@
 DIST sshuttle-0.61.tar.xz 181528 SHA256 
78cea312c4bab6f6baa459131cb7739d9fae7d0df9e54efd48fc4ddd852042f5 SHA512 
39687ecf0a9b78cc0f7dc576c3c036f5afb52050f17d793602e50c8a9ab8bb0f9eb3277cb2fffb1e9c0f5f652d96c6915aecf8a8da93697172d8cbef1161a986
 WHIRLPOOL 
9c8597d98306730fcab750094588310c03bafea473b54a2758e055a7bb4bb851b3edad4d2cf2995893a30ed4148b7fd8437820099042ff6c7c52a0dc279d6ebc
 DIST sshuttle-0.73.tar.gz 53321 SHA256 
d78a6aa76f93ab69fd9685ce11b428a9b549c049a6c0104740c06c9b354a5ae3 SHA512 
75bef9f0472cf648454fbde6d6fb14e0656e5d84896cf3295e8535a4cf6859bdafd0053d65ebb673da46e0bcb422dd1a615deef026c2eefd67a4702e70dd3660
 WHIRLPOOL 
c07745df347e68326e211939db0fb8f0eac862cd7f1035b4e3424f3ad6bc9509a558508e8af77e2aaef290e694d871227d3f5a569ae444bc67457419a988b9f1
-DIST sshuttle-0.74.tar.gz 52700 SHA256 
95df35456b2392a7519190614e40187369c4646986cf621200b1775fc4c32cf6 SHA512 
1779b1e5722c2ec5ff414985236200b1f700c15ebbb5b55b356ec6f740bf8a87e38288850c96976611a66f4bdfecbc6eb6c42fb4c977e54e275e71439aae9d09
 WHIRLPOOL 
5a5b27efc2dbf38e1d9dafeec84b95d8320d6312afc68652b0b4b747bc3e7640b4c2e93e6f88723012a441c7aaf24c48333ff3163b1ea4f407df1a7f95eeed05
+DIST sshuttle-0.75.tar.gz 52736 SHA256 
63714287d8f9128eefafe4e1b9fc9c8367490f9d074a2b2ff2f555c46ff794b2 SHA512 
caa1d2de2c1622086c00b1686dca14a975944cc91d6c9f0a9610060304b638609290e34bb9e719c2aadfc1f4f6eca151c769bb0cae7fe2ff74e67979e5949a24
 WHIRLPOOL 
cc10efdbf5ce91ad308a72660595e84e78869168d2d8203065aa77d2c63a17f9075bacfade2ea74e73a358e42f989e48a3963232b8c68f88088f0858835c5023

diff --git a/net-proxy/sshuttle/sshuttle-0.74.ebuild 
b/net-proxy/sshuttle/sshuttle-0.75.ebuild
similarity index 100%
rename from net-proxy/sshuttle/sshuttle-0.74.ebuild
rename to net-proxy/sshuttle/sshuttle-0.75.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2016-01-09 Thread Tim Harder
commit: 5fc4ccdea84edb2ce60b008612760aea77204836
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Jan 10 02:50:26 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Jan 10 02:51:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc4ccde

net-proxy/sshuttle: version bump to 0.74

 net-proxy/sshuttle/Manifest |  1 +
 net-proxy/sshuttle/sshuttle-0.74.ebuild | 34 +
 2 files changed, 35 insertions(+)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index f28f2b9..88eae0a 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,2 +1,3 @@
 DIST sshuttle-0.61.tar.xz 181528 SHA256 
78cea312c4bab6f6baa459131cb7739d9fae7d0df9e54efd48fc4ddd852042f5 SHA512 
39687ecf0a9b78cc0f7dc576c3c036f5afb52050f17d793602e50c8a9ab8bb0f9eb3277cb2fffb1e9c0f5f652d96c6915aecf8a8da93697172d8cbef1161a986
 WHIRLPOOL 
9c8597d98306730fcab750094588310c03bafea473b54a2758e055a7bb4bb851b3edad4d2cf2995893a30ed4148b7fd8437820099042ff6c7c52a0dc279d6ebc
 DIST sshuttle-0.73.tar.gz 53321 SHA256 
d78a6aa76f93ab69fd9685ce11b428a9b549c049a6c0104740c06c9b354a5ae3 SHA512 
75bef9f0472cf648454fbde6d6fb14e0656e5d84896cf3295e8535a4cf6859bdafd0053d65ebb673da46e0bcb422dd1a615deef026c2eefd67a4702e70dd3660
 WHIRLPOOL 
c07745df347e68326e211939db0fb8f0eac862cd7f1035b4e3424f3ad6bc9509a558508e8af77e2aaef290e694d871227d3f5a569ae444bc67457419a988b9f1
+DIST sshuttle-0.74.tar.gz 52700 SHA256 
95df35456b2392a7519190614e40187369c4646986cf621200b1775fc4c32cf6 SHA512 
1779b1e5722c2ec5ff414985236200b1f700c15ebbb5b55b356ec6f740bf8a87e38288850c96976611a66f4bdfecbc6eb6c42fb4c977e54e275e71439aae9d09
 WHIRLPOOL 
5a5b27efc2dbf38e1d9dafeec84b95d8320d6312afc68652b0b4b747bc3e7640b4c2e93e6f88723012a441c7aaf24c48333ff3163b1ea4f407df1a7f95eeed05

diff --git a/net-proxy/sshuttle/sshuttle-0.74.ebuild 
b/net-proxy/sshuttle/sshuttle-0.74.ebuild
new file mode 100644
index 000..7f3cef5
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.74.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_5} )
+
+inherit eutils linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/

2015-11-27 Thread Tim Harder
commit: 2fc813a4bf6b8b8969f7c7f6f9775d4f8100fb6a
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Nov 28 00:54:08 2015 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Nov 28 00:56:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc813a4

net-proxy/sshuttle: version bump to 0.73

 net-proxy/sshuttle/Manifest |  1 +
 net-proxy/sshuttle/metadata.xml |  2 +-
 net-proxy/sshuttle/sshuttle-0.73.ebuild | 34 +
 3 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index 79dba7b..f28f2b9 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1 +1,2 @@
 DIST sshuttle-0.61.tar.xz 181528 SHA256 
78cea312c4bab6f6baa459131cb7739d9fae7d0df9e54efd48fc4ddd852042f5 SHA512 
39687ecf0a9b78cc0f7dc576c3c036f5afb52050f17d793602e50c8a9ab8bb0f9eb3277cb2fffb1e9c0f5f652d96c6915aecf8a8da93697172d8cbef1161a986
 WHIRLPOOL 
9c8597d98306730fcab750094588310c03bafea473b54a2758e055a7bb4bb851b3edad4d2cf2995893a30ed4148b7fd8437820099042ff6c7c52a0dc279d6ebc
+DIST sshuttle-0.73.tar.gz 53321 SHA256 
d78a6aa76f93ab69fd9685ce11b428a9b549c049a6c0104740c06c9b354a5ae3 SHA512 
75bef9f0472cf648454fbde6d6fb14e0656e5d84896cf3295e8535a4cf6859bdafd0053d65ebb673da46e0bcb422dd1a615deef026c2eefd67a4702e70dd3660
 WHIRLPOOL 
c07745df347e68326e211939db0fb8f0eac862cd7f1035b4e3424f3ad6bc9509a558508e8af77e2aaef290e694d871227d3f5a569ae444bc67457419a988b9f1

diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml
index be10143..f932a94 100644
--- a/net-proxy/sshuttle/metadata.xml
+++ b/net-proxy/sshuttle/metadata.xml
@@ -6,6 +6,6 @@
 Tim Harder
   
   
-apenwarr/sshuttle
+sshuttle/sshuttle
   
 

diff --git a/net-proxy/sshuttle/sshuttle-0.73.ebuild 
b/net-proxy/sshuttle/sshuttle-0.73.ebuild
new file mode 100644
index 000..1ff6ebf
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.73.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_5} )
+
+inherit eutils linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   net-firewall/iptables
+"
+DEPEND="
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
+
+python_test() {
+   py.test || die "Tests fail under ${EPYTHON}"
+}