Patchwork [meta-python,v3] python-pyparted: Add recipe

login
register
mail settings
Submitter Sujith H
Date Aug. 22, 2014, 6:25 a.m.
Message ID <1408688705-20179-1-git-send-email-sujith.h@gmail.com>
Download mbox | patch
Permalink /patch/78791/
State Accepted, archived
Headers show

Comments

Sujith H - Aug. 22, 2014, 6:25 a.m.
From: Sujith H <Sujith_Haridasan@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@mentor.com>
Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
---
 .../python-pyparted/python-pyparted_3.9.bb          | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb
Tim Orling - Aug. 23, 2014, 4:16 a.m.
On Thu, Aug 21, 2014 at 11:25 PM, Sujith H <sujith.h@gmail.com> wrote:

> From: Sujith H <Sujith_Haridasan@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@mentor.com>
> Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
>

Acked-by and Tested-by: Tim Orling <TicoTimo@gmail.com>


> ---
>  .../python-pyparted/python-pyparted_3.9.bb          | 21
> +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>  create mode 100644 meta-python/recipes-extended/python-pyparted/
> python-pyparted_3.9.bb
>
> diff --git a/meta-python/recipes-extended/python-pyparted/
> python-pyparted_3.9.bb b/meta-python/recipes-extended/python-pyparted/
> python-pyparted_3.9.bb
> new file mode 100644
> index 0000000..919b301
> --- /dev/null
> +++ b/meta-python/recipes-extended/python-pyparted/python-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/"
> +LICENSE = "GPL-2.0+"
> +LIC_FILES_CHKSUM = "\
> +    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
> +
> file://src/_pedmodule.c;startline=10;endline=22;md5=70c62bd73782a03f56a0571a9f08ea46
> \
> +"
> +DEPENDS += "parted"
> +
> +SRC_URI = "
> https://fedorahosted.org/releases/p/y/pyparted/pyparted-${PV}.tar.gz"
> +SRC_URI[md5sum] = "f16c7ef7f5fa4a43fcb2a4654b487e39"
> +SRC_URI[sha256sum] =
> "a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb"
> +S = "${WORKDIR}/pyparted-${PV}"
> +
> +inherit distutils
> +
> +RDEPENDS_${PN} += "python-stringold python-codecs python-math"
> +BBCLASSEXTEND += "native"
> --
> 1.8.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb b/meta-python/recipes-extended/python-pyparted/python-pyparted_3.9.bb
new file mode 100644
index 0000000..919b301
--- /dev/null
+++ b/meta-python/recipes-extended/python-pyparted/python-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/"
+LICENSE = "GPL-2.0+"
+LIC_FILES_CHKSUM = "\
+    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
+    file://src/_pedmodule.c;startline=10;endline=22;md5=70c62bd73782a03f56a0571a9f08ea46 \
+"
+DEPENDS += "parted"
+
+SRC_URI = "https://fedorahosted.org/releases/p/y/pyparted/pyparted-${PV}.tar.gz"
+SRC_URI[md5sum] = "f16c7ef7f5fa4a43fcb2a4654b487e39"
+SRC_URI[sha256sum] = "a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb"
+S = "${WORKDIR}/pyparted-${PV}"
+
+inherit distutils
+
+RDEPENDS_${PN} += "python-stringold python-codecs python-math"
+BBCLASSEXTEND += "native"