From 6e1292fe4db1d011edb8885868ed566a336c1438 Mon Sep 17 00:00:00 2001 From: Klaus Kurzmann Date: Sat, 28 Nov 2009 20:37:22 +0100 Subject: python-phoneutils_git: fix DEPENDS Signed-off-by: Klaus Kurzmann --- recipes/python/python-phoneutils_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'recipes/python') diff --git a/recipes/python/python-phoneutils_git.bb b/recipes/python/python-phoneutils_git.bb index c1e1dbe16e..c616a2beed 100644 --- a/recipes/python/python-phoneutils_git.bb +++ b/recipes/python/python-phoneutils_git.bb @@ -1,8 +1,10 @@ DESCRIPTION = "Python Bindings for libphone-utils" SECTION = "devel/python" -DEPENDS = "libphone-utils" +DEPENDS = "libphone-utils python-cython-native python-pyrex-native" +RDEPENDS = "libphone-utils" + PV = "0.0.2+gitr${SRCREV}" -PR = "r1" +PR = "r2" SRC_URI = "git://git.shr-project.org/repo/libphone-utils.git;protocol=http;branch=master" S = "${WORKDIR}/git/src/python" -- cgit v1.2.3 From a7c752d20f6a2623470734a0054e078aea4400b4 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 17 Dec 2009 09:49:18 -0700 Subject: python: only dep on tk if tk is in DISTRO_FEATURES. Signed-off-by: Chris Larson --- recipes/python/python_2.6.1.bb | 3 ++- recipes/python/python_2.6.2.bb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'recipes/python') diff --git a/recipes/python/python_2.6.1.bb b/recipes/python/python_2.6.1.bb index 0a6a253ae0..cc73dd77d6 100644 --- a/recipes/python/python_2.6.1.bb +++ b/recipes/python/python_2.6.1.bb @@ -1,5 +1,6 @@ require python.inc -DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib" +DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl zlib\ + ${@base_contains('DISTRO_FEATURES', 'tk', 'tk', '', d)}" DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" PR = "${INC_PR}.0" diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb index c367ce87c5..2369a4b324 100644 --- a/recipes/python/python_2.6.2.bb +++ b/recipes/python/python_2.6.2.bb @@ -1,5 +1,6 @@ require python.inc -DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib" +DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl zlib\ + ${@base_contains('DISTRO_FEATURES', 'tk', 'tk', '', d)}" DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" # set to .0 on every increase of INC_PR PR = "${INC_PR}.0" -- cgit v1.2.3 From 9582905ee7908edb20707034251eea266add2cc0 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sat, 2 Jan 2010 19:24:27 +0100 Subject: python-coherence_0.6.6.2.bb: created recipe for 0.6.6.2 --- recipes/python/python-coherence_0.6.6.2.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes/python/python-coherence_0.6.6.2.bb (limited to 'recipes/python') diff --git a/recipes/python/python-coherence_0.6.6.2.bb b/recipes/python/python-coherence_0.6.6.2.bb new file mode 100644 index 0000000000..fd41b409d2 --- /dev/null +++ b/recipes/python/python-coherence_0.6.6.2.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Coherence is a DLNA/UPnP mediaserver + backends" +SECTION = "devel/python" +LICENSE = "MIT" +HOMEPAGE = "http://coherence.beebits.net/wiki" +PR = "r0" + +inherit setuptools + +SRC_URI = "http://coherence.beebits.net/download/Coherence-${PV}.tar.gz" +S = "${WORKDIR}/Coherence-${PV}" + +FILES_${PN} += "${datadir}" + +DEPENDS = "libxml2 libxml2-native" +RDEPENDS_${PN} += "python-twisted-pair python-divmodepsilon python-nevow python-gst python-dbus \ + python-configobj python-twisted python-twisted-core python-twisted-protocols python-misc \ + python-zopeinterface python-modules python-pygobject python-gdata \ + python-divmodaxiom" + + -- cgit v1.2.3 From b87ef25ed7367b4c6f85eddb706470a288ffe593 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 9 Jan 2010 07:35:34 +0000 Subject: pyrtm: Added Python library for Remember the Time Signed-off-by: Martin Jansa --- recipes/python/pyrtm_0.2.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes/python/pyrtm_0.2.bb (limited to 'recipes/python') diff --git a/recipes/python/pyrtm_0.2.bb b/recipes/python/pyrtm_0.2.bb new file mode 100644 index 0000000000..a5a6fb2e2f --- /dev/null +++ b/recipes/python/pyrtm_0.2.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Python interface for Remember The Milk API." +AUTHOR = "Sridhar Ratnakumar / srid" +HOMEPAGE = "http://pypi.python.org/pypi/pyrtm" +PRIORITY = "optional" +LICENSE = "MIT" +DEPENDS = "python-native" +PR = "r0" + +SRC_URI = "http://pypi.python.org/packages/source/p/pyrtm/pyrtm-${PV}.tar.gz" + +SRCNAME = "pyrtm" + +inherit distutils + +PACKAGE_ARCH = "all" -- cgit v1.2.3 From 594f4567fbbe7b72c3a05dd337ebf2c1ed24611f Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Fri, 8 Jan 2010 21:20:07 -0800 Subject: python-pygobject-native: export GOBJECT_INTROSPECTION_CFLAGS --- recipes/python/python-pygobject-native_2.20.0.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes/python') diff --git a/recipes/python/python-pygobject-native_2.20.0.bb b/recipes/python/python-pygobject-native_2.20.0.bb index 40d7a9eeca..918ffa2643 100644 --- a/recipes/python/python-pygobject-native_2.20.0.bb +++ b/recipes/python/python-pygobject-native_2.20.0.bb @@ -11,6 +11,8 @@ SRC_URI = "\ # file://python-path.patch;patch=1 \ " +export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include" + do_stage_append() { install -d ${STAGING_BINDIR} install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants -- cgit v1.2.3 From 5c533a7fa229c0913de270135e1f66996edd4464 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Fri, 8 Jan 2010 21:21:36 -0800 Subject: python-pygobject: export GOBJECT_INTROSPECTION_CFLAGS --- recipes/python/python-pygobject_2.20.0.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes/python') diff --git a/recipes/python/python-pygobject_2.20.0.bb b/recipes/python/python-pygobject_2.20.0.bb index 2a07a4a1a4..10c94dcbc1 100644 --- a/recipes/python/python-pygobject_2.20.0.bb +++ b/recipes/python/python-pygobject_2.20.0.bb @@ -20,6 +20,8 @@ inherit autotools distutils-base pkgconfig export BUILD_SYS export HOST_SYS +export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include" + do_stage() { autotools_stage_all install -d ${STAGING_LIBDIR}/../share/pygobject/ -- cgit v1.2.3 From 562ac60eee09ef88220585f57a00226d986edb63 Mon Sep 17 00:00:00 2001 From: Kristoffer Ericson Date: Tue, 12 Jan 2010 21:31:06 +0100 Subject: fixed calling native binaries with host libraries Signed-off-by: Filip Zyzniewski Signed-off-by: Kristoffer Ericson --- recipes/python/python_2.6.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/python') diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb index 2369a4b324..647f420dc7 100644 --- a/recipes/python/python_2.6.2.bb +++ b/recipes/python/python_2.6.2.bb @@ -69,7 +69,7 @@ do_compile() { STAGING_LIBDIR=${STAGING_LIBDIR} \ STAGING_INCDIR=${STAGING_INCDIR} \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ - OPT="${CFLAGS}" + RUNSHARED= OPT="${CFLAGS}" } do_stage() { @@ -85,7 +85,7 @@ do_install() { STAGING_LIBDIR=${STAGING_LIBDIR} \ STAGING_INCDIR=${STAGING_INCDIR} \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ - DESTDIR=${D} LIBDIR=${libdir} install + DESTDIR=${D} LIBDIR=${libdir} RUNSHARED= install install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN} -- cgit v1.2.3 From 8cb3620fee3c4011367f53d7c69d014e21d45461 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Sun, 17 Jan 2010 16:06:29 +0100 Subject: python-pyid3lib: fix compiling for gcc4.x --- recipes/python/python-pyid3lib/gcc4-fix.patch | 13 +++++++++++++ recipes/python/python-pyid3lib_0.5.1.bb | 9 +++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 recipes/python/python-pyid3lib/gcc4-fix.patch (limited to 'recipes/python') diff --git a/recipes/python/python-pyid3lib/gcc4-fix.patch b/recipes/python/python-pyid3lib/gcc4-fix.patch new file mode 100644 index 0000000000..cfd972771f --- /dev/null +++ b/recipes/python/python-pyid3lib/gcc4-fix.patch @@ -0,0 +1,13 @@ +Index: pyid3lib-0.5.1/pyid3lib.cc +=================================================================== +--- pyid3lib-0.5.1.orig/pyid3lib.cc ++++ pyid3lib-0.5.1/pyid3lib.cc +@@ -1013,7 +1013,7 @@ + { + ID3_Frame* frame; + const char* str; +- char* slash; ++ const char* slash; + ID3_Field* fld; + int i; + diff --git a/recipes/python/python-pyid3lib_0.5.1.bb b/recipes/python/python-pyid3lib_0.5.1.bb index bf7e3d0a2f..1d24b347c9 100644 --- a/recipes/python/python-pyid3lib_0.5.1.bb +++ b/recipes/python/python-pyid3lib_0.5.1.bb @@ -4,11 +4,12 @@ PRIORITY = "optional" LICENSE = "LGPL" DEPENDS = "id3lib" SRCNAME = "pyid3lib" -PR = "r1" +PR = "r2" -SRC_URI = "${SOURCEFORGE_MIRROR}/pyid3lib/${SRCNAME}-${PV}.tar.bz2" +SRC_URI = "\ + ${SOURCEFORGE_MIRROR}/pyid3lib/${SRCNAME}-${PV}.tar.bz2\ + file://gcc4-fix.patch;patch=1 \ +" S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils - - -- cgit v1.2.3