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 DD79513832E for ; Wed, 10 Aug 2016 03:06:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F087A21C054; Wed, 10 Aug 2016 03:06:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52FFC21C09F for ; Wed, 10 Aug 2016 03:06:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA99B34087E for ; Wed, 10 Aug 2016 03:06:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B10931B9B for ; Wed, 10 Aug 2016 03:06:05 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1470798130.2f13af6b351d09119f3264bae39ef185eedf145b.radhermit@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-0.78.1.ebuild X-VCS-Directories: net-proxy/sshuttle/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 2f13af6b351d09119f3264bae39ef185eedf145b X-VCS-Branch: master Date: Wed, 10 Aug 2016 03:06:05 +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-Archives-Salt: e3c1f807-738f-4f52-89b0-94ebd22a11cf X-Archives-Hash: d97f5b002fdfbd63cc7ef1566526183f commit: 2f13af6b351d09119f3264bae39ef185eedf145b Author: Tim Harder gentoo org> AuthorDate: Wed Aug 10 03:00:55 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Wed Aug 10 03:02:10 2016 +0000 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 0000000..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}" +}