python-cython: add patch to fix build error with some distutils packages

* fails with TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' in setup.py
  when using python-2.6 or python-2.7 (don't know about python-3*)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Martin Jansa
2011-10-01 11:49:08 +02:00
committed by Koen Kooi
parent 1f4e99d526
commit 6cba8fe62d
2 changed files with 31 additions and 1 deletions

View File

@@ -6,8 +6,11 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
SRCNAME = "Cython"
BBCLASSEXTEND = "native"
PR = "r1"
SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz"
SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz \
file://0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
SRC_URI[md5sum] = "171021b3845c9ca8bd6d8185b3cde664"