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 <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi 2020-06-29 15:12:25 +03:00 committed by Khem Raj
parent 588d32cae4
commit 2da77b348e

View File

@ -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 \