mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
python3-pyparted: Consolidate in a single file
Consolidate inc and bb files into a single bb file. 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:
@@ -1,22 +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"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS_${PN}_class-target += " \
|
||||
parted (>= 2.3) \
|
||||
"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
@@ -1,8 +1,27 @@
|
||||
require python-pyparted.inc
|
||||
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
|
||||
|
||||
RDEPENDS_${PN} += "python3-stringold python3-codecs python3-math"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS_${PN}_class-target += " \
|
||||
parted (>= 2.3) \
|
||||
python3-stringold python3-codecs python3-math \
|
||||
"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
Reference in New Issue
Block a user