Skip to contentSkip to conversation

python-pyparted: upgrade to latest python2 compatible commit to fix build with gcc10 -fno-common

PATCH In review Martin Jansa 2 participants 2 messages Aug 28, 2020 – Sep 11, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pyparted: upgrade to latest python2 compatible commit to fix build with gcc10 -fno-common

* this is one of last python2 compatible commits, before:
https://github.com/dcantrell/pyparted/commit/c4949263538784036a5917195f956f8fcda9cf20

---
 .../{python-pyparted_3.11.3.bb => python-pyparted_git.bb}    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
 rename recipes-extended/python-pyparted/{python-pyparted_3.11.3.bb => python-pyparted_git.bb} (88%)
recipes-extended/python-pyparted/python-pyparted_git.bb renamed from recipes-extended/python-pyparted/python-pyparted_3.11.3.bb +4 -1
similarity index 88%
rename from recipes-extended/python-pyparted/python-pyparted_3.11.3.bb
rename to recipes-extended/python-pyparted/python-pyparted_git.bb
index 86caf2a..1f36924 100644
@@ -11,8 +11,11 @@ LIC_FILES_CHKSUM = "\
     file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
 "
 
+# 3.11.4 tag + gcc10 fixes for -fno-common
+PV = "3.11.4+git${SRCPV}"
+
 # upstream only publishes releases in github archives which are discouraged
-SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
+SRCREV = "104ca13567c08c1188b126a395c4602841aae2c6"
 SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
 
 DEPENDS += "parted"
Signature · 1 line
2.25.1
#1 lore raw

Merged. Thank you.

Quoted 40 lines · Martin Jansa

* this is one of last python2 compatible commits, before:

https://github.com/dcantrell/pyparted/commit/c4949263538784036a5917195f956f8fcda9cf20

---
 .../{python-pyparted_3.11.3.bb => python-pyparted_git.bb}    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
 rename recipes-extended/python-pyparted/{python-pyparted_3.11.3.bb =>

python-pyparted_git.bb} (88%)

recipes-extended/python-pyparted/python-pyparted_git.bb renamed from recipes-extended/python-pyparted/python-pyparted_3.11.3.bb +3 -0
similarity index 88%
rename from recipes-extended/python-pyparted/python-pyparted_3.11.3.bb
rename to recipes-extended/python-pyparted/python-pyparted_git.bb
index 86caf2a..1f36924 100644
@@ -11,8 +11,11 @@ LIC_FILES_CHKSUM = "\
 
 file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2
 \
 "
 
+# 3.11.4 tag + gcc10 fixes for -fno-common
+PV = "3.11.4+git${SRCPV}"
+
 # upstream only publishes releases in github archives which are

discouraged

recipes-extended/python-pyparted/python-pyparted_git.bb renamed from recipes-extended/python-pyparted/python-pyparted_3.11.3.bb +1 -2
-SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
+SRCREV = "104ca13567c08c1188b126a395c4602841aae2c6"
 SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
 
 DEPENDS += "parted"
--

2.25.1