* [Buildroot] [PATCH 1/1] docs/manual/adding-packages-python.txt: fix outdated Python 3 sentence.
@ 2019-09-09 11:58 raphael.melotte at essensium.com
2019-09-10 17:29 ` Thomas Petazzoni
2019-09-24 14:32 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: raphael.melotte at essensium.com @ 2019-09-09 11:58 UTC (permalink / raw)
To: buildroot
From: Rapha?l M?lotte <raphael.melotte@essensium.com>
Python packages should no longer depend on BR2_PACKAGE_PYTHON
in their config file, unless they are only compatible with Python 2.
Signed-off-by: Rapha?l M?lotte <raphael.melotte@essensium.com>
---
docs/manual/adding-packages-python.txt | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/docs/manual/adding-packages-python.txt b/docs/manual/adding-packages-python.txt
index 15137cfd6d..74e2e78b29 100644
--- a/docs/manual/adding-packages-python.txt
+++ b/docs/manual/adding-packages-python.txt
@@ -67,9 +67,13 @@ Python build system, but are not Python modules, can freely choose
their name (existing examples in Buildroot are +scons+ and
+supervisor+).
-In their +Config.in+ file, they should depend on +BR2_PACKAGE_PYTHON+
-so that when Buildroot will enable Python 3 usage for modules, we will
-be able to enable Python modules progressively on Python 3.
+Packages that are only compatible with one version of Python (as in:
+Python 2 or Python 3) should depend on that version explicitely in
+their +Config.in+ file (+BR2_PACKAGE_PYTHON+ for Python 2,
++BR2_PACKAGE_PYTHON3+ for Python 3). Packages that are compatible
+with both versions should not explicitely depend on them in their
++Config.in+ file, since that condition is already expressed for the
+whole "External python modules" menu.
The main macro of the Python package infrastructure is
+python-package+. It is similar to the +generic-package+ macro. It is
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] docs/manual/adding-packages-python.txt: fix outdated Python 3 sentence.
2019-09-09 11:58 [Buildroot] [PATCH 1/1] docs/manual/adding-packages-python.txt: fix outdated Python 3 sentence raphael.melotte at essensium.com
@ 2019-09-10 17:29 ` Thomas Petazzoni
2019-09-24 14:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-09-10 17:29 UTC (permalink / raw)
To: buildroot
On Mon, 9 Sep 2019 13:58:07 +0200
raphael.melotte at essensium.com wrote:
> From: Rapha?l M?lotte <raphael.melotte@essensium.com>
>
> Python packages should no longer depend on BR2_PACKAGE_PYTHON
> in their config file, unless they are only compatible with Python 2.
>
> Signed-off-by: Rapha?l M?lotte <raphael.melotte@essensium.com>
> ---
> docs/manual/adding-packages-python.txt | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] docs/manual/adding-packages-python.txt: fix outdated Python 3 sentence.
2019-09-09 11:58 [Buildroot] [PATCH 1/1] docs/manual/adding-packages-python.txt: fix outdated Python 3 sentence raphael.melotte at essensium.com
2019-09-10 17:29 ` Thomas Petazzoni
@ 2019-09-24 14:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-09-24 14:32 UTC (permalink / raw)
To: buildroot
>>>>> "raphael" == raphael melotte <raphael.melotte@essensium.com> writes:
> From: Rapha?l M?lotte <raphael.melotte@essensium.com>
> Python packages should no longer depend on BR2_PACKAGE_PYTHON
> in their config file, unless they are only compatible with Python 2.
> Signed-off-by: Rapha?l M?lotte <raphael.melotte@essensium.com>
Committed to 2019.02.x, 2019.05.x and 2019.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-24 14:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-09 11:58 [Buildroot] [PATCH 1/1] docs/manual/adding-packages-python.txt: fix outdated Python 3 sentence raphael.melotte at essensium.com
2019-09-10 17:29 ` Thomas Petazzoni
2019-09-24 14:32 ` Peter Korsgaard
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.