You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/createrepo/files/createrepo-0.10.4-lzma.patch

15 lines
406 B

diff --git a/createrepo/utils.py b/createrepo/utils.py
index b0d92ec..1220c7c 100644
--- a/createrepo/utils.py
+++ b/createrepo/utils.py
@@ -25,7 +25,8 @@ from gzip import write32u, FNAME
from yum import misc
_available_compression = ['gz', 'bz2']
try:
- import lzma
+ import backports.lzma
+ lzma = backports.lzma
_available_compression.append('xz')
except ImportError:
lzma = None