From 2da77b348ea2b2894747cba3e9ce39debb3a3569 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 29 Jun 2020 15:12:25 +0300 Subject: 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 --- .../python-pyparted/python3-pyparted_3.11.3.bb | 27 ---------------------- .../python-pyparted/python3-pyparted_3.11.6.bb | 25 ++++++++++++++++++++ 2 files changed, 25 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb create mode 100644 meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb 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.3.bb deleted file mode 100644 index a801920c09..0000000000 --- a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "pyparted is a set of Python modules that provide Python programmers \ -an interface to libparted, the GNU parted library for disk partitioning and \ -filesystem manipulation." -SUMMARY = "Python bindings for libparted" -HOMEPAGE = "https://github.com/rhinstaller/pyparted" -LICENSE = "GPL-2.0+" -LIC_FILES_CHKSUM = "\ - file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ - file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \ -" -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 \ -" -RDEPENDS_${PN}_class-native = "" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb new file mode 100644 index 0000000000..63f4933667 --- /dev/null +++ b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "pyparted is a set of Python modules that provide Python programmers \ +an interface to libparted, the GNU parted library for disk partitioning and \ +filesystem manipulation." +SUMMARY = "Python bindings for libparted" +HOMEPAGE = "https://github.com/rhinstaller/pyparted" +LICENSE = "GPL-2.0+" +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" + +RDEPENDS_${PN}_class-target += " \ + parted (>= 2.3) \ + python3-stringold python3-codecs python3-math \ +" +RDEPENDS_${PN}_class-native = "" + +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg