python-jsonschema: needs python-functools32 when used with python 2.7
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 9 Mar 2018 19:17:00 +0000 (20:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Mar 2018 07:39:08 +0000 (08:39 +0100)
>From setup.py:

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

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-jsonschema/Config.in

index 7002653722766fef5ded02ba6bd7f82f415be5ec..b547f4ae1afd135dc2b223daf60dc6de89f8233f 100644 (file)
@@ -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.