From: Bernd Kuhls Date: Sun, 9 Oct 2016 12:46:16 +0000 (+0200) Subject: package/python3: add optional support for lzma X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d4bdb272644675a54ac4a3e7621273ce72db6b8;p=buildroot.git package/python3: add optional support for lzma Needed by the upcoming python-mwscrape2slob package. Signed-off-by: Bernd Kuhls [Thomas: move "select" after "bool".] Signed-off-by: Thomas Petazzoni --- diff --git a/package/python3/Config.in b/package/python3/Config.in index 0f4fc88a6e..bf2cd7c11e 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -98,6 +98,12 @@ config BR2_PACKAGE_PYTHON3_PYEXPAT help pyexpat and xml libraries for Python3. +config BR2_PACKAGE_PYTHON3_XZ + bool "xz module" + select BR2_PACKAGE_XZ + help + xz (a.k.a lzma) module for Python3 + config BR2_PACKAGE_PYTHON3_ZLIB bool "zlib module" select BR2_PACKAGE_ZLIB diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 393b9fb2ac..b3f31c0aa0 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -103,6 +103,10 @@ ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y) PYTHON3_DEPENDENCIES += bzip2 endif +ifeq ($(BR2_PACKAGE_PYTHON3_XZ),y) +PYTHON3_DEPENDENCIES += xz +endif + ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y) PYTHON3_DEPENDENCIES += zlib endif