From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C288138359 for ; Sun, 2 Aug 2020 22:49:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1DF2E09EA; Sun, 2 Aug 2020 22:49:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE9C0E09EA for ; Sun, 2 Aug 2020 22:49:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA7E334F32C for ; Sun, 2 Aug 2020 22:49:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 618192CC for ; Sun, 2 Aug 2020 22:49:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1596408566.c867d5836c411c0117c5a5263f736bdad1e1f0a3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/sshuttle/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/sshuttle/Manifest net-proxy/sshuttle/sshuttle-1.0.3.ebuild X-VCS-Directories: net-proxy/sshuttle/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c867d5836c411c0117c5a5263f736bdad1e1f0a3 X-VCS-Branch: master Date: Sun, 2 Aug 2020 22:49:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c00905bf-e8ac-488d-ad5a-3647ee3fedd2 X-Archives-Hash: a5194ac3553e9177b2e08e1e7e113926 commit: c867d5836c411c0117c5a5263f736bdad1e1f0a3 Author: Sam James gentoo org> AuthorDate: Sun Aug 2 22:49:07 2020 +0000 Commit: Sam James gentoo org> CommitDate: Sun Aug 2 22:49:26 2020 +0000 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 00000000000..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 +}