summaryrefslogtreecommitdiff
path: root/recipes/nonworking/python
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/nonworking/python
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
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 <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/nonworking/python')
-rw-r--r--recipes/nonworking/python/python-gsl-0.2.0/cross-compile.patch18
-rw-r--r--recipes/nonworking/python/python-gsl_0.2.0.bb14
-rw-r--r--recipes/nonworking/python/python-itools_0.50.1.bb12
-rw-r--r--recipes/nonworking/python/python-lightmediascanner_0.2.0.bb10
-rw-r--r--recipes/nonworking/python/python-pyx_0.6.bb13
-rw-r--r--recipes/nonworking/python/python-sword_1.5.10.bb32
6 files changed, 99 insertions, 0 deletions
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
+}