diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-04-03 14:30:44 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-04-03 14:30:44 +0200 |
commit | 0967f92e7ea832af84fb11718eae4baee0356b35 (patch) | |
tree | 6a39c20969dcb0750a4b3424969433998ded0c4b /net-vpn/6tunnel | |
parent | sys-devel/elftoolchain: Simplify bmake calls, change BINDIR (diff) | |
download | gentoo-0967f92e7ea832af84fb11718eae4baee0356b35.tar.gz gentoo-0967f92e7ea832af84fb11718eae4baee0356b35.tar.bz2 gentoo-0967f92e7ea832af84fb11718eae4baee0356b35.zip |
net-vpn/6tunnel: Inherit python-any-r1 for tests
Closes: https://bugs.gentoo.org/776169
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-vpn/6tunnel')
-rw-r--r-- | net-vpn/6tunnel/6tunnel-0.13.ebuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/net-vpn/6tunnel/6tunnel-0.13.ebuild b/net-vpn/6tunnel/6tunnel-0.13.ebuild index 7b1c7485ecae..201a18088321 100644 --- a/net-vpn/6tunnel/6tunnel-0.13.ebuild +++ b/net-vpn/6tunnel/6tunnel-0.13.ebuild @@ -1,8 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) +inherit python-any-r1 + DESCRIPTION="TCP proxy for applications that don't speak IPv6" HOMEPAGE="https://github.com/wojtekka/6tunnel" SRC_URI="https://github.com/wojtekka/6tunnel/releases/download/${PV}/${P}.tar.gz" @@ -10,7 +13,9 @@ SRC_URI="https://github.com/wojtekka/6tunnel/releases/download/${PV}/${P}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~s390 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" -PATCHES=( - "${FILESDIR}/${P}-test.patch" -) +PATCHES=( "${FILESDIR}"/${P}-test.patch ) |