From 2da77b348ea2b2894747cba3e9ce39debb3a3569 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 29 Jun 2020 15:12:25 +0300 Subject: [PATCH] python3-pyparted: Upgrade 3.11.3 -> 3.11.6 Inherit pypi. Upgrade to release 3.11.6: - Use preprocessor for the _ped module and what constants to include - Reduce libparted requirement to 3.2 - Update the pypi target in the Makefile - Reduce minimum Python required to 3.5 Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- ...parted_3.11.3.bb => python3-pyparted_3.11.6.bb} | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) rename meta-python/recipes-extended/python-pyparted/{python3-pyparted_3.11.3.bb => python3-pyparted_3.11.6.bb} (73%) diff --git a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb similarity index 73% rename from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb rename to meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb index a801920c09..63f4933667 100644 --- a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb +++ b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb @@ -8,16 +8,14 @@ LIC_FILES_CHKSUM = "\ file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \ " + +SRC_URI[md5sum] = "b85dcaecc3106eb6e9a117270b09615e" +SRC_URI[sha256sum] = "727ccdf308c194069aa9797f7a6a973bc95b2e407cdf5d58d6c8bc4c9dec92dc" + +inherit pypi distutils3 + DEPENDS += "parted" -# upstream only publishes releases in github archives which are discouraged -SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8" -SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https" - -inherit distutils3 - -S = "${WORKDIR}/git" - RDEPENDS_${PN}_class-target += " \ parted (>= 2.3) \ python3-stringold python3-codecs python3-math \