net-wireless/lorcon: drop py3.9, drop py3.10, add commented out Python tests

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-01 23:05:47 +01:00
parent 6c32d545ce
commit fc0ebb2171
2 changed files with 32 additions and 4 deletions

View File

@@ -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

View File

@@ -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