1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_5} )
8 inherit eutils linux-info distutils-r1
10 DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
11 HOMEPAGE="https://github.com/sshuttle/sshuttle https://pypi.python.org/pypi/sshuttle"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
20 dev-python/setuptools[${PYTHON_USEDEP}]
24 dev-python/setuptools_scm[${PYTHON_USEDEP}]
26 dev-python/pytest[${PYTHON_USEDEP}]
27 dev-python/mock[${PYTHON_USEDEP}]
31 CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT"
34 py.test || die "Tests fail under ${EPYTHON}"