dev-python/pylzma: fix tests

This commit is contained in:
rick 2025-09-13 23:08:20 +02:00
parent 20b681a90e
commit 969648a39b
No known key found for this signature in database
GPG key ID: D3FB4A5EDD2CBF02

View file

@ -17,10 +17,12 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
#distutils_enable_tests unittest
#FIXME: run all tests
python_test() {
"${EPYTHON}" tests/test_pylzma.py || die "Tests fail with ${EPYTHON}"
distutils_enable_tests unittest
src_prepare() {
sed -i -e 's/EnvironmentError, e/EnvironmentError as e/' tests/test_usage.py
eapply_user
}
}
python_install_all() {