Skip to contentSkip to conversation

python-pyparted: update to 3.10.5

PATCH Superseded Tim Orling 2 participants 2 messages Aug 3, 2015 – Aug 20, 2015

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python-pyparted: update to 3.10.5

* Upstream changed from fedorahosted to github

---
 .../{python-pyparted_3.9.bb => python-pyparted_3.10.5.bb}   | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
 rename meta-python/recipes-extended/python-pyparted/{python-pyparted_3.9.bb => python-pyparted_3.10.5.bb} (54%)
meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.5.bb renamed from meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb +7 -6
similarity index 54%
rename from meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb
rename to meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.5.bb
index bfb4f6f..a89c897 100644
@@ -2,18 +2,19 @@ DESCRIPTION = "pyparted is a set of Python modules that provide Python programme
 an interface to libparted, the GNU parted library for disk partitioning and \
 filesystem manipulation."
 SUMMARY = "Python bindings for libparted"
-HOMEPAGE = "https://fedorahosted.org/pyparted/"
+HOMEPAGE = "https://github.com/rhinstaller/pyparted/"
 LICENSE = "GPL-2.0+"
 LIC_FILES_CHKSUM = "\
     file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
-    file://src/_pedmodule.c;startline=10;endline=22;md5=70c62bd73782a03f56a0571a9f08ea46 \
+    file://src/_pedmodule.c;startline=10;endline=22;md5=ebcb25dde1ac9c46e986dec79b404e7e \
 "
 DEPENDS += "parted"
 
-SRC_URI = "https://fedorahosted.org/releases/p/y/pyparted/pyparted-${PV}.tar.gz"
-SRC_URI[md5sum] = "f16c7ef7f5fa4a43fcb2a4654b487e39"
-SRC_URI[sha256sum] = "a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb"
-S = "${WORKDIR}/pyparted-${PV}"
+SRCNAME = "pyparted"
+SRC_URI = "https://github.com/rhinstaller/${SRCNAME}/archive/v${PV}.tar.gz"
+SRC_URI[md5sum] = "b303caf8e907a2541e71aa492494b5e5"
+SRC_URI[sha256sum] = "8cbaf024fbbc73cdceab2eac0937035052da48295970fe9eaa84b19d8e353e19"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
 
Signature · 1 line
2.1.0
#1 lore raw
Quoted 25 lines · Tim Orling

* Upstream changed from fedorahosted to github

---
 .../{python-pyparted_3.9.bb => python-pyparted_3.10.5.bb}   | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
 rename meta-python/recipes-extended/python-pyparted/{python-pyparted_3.9.bb => python-pyparted_3.10.5.bb} (54%)
meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.5.bb renamed from meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb +1 -2
similarity index 54%
rename from meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb
rename to meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.5.bb
index bfb4f6f..a89c897 100644
@@ -2,18 +2,19 @@ DESCRIPTION = "pyparted is a set of Python modules that provide Python programme
 an interface to libparted, the GNU parted library for disk partitioning and \
 filesystem manipulation."
 SUMMARY = "Python bindings for libparted"
-HOMEPAGE = "https://fedorahosted.org/pyparted/"
+HOMEPAGE = "https://github.com/rhinstaller/pyparted/"
 LICENSE = "GPL-2.0+"
 LIC_FILES_CHKSUM = "\
     file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
-    file://src/_pedmodule.c;startline=10;endline=22;md5=70c62bd73782a03f56a0571a9f08ea46 \

meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.5.bb DESCRIPTION = "pyparted is a set of Python modules that provide Python programme · line 14

Quoted 10 lines
meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.5.bb renamed from meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb +3 -4
+    file://src/_pedmodule.c;startline=10;endline=22;md5=ebcb25dde1ac9c46e986dec79b404e7e \
 "
 DEPENDS += "parted"
 
-SRC_URI = "https://fedorahosted.org/releases/p/y/pyparted/pyparted-${PV}.tar.gz"
-SRC_URI[md5sum] = "f16c7ef7f5fa4a43fcb2a4654b487e39"
-SRC_URI[sha256sum] = "a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb"
-S = "${WORKDIR}/pyparted-${PV}"
+SRCNAME = "pyparted"
+SRC_URI = "https://github.com/rhinstaller/${SRCNAME}/archive/v${PV}.tar.gz"

Don't use github archives, they are regenerated from time to time with different checksums and they have stupid filenames (prone to collision with other recipes).

Quoted 14 lines
meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.5.bb renamed from meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb +3 -0
+SRC_URI[md5sum] = "b303caf8e907a2541e71aa492494b5e5"
+SRC_URI[sha256sum] = "8cbaf024fbbc73cdceab2eac0937035052da48295970fe9eaa84b19d8e353e19"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
 
Signature · 7 lines
2.1.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]