* [Buildroot] [PATCH] scanpypi: rework runtime dependency handling
@ 2016-06-30 7:25 yegorslists at googlemail.com
2016-06-30 22:04 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2016-06-30 7:25 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
In most cases Python's package dependencies found in setup.py are
runtime dependencies and hence don't need to be mentioned in *.mk
file.
Also add '# runtime' tag to select statements in Config.in.
__create_mk_requirements() itself is left for future uses (cffi backend
handling etc.).
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
support/scripts/scanpypi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/support/scripts/scanpypi b/support/scripts/scanpypi
index da578f4..f0d584a 100755
--- a/support/scripts/scanpypi
+++ b/support/scripts/scanpypi
@@ -466,8 +466,6 @@ class BuildrootPackage():
lines += self.__create_mk_download_info()
lines += self.__create_mk_setup()
lines += self.__create_mk_license()
- if self.pkg_req:
- lines += self.__create_mk_requirements()
lines.append('\n')
lines.append('$(eval $(python-package))')
@@ -518,7 +516,7 @@ class BuildrootPackage():
lines.append(bool_line)
if self.pkg_req:
for dep in self.pkg_req:
- dep_line = '\tselect BR2_PACKAGE_{req}\n'.format(
+ dep_line = '\tselect BR2_PACKAGE_{req} # runtime\n'.format(
req=dep.upper().replace('-', '_'))
lines.append(dep_line)
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] scanpypi: rework runtime dependency handling
2016-06-30 7:25 [Buildroot] [PATCH] scanpypi: rework runtime dependency handling yegorslists at googlemail.com
@ 2016-06-30 22:04 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-06-30 22:04 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 30 Jun 2016 09:25:04 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> In most cases Python's package dependencies found in setup.py are
> runtime dependencies and hence don't need to be mentioned in *.mk
> file.
>
> Also add '# runtime' tag to select statements in Config.in.
>
> __create_mk_requirements() itself is left for future uses (cffi backend
> handling etc.).
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> support/scripts/scanpypi | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-30 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 7:25 [Buildroot] [PATCH] scanpypi: rework runtime dependency handling yegorslists at googlemail.com
2016-06-30 22:04 ` Thomas Petazzoni
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.