mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
dev-python/pylzma: fix tests
This commit is contained in:
parent
20b681a90e
commit
969648a39b
1 changed files with 6 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue