[Buildroot] [PATCH 09/10] python-jsonschema: needs python-functools32 when used with python 2.7

Yegor Yefremov yegorslists at googlemail.com
Sat Mar 10 06:18:56 UTC 2018


On Fri, Mar 9, 2018 at 8:17 PM, Peter Korsgaard <peter at korsgaard.com> wrote:
> 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>

> ---
>  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.
>
> --
> 2.11.0
><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 8:17 PM, Peter Korsgaard <span dir="ltr"><<a href="mailto:peter at korsgaard.com" target="_blank">peter at korsgaard.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From setup.py:<br>
<br>
extras_require = {<br>
    ..<br>
    ":python_version=='2.7'": ["functools32"],<br>
<br>
Signed-off-by: Peter Korsgaard <<a
href="mailto:peter at korsgaard.com">peter at korsgaard.com</a>><br>
---<br>
 package/python-jsonschema/<wbr>Config.in | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/package/python-jsonschema/<wbr>Config.in
b/package/python-jsonschema/<wbr>Config.in<br>
index 7002653722..b547f4ae1a 100644<br>
--- a/package/python-jsonschema/<wbr>Config.in<br>
+++ b/package/python-jsonschema/<wbr>Config.in<br>
@@ -1,5 +1,6 @@<br>
 config BR2_PACKAGE_PYTHON_JSONSCHEMA<br>
        bool "python-jsonschema"<br>
+       select BR2_PACKAGE_PYTHON_FUNCTOOLS32 if
BR2_PACKAGE_PYTHON # runtime<br>
        help<br>
          An implementation of JSON Schema
validation for Python.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.11.0<br>
<br>
</font></span></blockquote></div><br></div>



More information about the buildroot mailing list