commit:     65fb2afe51b0155d41756a80e05f9ed24c8e1ce3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 25 06:45:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 25 07:32:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65fb2afe

net-vpn/6tunnel: update EAPI 7 -> 8, py3.13, py3.14, fix pkg_setup w/o tests

Closes: https://bugs.gentoo.org/943850
Closes: https://bugs.gentoo.org/952633
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-vpn/6tunnel/6tunnel-0.13.ebuild | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/net-vpn/6tunnel/6tunnel-0.13.ebuild 
b/net-vpn/6tunnel/6tunnel-0.13.ebuild
index d596a0a12817..fec315a3ed76 100644
--- a/net-vpn/6tunnel/6tunnel-0.13.ebuild
+++ b/net-vpn/6tunnel/6tunnel-0.13.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
-inherit python-any-r1
+PYTHON_COMPAT=( python3_{11..14} )
+inherit flag-o-matic python-any-r1
 
 DESCRIPTION="TCP proxy for applications that don't speak IPv6"
 HOMEPAGE="https://github.com/wojtekka/6tunnel";
@@ -19,3 +19,14 @@ RESTRICT="!test? ( test )"
 BDEPEND="test? ( ${PYTHON_DEPS} )"
 
 PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
+pkg_setup() {
+       use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+       # bug #943850
+       append-cflags -std=gnu17
+
+       default
+}

Reply via email to