* [Buildroot] [PATCH 1/1] utils/scanpypi: sort alphabetically list of required packages
@ 2019-11-08 16:10 Bartosz Bilas
2019-11-08 16:45 ` Yegor Yefremov
2019-11-08 20:54 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Bilas @ 2019-11-08 16:10 UTC (permalink / raw)
To: buildroot
That change will alphabetically set list order
of required packages in Config.in file automatically.
Example below:
before: ['python-pyserial', 'python-pyaes', 'python-ecdsa']
after: ['python-ecdsa', 'python-pyaes', 'python-pyserial']
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
utils/scanpypi | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/scanpypi b/utils/scanpypi
index b48eda49aa..796ce1d60c 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -612,6 +612,7 @@ class BuildrootPackage():
bool_line = '\tbool "{name}"\n'.format(name=self.buildroot_name)
lines.append(bool_line)
if self.pkg_req:
+ self.pkg_req.sort()
for dep in self.pkg_req:
dep_line = '\tselect BR2_PACKAGE_{req} # runtime\n'.format(
req=dep.upper().replace('-', '_'))
--
2.24.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] utils/scanpypi: sort alphabetically list of required packages
2019-11-08 16:10 [Buildroot] [PATCH 1/1] utils/scanpypi: sort alphabetically list of required packages Bartosz Bilas
@ 2019-11-08 16:45 ` Yegor Yefremov
2019-11-08 20:54 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Yegor Yefremov @ 2019-11-08 16:45 UTC (permalink / raw)
To: buildroot
On Fri, Nov 8, 2019 at 5:10 PM Bartosz Bilas <b.bilas@grinn-global.com> wrote:
>
> That change will alphabetically set list order
> of required packages in Config.in file automatically.
>
> Example below:
>
> before: ['python-pyserial', 'python-pyaes', 'python-ecdsa']
> after: ['python-ecdsa', 'python-pyaes', 'python-pyserial']
>
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> utils/scanpypi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/utils/scanpypi b/utils/scanpypi
> index b48eda49aa..796ce1d60c 100755
> --- a/utils/scanpypi
> +++ b/utils/scanpypi
> @@ -612,6 +612,7 @@ class BuildrootPackage():
> bool_line = '\tbool "{name}"\n'.format(name=self.buildroot_name)
> lines.append(bool_line)
> if self.pkg_req:
> + self.pkg_req.sort()
> for dep in self.pkg_req:
> dep_line = '\tselect BR2_PACKAGE_{req} # runtime\n'.format(
> req=dep.upper().replace('-', '_'))
> --
> 2.24.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] utils/scanpypi: sort alphabetically list of required packages
2019-11-08 16:10 [Buildroot] [PATCH 1/1] utils/scanpypi: sort alphabetically list of required packages Bartosz Bilas
2019-11-08 16:45 ` Yegor Yefremov
@ 2019-11-08 20:54 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-11-08 20:54 UTC (permalink / raw)
To: buildroot
On Fri, 8 Nov 2019 17:10:43 +0100
Bartosz Bilas <b.bilas@grinn-global.com> wrote:
> That change will alphabetically set list order
> of required packages in Config.in file automatically.
>
> Example below:
>
> before: ['python-pyserial', 'python-pyaes', 'python-ecdsa']
> after: ['python-ecdsa', 'python-pyaes', 'python-pyserial']
>
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
> ---
> utils/scanpypi | 1 +
> 1 file changed, 1 insertion(+)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-08 20:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08 16:10 [Buildroot] [PATCH 1/1] utils/scanpypi: sort alphabetically list of required packages Bartosz Bilas
2019-11-08 16:45 ` Yegor Yefremov
2019-11-08 20:54 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox