From 5d4bdb272644675a54ac4a3e7621273ce72db6b8 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 9 Oct 2016 14:46:16 +0200 Subject: [PATCH] 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 --- package/python3/Config.in | 6 ++++++ package/python3/python3.mk | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/package/python3/Config.in b/package/python3/Config.in index 0f4fc88a6..bf2cd7c11 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 393b9fb2a..b3f31c0aa 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 -- 2.11.4.GIT