summaryrefslogtreecommitdiff
path: root/net-proxy/sshuttle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
commit129160ec854dca4c3fedb5bcfbcb56930371da0f (patch)
tree53bf797418ac5e9b99c41ca0382c87b82421e5de /net-proxy/sshuttle
parent441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff)
gentoo new year resync : 01.01.2021
Diffstat (limited to 'net-proxy/sshuttle')
-rw-r--r--net-proxy/sshuttle/Manifest4
-rw-r--r--net-proxy/sshuttle/sshuttle-1.0.5.ebuild (renamed from net-proxy/sshuttle/sshuttle-0.78.5.ebuild)27
2 files changed, 13 insertions, 18 deletions
diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
index d4ad2a43b451..90bd17ebdc1f 100644
--- a/net-proxy/sshuttle/Manifest
+++ b/net-proxy/sshuttle/Manifest
@@ -1,5 +1,5 @@
-DIST sshuttle-0.78.5.tar.gz 74663 BLAKE2B 47e295219c1ada7bee4f0340cc169620c5b91abd1f72b933289ef2dea0c5ba088673f2d1348d444f662e9f6c2638ee6dfd3e8df1fa8344bc7c48adf1a3a96d3f SHA512 562acbf0e825ad41458c5b6065592a45b8bac92cd64b20619027fe4d0bec60a22c5191c7a7ed6b216d8cf5c9e027f58a6cdca69dd3a11ec6f6d348ef2f13bb38
DIST sshuttle-1.0.3.tar.gz 79216 BLAKE2B fefc93654c4991bad54de6b156916ee656f7d460d609c5333b15c601e9b2b0169c1670e911988dfa8290a5bc1885d94f9ec9656066d2b13da0b4d53d9739297a SHA512 22132dba0e6b7dd835f0af1368a5e8c3a95db66e11ffec9ec3cae72cc7ed4eec13580eeceb08071bee12cae8169852772578f8e29a69583cb79c71d350f474bb
-EBUILD sshuttle-0.78.5.ebuild 1376 BLAKE2B 465e786d5b32cb5d89eb2afbd7e20a3fff07d95280bd9df9ab0fe7c2d434d00d48ad7fda22daa4ba68b752369857ce9ad47f5c37e550d69a547e07c8954a76a8 SHA512 a468ae099a8d9dd1a0d35cd65051f1116a649b9c7dcc6f8e3b3a891f9befbc6150cb1acc550495143c6bc5786de992aa06a8c67b0655007617408be4becea240
+DIST sshuttle-1.0.5.tar.gz 88823 BLAKE2B 6a68be71a92c8245e2e60df1f425c6959547f8c2b972bdafcd774449c3779698c2549f2c7a3575c102158962ef9dd2edaaecec564f36f7f5cc84ed3f53b3daa3 SHA512 a9ebc8f8cf5ccc351796c2eb5b224b5d76908d23a367b768fa4e7b9cd8517ee7ff9c232c92ed4332f46d02d890ad8114f8beaa66876a8c0d7d4850c18ff4c2b3
EBUILD sshuttle-1.0.3.ebuild 1211 BLAKE2B 4827fafd4d95ef0063f696e64384fc3ba5b97cbae0a1ee899bab41248f84fe2496780e5276864a3109254526ae41e6c8a9540f9d3b3936838f5219aea6313201 SHA512 0af06ce5b9c5c5c1b2607b3355aa35af3375397258a86a7cd7383a44f5ff6f6990cc7b9a37eac7aeeead8ee256f9f9d7912a469e7be07ab688caa6d9a94334e9
+EBUILD sshuttle-1.0.5.ebuild 1253 BLAKE2B 293d346d9daa31119ce27627ac95db9fe119da07f1306996c93c0d38b6c7ef67e63aa9f8732754d7854afac2466c002c7522e33baac5cb7715706b7b302772d7 SHA512 5e69c06a013493fe701c201662f1b8f8e2a81b7f51e4b753448b43d361d87f9f0648c9a4a59c2fb7563cf73836fe2f255bd84e243bf251517f2279368055e5b6
MISC metadata.xml 302 BLAKE2B aaef94f4b028c3f346523d5bbd42876e24fa82ab119c03a3db5c1ca40237efdbec97377b27584d3c307491a1c542d1194ac066a8c532cfbdf1ff9a9c1d06a6d3 SHA512 7e81df3d00fdf3c231e968d844a693c3d90e6e64c73f90b93d437331a2dafbc5d4f48bcb46596f9efb36ecb2c1d16ef2e37f50bdf8fa8e41e3a0ae3e3eff3985
diff --git a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
index 497f9299ed09..b297f3b3390a 100644
--- a/net-proxy/sshuttle/sshuttle-0.78.5.ebuild
+++ b/net-proxy/sshuttle/sshuttle-1.0.5.ebuild
@@ -2,9 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7,8,9} )
-inherit linux-info distutils-r1
+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/"
@@ -12,26 +13,24 @@ 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 )"
+KEYWORDS="~amd64 ~x86"
-RDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- || ( net-firewall/iptables net-firewall/nftables )
-"
-DEPEND="
+BDEPEND="
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}]
)
"
+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
@@ -46,10 +45,6 @@ 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/*