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.

---
 meta/recipes-extended/pyparted/pyparted_3.9.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta/recipes-extended/pyparted/pyparted_3.9.bb
meta/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
Quoted 6 lines · Sujith H

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.

Why not add it to meta-python?

Quoted 17 lines
---
 meta/recipes-extended/pyparted/pyparted_3.9.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta/recipes-extended/pyparted/pyparted_3.9.bb
meta/recipes-extended/pyparted/pyparted_3.9.bb new file +3 -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."

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

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

^ drop

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

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#2 lore raw
Quoted 11 lines · Martin Jansa
Quoted 6 lines · Sujith H

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.

Why not add it to meta-python?

Sure. Sending the patch to meta-python for review.

Quoted 57 lines
Quoted 6 lines
---
 meta/recipes-extended/pyparted/pyparted_3.9.bb | 21

+++++++++++++++++++++

Review

Quoted 4 lines
 1 file changed, 21 insertions(+)
 create mode 100644 meta/recipes-extended/pyparted/pyparted_3.9.bb
(quoted diff) +0 -0

b/meta/recipes-extended/pyparted/pyparted_3.9.bb

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

Quoted 6 lines

new file mode 100644
index 0000000..7b284cc

meta/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/recipes-extended/pyparted/pyparted_3.9.bb line 2

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

and \

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

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

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

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

^ drop

meta/recipes-extended/pyparted/pyparted_3.9.bb line 15

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

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

meta/recipes-extended/pyparted/pyparted_3.9.bb line 17

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

"a56712e3d058ce3d859c158236dbbf45224018919efd3d880ea80f9e0d0bebbb"

Quoted 7 lines
meta/recipes-extended/pyparted/pyparted_3.9.bb new file +4 -1
+
+inherit distutils
+
+BBCLASSEXTEND += "native"
--

1.8.4

Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Martin 'JaMa' Jansa jabber: [email protected]

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