mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
dev-python/pylzma: fix compilation issue
This commit is contained in:
parent
2533703fc0
commit
0a7d5412cc
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ KEYWORDS="~amd64"
|
|||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# temporary fixes, they should be removed when the upstream is corrected
|
||||
# https://github.com/fancycode/pylzma/pull/86
|
||||
sed -i -e 's/args/args, PyObject *kwargs/' src/pylzma/pylzma_decompress.h
|
||||
sed -i -e 's/EnvironmentError, e/EnvironmentError as e/' tests/test_usage.py
|
||||
eapply_user
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue