[oe-commits] Richard Purdie : Add python-urlgrabber, python-iniparser, yum-metadata-parser and native variants (from Poky)

GIT User account git at amethyst.openembedded.net
Thu Mar 19 14:45:55 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: ccf1cf94c2dda7e77d7bcba7a6d52950f5b01a69
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ccf1cf94c2dda7e77d7bcba7a6d52950f5b01a69

Author: Richard Purdie <richard at openedhand.com>
Date:   Mon Aug 25 20:44:13 2008 +0000

Add python-urlgrabber, python-iniparser, yum-metadata-parser and native variants (from Poky)

OE changes:

python-iniparse-native: use distutils_stage_all
python-urlgrabber-native: use distutils_stage_all
yum-metadata-parser-native: use distutils_stage_all

---

 recipes/python/python-iniparse-native_0.2.3.bb     |    9 +++++++++
 recipes/python/python-iniparse_0.2.3.bb            |   11 +++++++++++
 recipes/python/python-urlgrabber-native_3.1.0.bb   |    9 +++++++++
 recipes/python/python-urlgrabber_3.1.0.bb          |   11 +++++++++++
 recipes/python/yum-metadata-parser-native_1.1.2.bb |    9 +++++++++
 recipes/python/yum-metadata-parser_1.1.2.bb        |   13 +++++++++++++
 6 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/recipes/python/python-iniparse-native_0.2.3.bb b/recipes/python/python-iniparse-native_0.2.3.bb
new file mode 100644
index 0000000..68dd218
--- /dev/null
+++ b/recipes/python/python-iniparse-native_0.2.3.bb
@@ -0,0 +1,9 @@
+require python-iniparse_${PV}.bb
+inherit native
+DEPENDS = "python-native"
+RDEPENDS = ""
+PR = "r1"
+
+do_stage() {
+	distutils_stage_all
+}
diff --git a/recipes/python/python-iniparse_0.2.3.bb b/recipes/python/python-iniparse_0.2.3.bb
new file mode 100644
index 0000000..27a38f4
--- /dev/null
+++ b/recipes/python/python-iniparse_0.2.3.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "iniparse is a INI parser for Python"
+HOMEPAGE = "http://code.google.com/p/iniparse/"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://iniparse.googlecode.com/files/iniparse-${PV}.tar.gz"
+S = "${WORKDIR}/iniparse-${PV}"
+
+inherit distutils
diff --git a/recipes/python/python-urlgrabber-native_3.1.0.bb b/recipes/python/python-urlgrabber-native_3.1.0.bb
new file mode 100644
index 0000000..5c2af55
--- /dev/null
+++ b/recipes/python/python-urlgrabber-native_3.1.0.bb
@@ -0,0 +1,9 @@
+require python-urlgrabber_${PV}.bb
+inherit native
+DEPENDS = "python-native"
+RDEPENDS = ""
+PR = "r1"
+
+do_stage() {
+	distutils_stage_all
+}
diff --git a/recipes/python/python-urlgrabber_3.1.0.bb b/recipes/python/python-urlgrabber_3.1.0.bb
new file mode 100644
index 0000000..a8ccf8a
--- /dev/null
+++ b/recipes/python/python-urlgrabber_3.1.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "urlgrabber is a pure python package that drastically simplifies the fetching of files."
+HOMEPAGE = "http://linux.duke.edu/projects/urlgrabber/"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://linux.duke.edu/projects/urlgrabber/download/urlgrabber-${PV}.tar.gz"
+S = "${WORKDIR}/urlgrabber-${PV}"
+
+inherit distutils
diff --git a/recipes/python/yum-metadata-parser-native_1.1.2.bb b/recipes/python/yum-metadata-parser-native_1.1.2.bb
new file mode 100644
index 0000000..15d26a1
--- /dev/null
+++ b/recipes/python/yum-metadata-parser-native_1.1.2.bb
@@ -0,0 +1,9 @@
+require yum-metadata-parser_${PV}.bb
+inherit native
+DEPENDS = "python-native sqlite3-native glib-2.0-native libxml2-native"
+RDEPENDS = ""
+PR = "r1"
+
+do_stage() {
+	distutils_stage_all
+}
diff --git a/recipes/python/yum-metadata-parser_1.1.2.bb b/recipes/python/yum-metadata-parser_1.1.2.bb
new file mode 100644
index 0000000..24de761
--- /dev/null
+++ b/recipes/python/yum-metadata-parser_1.1.2.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "C-based metadata parser to quickly parse xml metadata into sqlite databases."
+HOMEPAGE = "http://linux.duke.edu/projects/yum/download.ptml"
+SECTION = "devel/python"
+PRIORITY = "optional"
+DEPENDS = "python sqlite3 glib-2.0 libxml2"
+LICENSE = "GPL"
+
+SRC_URI = "http://linux.duke.edu/projects/yum/download/yum-metadata-parser/yum-metadata-parser-${PV}.tar.gz"
+S = "${WORKDIR}/yum-metadata-parser-${PV}"
+
+TARGET_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0"
+
+inherit distutils





More information about the Openembedded-commits mailing list