From 0a7d5412cce475b263aa76895457bc76a4459bd6 Mon Sep 17 00:00:00 2001 From: rick Date: Sun, 14 Sep 2025 00:27:57 +0200 Subject: [PATCH] dev-python/pylzma: fix compilation issue --- dev-python/pylzma/pylzma-0.5.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-python/pylzma/pylzma-0.5.0.ebuild b/dev-python/pylzma/pylzma-0.5.0.ebuild index c4ad3cca3..0840e88d7 100644 --- a/dev-python/pylzma/pylzma-0.5.0.ebuild +++ b/dev-python/pylzma/pylzma-0.5.0.ebuild @@ -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 }