Skip to contentSkip to conversation

package/python-pyparted: needs python3

PATCH New Fabrice Fontaine 3 participants 3 messages Jul 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-pyparted: needs python3

python3 is a mandatory dependency since version 3.11.5 and
https://github.com/dcantrell/pyparted/commit/c4949263538784036a5917195f956f8fcda9cf20

Fixes:
- http://autobuild.buildroot.org/results/7d93b4e5c3afebef8c4c19d1c6a0c26e71423191

---
 package/python-pyparted/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/python-pyparted/Config.in +2 -0
index 6e3bde2030..0e27ce1d2e 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYPARTED
 	bool "python-pyparted"
+	depends on BR2_PACKAGE_PYTHON3
 	depends on BR2_ENABLE_LOCALE # parted
 	depends on BR2_USE_WCHAR
 	depends on !BR2_TOOLCHAIN_USES_UCLIBC # parted
@@ -10,5 +11,6 @@ config BR2_PACKAGE_PYTHON_PYPARTED
 	  https://github.com/rhinstaller/pyparted
 
 comment "pyparted needs a glibc or musl toolchain w/ locale, wchar"
+	depends on BR2_PACKAGE_PYTHON3
 	depends on BR2_TOOLCHAIN_USES_UCLIBC || \
 		!BR2_ENABLE_LOCALE || !BR2_USE_WCHAR
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 package/python-pyparted: needs python3

Quoted 8 lines · Fabrice Fontaine

python3 is a mandatory dependency since version 3.11.5 and
https://github.com/dcantrell/pyparted/commit/c4949263538784036a5917195f956f8fcda9cf20

Fixes:
- http://autobuild.buildroot.org/results/7d93b4e5c3afebef8c4c19d1c6a0c26e71423191

Quoted 25 lines
---
 package/python-pyparted/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/python-pyparted/Config.in +2 -1
index 6e3bde2030..0e27ce1d2e 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYPARTED
        bool "python-pyparted"
+       depends on BR2_PACKAGE_PYTHON3
        depends on BR2_ENABLE_LOCALE # parted
        depends on BR2_USE_WCHAR
        depends on !BR2_TOOLCHAIN_USES_UCLIBC # parted
@@ -10,5 +11,6 @@ config BR2_PACKAGE_PYTHON_PYPARTED
          https://github.com/rhinstaller/pyparted
 
 comment "pyparted needs a glibc or musl toolchain w/ locale, wchar"
+       depends on BR2_PACKAGE_PYTHON3
        depends on BR2_TOOLCHAIN_USES_UCLIBC || \
                !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR
--

2.27.0

#2 lore raw

PATCH 1/1 package/python-pyparted: needs python3

In reply to Fabrice Fontaine
Quoted 10 lines · On Mon, 13 Jul 2020 11:10:03 +0200 Fabrice Fontaine…

python3 is a mandatory dependency since version 3.11.5 and
https://github.com/dcantrell/pyparted/commit/c4949263538784036a5917195f956f8fcda9cf20

Fixes:
- http://autobuild.buildroot.org/results/7d93b4e5c3afebef8c4c19d1c6a0c26e71423191

---
 package/python-pyparted/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com