mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user