lorcon: sync with Gentoo

This commit is contained in:
Anton Bolshakov 2026-02-26 22:05:30 +08:00
parent 6a4420f1d8
commit c018ee3003
No known key found for this signature in database
GPG key ID: 32BDCED870788F04

View file

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