From fc0ebb21714409acdcf9f4ef7b405d2153d1f5c8 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 1 May 2025 23:05:47 +0100 Subject: [PATCH] net-wireless/lorcon: drop py3.9, drop py3.10, add commented out Python tests Signed-off-by: Sam James --- .../lorcon-2020.06.06_p20220216-r2.ebuild | 18 ++++++++++++++++-- net-wireless/lorcon/lorcon-9999.ebuild | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) 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