summaryrefslogtreecommitdiffstats
path: root/meta/packages/python
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-08-25 20:44:13 +0000
committerRichard Purdie <richard@openedhand.com>2008-08-25 20:44:13 +0000
commit2b67142f3b510acd2aa6837738756384773490fa (patch)
tree0b5da4e815b319583e705270ef101413df225a8e /meta/packages/python
parentbb6a165c582f0ce73f67a7262fa58007e21779df (diff)
downloadpoky-2b67142f3b510acd2aa6837738756384773490fa.tar.gz
Add python-urlgrabber, python-iniparser, yum-metadata-parser and native varients
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5097 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/python')
-rw-r--r--meta/packages/python/python-iniparse-native_0.2.3.bb9
-rw-r--r--meta/packages/python/python-iniparse_0.2.3.bb11
-rw-r--r--meta/packages/python/python-urlgrabber-native_3.1.0.bb9
-rw-r--r--meta/packages/python/python-urlgrabber_3.1.0.bb11
-rw-r--r--meta/packages/python/yum-metadata-parser-native_1.1.2.bb11
-rw-r--r--meta/packages/python/yum-metadata-parser_1.1.2.bb13
6 files changed, 64 insertions, 0 deletions
diff --git a/meta/packages/python/python-iniparse-native_0.2.3.bb b/meta/packages/python/python-iniparse-native_0.2.3.bb
new file mode 100644
index 0000000000..ab799db82b
--- /dev/null
+++ b/meta/packages/python/python-iniparse-native_0.2.3.bb
@@ -0,0 +1,9 @@
1require python-iniparse_${PV}.bb
2inherit native
3DEPENDS = "python-native"
4RDEPENDS = ""
5
6do_stage() {
7 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
8 ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
9}
diff --git a/meta/packages/python/python-iniparse_0.2.3.bb b/meta/packages/python/python-iniparse_0.2.3.bb
new file mode 100644
index 0000000000..27a38f4249
--- /dev/null
+++ b/meta/packages/python/python-iniparse_0.2.3.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "iniparse is a INI parser for Python"
2HOMEPAGE = "http://code.google.com/p/iniparse/"
3SECTION = "devel/python"
4PRIORITY = "optional"
5LICENSE = "GPL"
6PR = "r0"
7
8SRC_URI = "http://iniparse.googlecode.com/files/iniparse-${PV}.tar.gz"
9S = "${WORKDIR}/iniparse-${PV}"
10
11inherit distutils
diff --git a/meta/packages/python/python-urlgrabber-native_3.1.0.bb b/meta/packages/python/python-urlgrabber-native_3.1.0.bb
new file mode 100644
index 0000000000..01aebee980
--- /dev/null
+++ b/meta/packages/python/python-urlgrabber-native_3.1.0.bb
@@ -0,0 +1,9 @@
1require python-urlgrabber_${PV}.bb
2inherit native
3DEPENDS = "python-native"
4RDEPENDS = ""
5
6do_stage() {
7 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
8 ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
9}
diff --git a/meta/packages/python/python-urlgrabber_3.1.0.bb b/meta/packages/python/python-urlgrabber_3.1.0.bb
new file mode 100644
index 0000000000..a8ccf8ae57
--- /dev/null
+++ b/meta/packages/python/python-urlgrabber_3.1.0.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "urlgrabber is a pure python package that drastically simplifies the fetching of files."
2HOMEPAGE = "http://linux.duke.edu/projects/urlgrabber/"
3SECTION = "devel/python"
4PRIORITY = "optional"
5LICENSE = "GPL"
6PR = "r0"
7
8SRC_URI = "http://linux.duke.edu/projects/urlgrabber/download/urlgrabber-${PV}.tar.gz"
9S = "${WORKDIR}/urlgrabber-${PV}"
10
11inherit distutils
diff --git a/meta/packages/python/yum-metadata-parser-native_1.1.2.bb b/meta/packages/python/yum-metadata-parser-native_1.1.2.bb
new file mode 100644
index 0000000000..4e4ab9f8bc
--- /dev/null
+++ b/meta/packages/python/yum-metadata-parser-native_1.1.2.bb
@@ -0,0 +1,11 @@
1require yum-metadata-parser_${PV}.bb
2inherit native
3DEPENDS = "python-native sqlite3-native"
4RDEPENDS = ""
5
6#BUILD_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0"
7
8do_stage() {
9 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
10 ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
11}
diff --git a/meta/packages/python/yum-metadata-parser_1.1.2.bb b/meta/packages/python/yum-metadata-parser_1.1.2.bb
new file mode 100644
index 0000000000..0f9ed80572
--- /dev/null
+++ b/meta/packages/python/yum-metadata-parser_1.1.2.bb
@@ -0,0 +1,13 @@
1DESCRIPTION = "C-based metadata parser to quickly parse xml metadata into sqlite databases."
2HOMEPAGE = "http://linux.duke.edu/projects/yum/download.ptml"
3SECTION = "devel/python"
4PRIORITY = "optional"
5LICENSE = "GPL"
6PR = "r0"
7
8SRC_URI = "http://linux.duke.edu/projects/yum/download/yum-metadata-parser/yum-metadata-parser-${PV}.tar.gz"
9S = "${WORKDIR}/yum-metadata-parser-${PV}"
10
11TARGET_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0"
12
13inherit distutils