From: | David Seifert <soap@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: net-vpn/6tunnel/ |
Date: | Sat, 03 Apr 2021 12:31:35 |
Message-Id: | 1617453044.0967f92e7ea832af84fb11718eae4baee0356b35.soap@gentoo |
1 | commit: 0967f92e7ea832af84fb11718eae4baee0356b35 |
2 | Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 | AuthorDate: Sat Apr 3 12:30:44 2021 +0000 |
4 | Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 | CommitDate: Sat Apr 3 12:30:44 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0967f92e |
7 | |
8 | net-vpn/6tunnel: Inherit python-any-r1 for tests |
9 | |
10 | Closes: https://bugs.gentoo.org/776169 |
11 | Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
12 | Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 | |
14 | net-vpn/6tunnel/6tunnel-0.13.ebuild | 13 +++++++++---- |
15 | 1 file changed, 9 insertions(+), 4 deletions(-) |
16 | |
17 | diff --git a/net-vpn/6tunnel/6tunnel-0.13.ebuild b/net-vpn/6tunnel/6tunnel-0.13.ebuild |
18 | index 7b1c7485eca..201a1808832 100644 |
19 | --- a/net-vpn/6tunnel/6tunnel-0.13.ebuild |
20 | +++ b/net-vpn/6tunnel/6tunnel-0.13.ebuild |
21 | @@ -1,8 +1,11 @@ |
22 | -# Copyright 1999-2020 Gentoo Authors |
23 | +# Copyright 1999-2021 Gentoo Authors |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | |
26 | EAPI=7 |
27 | |
28 | +PYTHON_COMPAT=( python3_{7..9} ) |
29 | +inherit python-any-r1 |
30 | + |
31 | DESCRIPTION="TCP proxy for applications that don't speak IPv6" |
32 | HOMEPAGE="https://github.com/wojtekka/6tunnel" |
33 | SRC_URI="https://github.com/wojtekka/6tunnel/releases/download/${PV}/${P}.tar.gz" |
34 | @@ -10,7 +13,9 @@ SRC_URI="https://github.com/wojtekka/6tunnel/releases/download/${PV}/${P}.tar.gz |
35 | LICENSE="GPL-2" |
36 | SLOT="0" |
37 | KEYWORDS="amd64 ~s390 x86" |
38 | +IUSE="test" |
39 | +RESTRICT="!test? ( test )" |
40 | + |
41 | +BDEPEND="test? ( ${PYTHON_DEPS} )" |
42 | |
43 | -PATCHES=( |
44 | - "${FILESDIR}/${P}-test.patch" |
45 | -) |
46 | +PATCHES=( "${FILESDIR}"/${P}-test.patch ) |