All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-inflection: needs python3
@ 2021-09-27  5:37 Fabrice Fontaine
  2021-09-27 14:35 ` Arnout Vandecappelle
  2021-09-27 16:02 ` John Faith via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-09-27  5:37 UTC (permalink / raw)
  To: buildroot; +Cc: John Faith, Fabrice Fontaine, Asaf Kahlon, Thomas Petazzoni

python 2 support has been removed since version 0.4.0 and
https://github.com/jpvanhal/inflection/commit/a826dac7a562e67881ab704adbef45440566836e
resulting in the following build failure since bump to version 0.5.1 in
commit 6c09567e6b6f2cc826e64cd9b36fb41ed7c6e00c:

  File "/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-python-inflection-0.5.1/inflection/__init__.py", line 91
    def _irregular(singular: str, plural: str) -> None:
                           ^

Propagate host-python3 dependency to host-sdbusplus

Fixes:
 - http://autobuild.buildroot.org/results/6d6e937135ef95c63001359fec5f8c28183fc0a9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/python-inflection/Config.in | 4 ++--
 package/sdbusplus/sdbusplus.mk      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/python-inflection/Config.in b/package/python-inflection/Config.in
index 427275bc71..5b6a26fead 100644
--- a/package/python-inflection/Config.in
+++ b/package/python-inflection/Config.in
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_PYTHON_INFLECTION
 	bool "python-inflection"
-	select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
-	select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
+	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON3_UNICODEDATA
 	help
 	  A string transformation library that singularizes and
 	  pluralizes English words, and transforms strings from
diff --git a/package/sdbusplus/sdbusplus.mk b/package/sdbusplus/sdbusplus.mk
index f4e258089b..498b835052 100644
--- a/package/sdbusplus/sdbusplus.mk
+++ b/package/sdbusplus/sdbusplus.mk
@@ -10,7 +10,7 @@ SDBUSPLUS_DEPENDENCIES = host-autoconf-archive host-pkgconf systemd
 HOST_SDBUSPLUS_DEPENDENCIES = \
 	host-autoconf-archive \
 	host-pkgconf \
-	$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \
+	host-python3 \
 	host-python-inflection \
 	host-python-mako \
 	host-python-pyyaml
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/python-inflection: needs python3
  2021-09-27  5:37 [Buildroot] [PATCH 1/1] package/python-inflection: needs python3 Fabrice Fontaine
@ 2021-09-27 14:35 ` Arnout Vandecappelle
  2021-09-27 16:02 ` John Faith via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2021-09-27 14:35 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: John Faith, Thomas Petazzoni, Asaf Kahlon



On 27/09/2021 07:37, Fabrice Fontaine wrote:
> python 2 support has been removed since version 0.4.0 and
> https://github.com/jpvanhal/inflection/commit/a826dac7a562e67881ab704adbef45440566836e
> resulting in the following build failure since bump to version 0.5.1 in
> commit 6c09567e6b6f2cc826e64cd9b36fb41ed7c6e00c:
> 
>    File "/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-python-inflection-0.5.1/inflection/__init__.py", line 91
>      def _irregular(singular: str, plural: str) -> None:
>                             ^
> 
> Propagate host-python3 dependency to host-sdbusplus
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/6d6e937135ef95c63001359fec5f8c28183fc0a9
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/python-inflection/Config.in | 4 ++--
>   package/sdbusplus/sdbusplus.mk      | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/python-inflection/Config.in b/package/python-inflection/Config.in
> index 427275bc71..5b6a26fead 100644
> --- a/package/python-inflection/Config.in
> +++ b/package/python-inflection/Config.in
> @@ -1,7 +1,7 @@
>   config BR2_PACKAGE_PYTHON_INFLECTION
>   	bool "python-inflection"
> -	select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
> -	select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
> +	depends on BR2_PACKAGE_PYTHON3
> +	select BR2_PACKAGE_PYTHON3_UNICODEDATA
>   	help
>   	  A string transformation library that singularizes and
>   	  pluralizes English words, and transforms strings from
> diff --git a/package/sdbusplus/sdbusplus.mk b/package/sdbusplus/sdbusplus.mk
> index f4e258089b..498b835052 100644
> --- a/package/sdbusplus/sdbusplus.mk
> +++ b/package/sdbusplus/sdbusplus.mk
> @@ -10,7 +10,7 @@ SDBUSPLUS_DEPENDENCIES = host-autoconf-archive host-pkgconf systemd
>   HOST_SDBUSPLUS_DEPENDENCIES = \
>   	host-autoconf-archive \
>   	host-pkgconf \
> -	$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \
> +	host-python3 \
>   	host-python-inflection \
>   	host-python-mako \
>   	host-python-pyyaml
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/python-inflection: needs python3
  2021-09-27  5:37 [Buildroot] [PATCH 1/1] package/python-inflection: needs python3 Fabrice Fontaine
  2021-09-27 14:35 ` Arnout Vandecappelle
@ 2021-09-27 16:02 ` John Faith via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: John Faith via buildroot @ 2021-09-27 16:02 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Asaf Kahlon, Thomas Petazzoni

> From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> Sent: Sunday, September 26, 2021 10:37 PM
> To: buildroot@buildroot.org <buildroot@buildroot.org>
> Cc: John Faith <jfaith@impinj.com>; Thomas Petazzoni <thomas.petazzoni@bootlin.com>; > > Asaf Kahlon <asafka7@gmail.com>; Yegor Yefremov <yegorslists@googlemail.com>; Fabrice > Fontaine <fontaine.fabrice@gmail.com>
> Subject: [PATCH 1/1] package/python-inflection: needs python3 
>  
> 
> python 2 support has been removed since version 0.4.0 and
> https://github.com/jpvanhal/inflection/commit/a826dac7a562e67881ab704adbef45440566836e
> resulting in the following build failure since bump to version 0.5.1 in
> commit 6c09567e6b6f2cc826e64cd9b36fb41ed7c6e00c:
> 
> File "/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-python-inflection-0.5.1/inflection/__init__.py", line 91
> def _irregular(singular: str, plural: str) -> None:
> ^
> 
> Propagate host-python3 dependency to host-sdbusplus
> 
> Fixes:
> - http://autobuild.buildroot.org/results/6d6e937135ef95c63001359fec5f8c28183fc0a9
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/python-inflection/Config.in | 4 ++--
> package/sdbusplus/sdbusplus.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/python-inflection/Config.in b/package/python-inflection/Config.in
> index 427275bc71..5b6a26fead 100644
> --- a/package/python-inflection/Config.in
> +++ b/package/python-inflection/Config.in
> @@ -1,7 +1,7 @@
> config BR2_PACKAGE_PYTHON_INFLECTION
> bool "python-inflection"
> - select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
> - select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
> + depends on BR2_PACKAGE_PYTHON3
> + select BR2_PACKAGE_PYTHON3_UNICODEDATA
> help
> A string transformation library that singularizes and
> pluralizes English words, and transforms strings from
> diff --git a/package/sdbusplus/sdbusplus.mk b/package/sdbusplus/sdbusplus.mk
> index f4e258089b..498b835052 100644
> --- a/package/sdbusplus/sdbusplus.mk
> +++ b/package/sdbusplus/sdbusplus.mk
> @@ -10,7 +10,7 @@ SDBUSPLUS_DEPENDENCIES = host-autoconf-archive host-pkgconf systemd
> HOST_SDBUSPLUS_DEPENDENCIES = \
> host-autoconf-archive \
> host-pkgconf \
> - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \
> + host-python3 \
> host-python-inflection \
> host-python-mako \
> host-python-pyyaml
> -- 
> 2.33.0

Reviewed-by: John Faith <jfaith@impinj.com>


_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-27 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27  5:37 [Buildroot] [PATCH 1/1] package/python-inflection: needs python3 Fabrice Fontaine
2021-09-27 14:35 ` Arnout Vandecappelle
2021-09-27 16:02 ` John Faith via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.