diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild index f810615437747..f5fbd16cb8849 100644 --- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild +++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild @@ -1,10 +1,10 @@ -# 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..12} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_OPTIONAL=1 inherit distutils-r1 flag-o-matic @@ -57,6 +57,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 diff --git a/net-wireless/lorcon/lorcon-9999.ebuild b/net-wireless/lorcon/lorcon-9999.ebuild index 2d2cb5de6bee8..8f85ce37d26f6 100644 --- a/net-wireless/lorcon/lorcon-9999.ebuild +++ b/net-wireless/lorcon/lorcon-9999.ebuild @@ -1,10 +1,10 @@ -# 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..12} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_OPTIONAL=1 inherit distutils-r1 flag-o-matic @@ -55,6 +55,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