[oe] [meta-python][PATCH] pyparted: Add recipe

Paul Eggleton paul.eggleton at linux.intel.com
Tue Aug 12 13:59:34 UTC 2014


Hi Sujith,

Just some minor corrections:

On Tuesday 12 August 2014 18:48:16 Sujith H wrote:
> From: Sujith H <Sujith_Haridasan at mentor.com>
> 
> This recipe will provide a set of Python modules that
> provide Python programmers an interface to libparted,
> the GNU parted library for disk partitioning and filesystem
> manipulation.
> 
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> Signed-off-by: Sujith H <Sujith_Haridasan at mentor.com>
> ---
>  .../recipes-extended/pyparted/pyparted_3.9.bb       | 21
> +++++++++++++++++++++ 1 file changed, 21 insertions(+)
>  create mode 100644 meta-python/recipes-extended/pyparted/pyparted_3.9.bb
> 
> diff --git a/meta-python/recipes-extended/pyparted/pyparted_3.9.bb
> b/meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file mode
> 100644
> index 0000000..7b284cc
> --- /dev/null
> +++ b/meta-python/recipes-extended/pyparted/pyparted_3.9.bb
> @@ -0,0 +1,21 @@
> +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://fedorahosted.org/pyparted/"
> +SCM_URI = "git://git.fedorahosted.org/pyparted.git"

SCM_URI isn't a standard variable and doesn't seem to be used anywhere else in
the recipe - is this expected to be used somewhere?

> +LICENSE = "GPL-2.0+"
> +LIC_FILES_CHKSUM = "\
> +    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
> +    file://src/_pedmodule.c;startline=10;endline=22;md5=70c62bd73782a03f56a0571a9f08ea46 \ 
> +"
> +DEPENDS += "parted"
> +PR = "r0"

Please drop this PR value, it's redundant.

> +SRC_URI =
> "https://fedorahosted.org/releases/p/y/pyparted/pyparted-${PV}.tar.gz"
> +SRC_URI[md5sum] = "f16c7ef7f5fa4a43fcb2a4654b487e39"
> +SRC_URI[sha256sum] =
> "a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb" +
> +inherit distutils
> +
> +BBCLASSEXTEND += "native"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-devel mailing list