Patchwork [meta-oe,3/7] python-cython: upgrade to 0.20.1

login
register
mail settings
Submitter Martin Jansa
Date June 4, 2014, 9:18 a.m.
Message ID <1401873504-32120-3-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/73201/
State Accepted, archived
Headers show

Comments

Martin Jansa - June 4, 2014, 9:18 a.m.
* 0.19+ version is required by newer python-efl-0.10.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...pend-docs-to-_Extension.extension.__doc__.patch | 27 ----------------------
 ...on-cython_0.15.1.bb => python-cython_0.20.1.bb} |  9 +++-----
 2 files changed, 3 insertions(+), 33 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/python/python-cython-0.15.1/0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch
 rename meta-oe/recipes-devtools/python/{python-cython_0.15.1.bb => python-cython_0.20.1.bb} (68%)

Patch

diff --git a/meta-oe/recipes-devtools/python/python-cython-0.15.1/0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch b/meta-oe/recipes-devtools/python/python-cython-0.15.1/0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch
deleted file mode 100644
index 9b9dd46..0000000
--- a/meta-oe/recipes-devtools/python/python-cython-0.15.1/0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch
+++ /dev/null
@@ -1,27 +0,0 @@ 
-From bfed128dfe9551a3a40b1ac4269f18ecfeac80a9 Mon Sep 17 00:00:00 2001
-From: Martin Jansa <Martin.Jansa@gmail.com>
-Date: Sat, 1 Oct 2011 11:46:30 +0200
-Subject: [PATCH] Don't append docs to _Extension.extension.__doc__
-
-* here it fails with TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' in setup.py
-
-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
----
- Cython/Distutils/extension.py |    1 -
- 1 files changed, 0 insertions(+), 1 deletions(-)
-
-diff --git a/Cython/Distutils/extension.py b/Cython/Distutils/extension.py
-index a5a6638..e76c1e7 100644
---- a/Cython/Distutils/extension.py
-+++ b/Cython/Distutils/extension.py
-@@ -16,7 +16,6 @@ except ImportError:
-     warnings = None
- 
- class Extension(_Extension.Extension):
--    _Extension.Extension.__doc__ + \
-     """pyrex_include_dirs : [string]
-         list of directories to search for Pyrex header files (.pxd) (in
-         Unix form for portability)
--- 
-1.7.6.1
-
diff --git a/meta-oe/recipes-devtools/python/python-cython_0.15.1.bb b/meta-oe/recipes-devtools/python/python-cython_0.20.1.bb
similarity index 68%
rename from meta-oe/recipes-devtools/python/python-cython_0.15.1.bb
rename to meta-oe/recipes-devtools/python/python-cython_0.20.1.bb
index 0bf057a..6c7507b 100644
--- a/meta-oe/recipes-devtools/python/python-cython_0.15.1.bb
+++ b/meta-oe/recipes-devtools/python/python-cython_0.20.1.bb
@@ -6,14 +6,11 @@  LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
 SRCNAME = "Cython"
 BBCLASSEXTEND = "native"
-PR = "r3"
 
-SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz \
-           file://0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch \
-"
+SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-SRC_URI[md5sum] = "171021b3845c9ca8bd6d8185b3cde664"
-SRC_URI[sha256sum] = "248123f2f02f2701a28d9452132ac835533b396a273cda9d361cb65c26067edc"
+SRC_URI[md5sum] = "52431696c64e618036537c4d9aa79d99"
+SRC_URI[sha256sum] = "31a563744a21d7b10355f25a3bca96b37ec5d32bdecfc75e93d65a5f7e62766c"
 
 inherit distutils