All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Faith via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>,
	"buildroot@buildroot.org" <buildroot@buildroot.org>
Cc: Asaf Kahlon <asafka7@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH 1/1] package/python-inflection: needs python3
Date: Mon, 27 Sep 2021 16:02:45 +0000	[thread overview]
Message-ID: <CO6P221MB071002144E76B47D0CF7CEEAB4A79@CO6P221MB0710.NAMP221.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20210927053740.1060569-1-fontaine.fabrice@gmail.com>

> 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

      parent reply	other threads:[~2021-09-27 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CO6P221MB071002144E76B47D0CF7CEEAB4A79@CO6P221MB0710.NAMP221.PROD.OUTLOOK.COM \
    --to=buildroot@buildroot.org \
    --cc=asafka7@gmail.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=jfaith@impinj.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.