[Buildroot] [PATCH 1/1] package/python-future: fix dependency

Peter Korsgaard peter at korsgaard.com
Tue May 12 08:09:07 UTC 2020


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > On Mon, 11 May 2020 20:42:53 +0200
 > Louis Aussedat <aussedat.louis at gmail.com> wrote:

 >> python-future does not depends on python2.
 >> The package work with python 3.x.
 >> 
 >> Signed-off-by: Louis Aussedat <aussedat.louis at gmail.com>
 >> ---
 >> package/python-future/Config.in | 1 -
 >> 1 file changed, 1 deletion(-)
 >> 
 >> diff --git a/package/python-future/Config.in b/package/python-future/Config.in
 >> index 29303f334d..8a3fd38f36 100644
 >> --- a/package/python-future/Config.in
 >> +++ b/package/python-future/Config.in
 >> @@ -1,6 +1,5 @@
 >> config BR2_PACKAGE_PYTHON_FUTURE
 >> bool "python-future"
 >> -	depends on BR2_PACKAGE_PYTHON
 >> help
 >> Easy, clean, reliable Python 2/3 compatibility.

 > But is it useful for Python 3.x ? I thought it was providing Python 3.x
 > features to Python 2.x.

True, but if your code uses the module and you want to run it with
python 3.x, then you need a python3 version of the module.

Debian also provides both a python-future and a python3-future package.

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list