diff options
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 ) |