Skip to contentSkip to conversation

pyparted: Add recipe

PATCH In review Sujith H 2 participants 3 messages Aug 12, 2014

lore
Share & tools
lore

Sujith H

author
#0 lore raw

PATCH 1/1 pyparted: Add recipe

From: Sujith H <[email protected]>

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.

---
 .../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
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +21 -0
new file mode 100644
index 0000000..7b284cc
@@ -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"
+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"
+
+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"
Signature · 1 line
1.8.4
#1 lore raw

Hi Sujith,

Just some minor corrections:

Quoted 21 lines · On Tuesday 12 August 2014 18:48:16 Sujith H wrote:

From: Sujith H <[email protected]>

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.

---
 .../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
(quoted diff) +0 -0

b/meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file mode 100644
index 0000000..7b284cc

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 6

Quoted 6 lines
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +6 -0
@@ -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?

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 13

Quoted 7 lines
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +7 -0
+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.

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 21

Quoted 8 lines
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +1 -0
+SRC_URI =

"https://fedorahosted.org/releases/p/y/pyparted/pyparted-${PV}.tar.gz"

meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +2 -0
+SRC_URI[md5sum] = "f16c7ef7f5fa4a43fcb2a4654b487e39"
+SRC_URI[sha256sum] =

"a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb" +

meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +3 -0
+inherit distutils
+
+BBCLASSEXTEND += "native"

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
author
#2 lore raw

Hi Paul,

Quoted 31 lines · Paul Eggleton

Hi Sujith,

Just some minor corrections:

Quoted 7 lines · On Tuesday 12 August 2014 18:48:16 Sujith H wrote:

From: Sujith H <[email protected]>

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.

Quoted 6 lines
---
 .../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

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 1

Quoted 9 lines
(quoted diff) +0 -0

b/meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file mode 100644
index 0000000..7b284cc

meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +1 -0
@@ -0,0 +1,21 @@
+DESCRIPTION = "pyparted is a set of Python modules that provide Python

programmers \

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 2

Quoted 1 line
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +1 -0
+an interface to libparted, the GNU parted library for disk partitioning

and \

Quoted 10 lines

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 6

Quoted 4 lines
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +4 -0
+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?

Ok I will drop SCM_URI. No its not used anywhere in the recipe.

Quoted 6 lines

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 14

Quoted 4 lines
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +4 -0
+LICENSE = "GPL-2.0+"
+LIC_FILES_CHKSUM = "\
+    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
+

file://src/_pedmodule.c;startline=10;endline=22;md5=70c62bd73782a03f56a0571a9f08ea46
\

Quoted 6 lines

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 13

Quoted 3 lines
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +3 -0
+"
+DEPENDS += "parted"
+PR = "r0"

Please drop this PR value, it's redundant.

Sure I will drop PR value too.

Quoted 18 lines

meta-python/recipes-extended/pyparted/pyparted_3.9.bb line 21

Quoted 9 lines
meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +1 -0
+SRC_URI =

"https://fedorahosted.org/releases/p/y/pyparted/pyparted-${PV}.tar.gz"

meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +2 -0
+SRC_URI[md5sum] = "f16c7ef7f5fa4a43fcb2a4654b487e39"
+SRC_URI[sha256sum] =

"a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb" +

meta-python/recipes-extended/pyparted/pyparted_3.9.bb new file +3 -0
+inherit distutils
+
+BBCLASSEXTEND += "native"

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

Signature · 5 lines
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info