From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../python/python-gsl-0.2.0/cross-compile.patch | 18 ++++++++++++ recipes/nonworking/python/python-gsl_0.2.0.bb | 14 ++++++++++ recipes/nonworking/python/python-itools_0.50.1.bb | 12 ++++++++ .../python/python-lightmediascanner_0.2.0.bb | 10 +++++++ recipes/nonworking/python/python-pyx_0.6.bb | 13 +++++++++ recipes/nonworking/python/python-sword_1.5.10.bb | 32 ++++++++++++++++++++++ 6 files changed, 99 insertions(+) create mode 100644 recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch create mode 100644 recipes/nonworking/python/python-gsl_0.2.0.bb create mode 100644 recipes/nonworking/python/python-itools_0.50.1.bb create mode 100644 recipes/nonworking/python/python-lightmediascanner_0.2.0.bb create mode 100644 recipes/nonworking/python/python-pyx_0.6.bb create mode 100644 recipes/nonworking/python/python-sword_1.5.10.bb (limited to 'recipes/nonworking/python') diff --git a/recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch b/recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch new file mode 100644 index 0000000000..1c90d59c54 --- /dev/null +++ b/recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch @@ -0,0 +1,18 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- pygsl-0.2.0/gsl_Extension.py~cross-compile 2003-11-19 10:08:53.000000000 +0100 ++++ pygsl-0.2.0/gsl_Extension.py 2004-02-16 16:32:15.000000000 +0100 +@@ -85,8 +85,8 @@ + else: + self.gsl_config_tool="gsl-config" + +- self.prefix = self.get_gsl_info('--prefix').strip() +- self.cflags = self.get_gsl_info('--cflags').strip() ++ self.prefix = os.getenv( "STAGING_DIR" )+"/target" ++ self.cflags = self.get_gsl_info('--cflags').strip() + " -I%s/python2.5/include" % os.getenv( "STAGING_DIR" ) + self.libs = self.get_gsl_info('--libs').strip() + self.version = self._split_version(self.get_gsl_info('--version').strip()) + diff --git a/recipes/nonworking/python/python-gsl_0.2.0.bb b/recipes/nonworking/python/python-gsl_0.2.0.bb new file mode 100644 index 0000000000..38bd9e273f --- /dev/null +++ b/recipes/nonworking/python/python-gsl_0.2.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "GNU Scientific Library Python Bindings" +SECTION = "base" +PRIORITY = "optional" +DEPENDS = "gsl" +RDEPENDS = "python-core gsl" +SRCNAME = "pygsl" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + file://${FILESDIR}/cross-compile.patch;patch=1" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +export STAGING_DIR := "${STAGING_DIR}" diff --git a/recipes/nonworking/python/python-itools_0.50.1.bb b/recipes/nonworking/python/python-itools_0.50.1.bb new file mode 100644 index 0000000000..7879c6415e --- /dev/null +++ b/recipes/nonworking/python/python-itools_0.50.1.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "itools is a python web technologies library" +SECTION = "devel/python" +HOMEPAGE = "http://www.ikaaro.org/itools" +PRIORITY = "optional" +LICENSE = "LGPL" +SRCNAME = "itools" +PR = "ml0" + +SRC_URI = "http://download.ikaaro.org/itools/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils diff --git a/recipes/nonworking/python/python-lightmediascanner_0.2.0.bb b/recipes/nonworking/python/python-lightmediascanner_0.2.0.bb new file mode 100644 index 0000000000..c2a337d793 --- /dev/null +++ b/recipes/nonworking/python/python-lightmediascanner_0.2.0.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "Python bindings to the Lightweight media scanner" +SECTION = "devel/python" +AUTHOR = "Gustavo Barbieri" +LICENSE = "LGPL" +DEPENDS = "lightmediascanner python-cython-native" +PE = "1" + +SRC_URI = "https://garage.maemo.org/frs/download.php/4627/python-lightmediascanner-${PV}.tar.gz" + +inherit distutils diff --git a/recipes/nonworking/python/python-pyx_0.6.bb b/recipes/nonworking/python/python-pyx_0.6.bb new file mode 100644 index 0000000000..ced0b42fee --- /dev/null +++ b/recipes/nonworking/python/python-pyx_0.6.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "PyX is a Python package for the creation of encapsulated PostScript figures. \ +It provides both an abstraction of PostScript and a TeX/LaTeX interface. Complex tasks like \ +2d and 3d plots in publication-ready quality are built out of these primitives." +SECTION = "devel/python" +PRIORITY = "optional" +RDEPENDS = "python-core" +DEPENDS = "kpsewhich-native" +SRCNAME = "PyX" + +SRC_URI = "${SOURCEFORGE_MIRROR}/pyx/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils diff --git a/recipes/nonworking/python/python-sword_1.5.10.bb b/recipes/nonworking/python/python-sword_1.5.10.bb new file mode 100644 index 0000000000..4769a8814f --- /dev/null +++ b/recipes/nonworking/python/python-sword_1.5.10.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "Python bindings for the sword library" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS = "python-core sword" +DEPENDS = "sword-${PV} swig-native" +SRCNAME = "sword" +PR = "r0" + +SRC_URI = "http://crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz" + +S = "${WORKDIR}/${SRCNAME}-${PV}/bindings/swig/package" + +EXTRA_OECONF = "--with-sword-dir=${STAGING_DIR_HOST}${layout_exec_prefix}" + +inherit distutils autotools + +PARALLEL_MAKE = "" + +do_configure_prepend() { + touch ltmain.sh + ./autogen.sh +} + +do_compile() { + oe_runmake BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} pythonswig python_make +} + +do_install() { + cd ${S}/python + distutils_do_install +} -- cgit v1.2.3