From c018ee300388cda1da919093fcaa7074c1c0e61c Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Thu, 26 Feb 2026 22:05:30 +0800 Subject: [PATCH] lorcon: sync with Gentoo --- .../lorcon-2020.06.06_p20220216-r3.ebuild | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r3.ebuild b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r3.ebuild index 71eb7ce95..1f620aff8 100644 --- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r3.ebuild +++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r3.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..13} ) +DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 flag-o-matic @@ -59,6 +60,20 @@ src_compile() { fi } +src_test() { + default + + # Fails within sandbox? + #if use python; then + # cd pylorcon2 || die + # distutils-r1_src_test + #fi +} + +python_test() { + eunittest +} + src_install() { default