[Buildroot] [git commit] python-jsonschema: needs python-functools32 when used with python 2.7

Peter Korsgaard peter at korsgaard.com
Sat Mar 10 07:39:08 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=dab4285f853889ab85fc130831f91187b4ad3242
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

>From setup.py:

extras_require = {
    ..
    ":python_version=='2.7'": ["functools32"],

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/python-jsonschema/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python-jsonschema/Config.in b/package/python-jsonschema/Config.in
index 7002653722..b547f4ae1a 100644
--- a/package/python-jsonschema/Config.in
+++ b/package/python-jsonschema/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_JSONSCHEMA
 	bool "python-jsonschema"
+	select BR2_PACKAGE_PYTHON_FUNCTOOLS32 if BR2_PACKAGE_PYTHON # runtime
 	help
 	  An implementation of JSON Schema validation for Python.
 


More information about the buildroot mailing list