Skip to contentSkip to conversation

package/python-shutilwhich: also available in python3

PATCH New Yann E. MORIN 3 participants 3 messages Dec 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-shutilwhich: also available in python3

When in python3, shutilwhich will simply use shutil.which.

Some packages (e.g. crossbar.io) unconditionally require shutilwhich, even when they are running under python3.

So, enable python-shutilwhich even for python3.

Cc Mauro Condarelli <[email protected]>
Cc Yegor Yefremov <[email protected]>
---
 package/python-shutilwhich/Config.in | 1 -
 1 file changed, 1 deletion(-)
package/python-shutilwhich/Config.in +0 -1
index abdc8d77a1..a75a63bbf4 100644
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_SHUTILWHICH
 	bool "python-shutilwhich"
-	depends on BR2_PACKAGE_PYTHON
 	help
 	  shutil.which for those not using Python 3.3 yet.
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/python-shutilwhich: also available in python3

Quoted 10 lines · Yann E. MORIN

When in python3, shutilwhich will simply use shutil.which.

Some packages (e.g. crossbar.io) unconditionally require shutilwhich, even when they are running under python3.

So, enable python-shutilwhich even for python3.

Cc Mauro Condarelli <[email protected]>
Cc Yegor Yefremov <[email protected]>
Quoted 18 lines
---
 package/python-shutilwhich/Config.in | 1 -
 1 file changed, 1 deletion(-)
package/python-shutilwhich/Config.in +0 -2
index abdc8d77a1..a75a63bbf4 100644
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_SHUTILWHICH
        bool "python-shutilwhich"
-       depends on BR2_PACKAGE_PYTHON
        help
          shutil.which for those not using Python 3.3 yet.
 
--

2.11.0

#2 lore raw

PATCH 1/1 package/python-shutilwhich: also available in python3

In reply to Yann E. MORIN

Hello,

Quoted 5 lines · Yann E. MORIN

When in python3, shutilwhich will simply use shutil.which.

Some packages (e.g. crossbar.io) unconditionally require shutilwhich, even when they are running under python3.

Quoted 8 lines

So, enable python-shutilwhich even for python3.

Cc Mauro Condarelli <[email protected]>
Cc Yegor Yefremov <[email protected]>
---
 package/python-shutilwhich/Config.in | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com