diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-25 20:44:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-25 20:44:13 +0000 |
commit | 2b67142f3b510acd2aa6837738756384773490fa (patch) | |
tree | 0b5da4e815b319583e705270ef101413df225a8e /meta/packages | |
parent | bb6a165c582f0ce73f67a7262fa58007e21779df (diff) | |
download | openembedded-core-2b67142f3b510acd2aa6837738756384773490fa.tar.gz openembedded-core-2b67142f3b510acd2aa6837738756384773490fa.tar.bz2 openembedded-core-2b67142f3b510acd2aa6837738756384773490fa.zip |
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')
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 @@ +require python-iniparse_${PV}.bb +inherit native +DEPENDS = "python-native" +RDEPENDS = "" + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} +} 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 @@ +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/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 @@ +require python-urlgrabber_${PV}.bb +inherit native +DEPENDS = "python-native" +RDEPENDS = "" + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} +} 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 @@ +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/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 @@ +require yum-metadata-parser_${PV}.bb +inherit native +DEPENDS = "python-native sqlite3-native" +RDEPENDS = "" + +#BUILD_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0" + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} +} 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 @@ +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" +LICENSE = "GPL" +PR = "r0" + +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 |