summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-04 16:45:57 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-04 16:45:57 +0000
commit6365e9ab15493db37095cfaa2c0cd3f008cf87cb (patch)
tree9a29e8065ec6f6ec7a6f1b2d219ffc91a96f007a /dev-python/cython/files
parentUnmask KDE SC 4.6.0 (diff)
downloadgentoo-2-6365e9ab15493db37095cfaa2c0cd3f008cf87cb.tar.gz
gentoo-2-6365e9ab15493db37095cfaa2c0cd3f008cf87cb.tar.bz2
gentoo-2-6365e9ab15493db37095cfaa2c0cd3f008cf87cb.zip
Delete older ebuilds.
Diffstat (limited to 'dev-python/cython/files')
-rw-r--r--dev-python/cython/files/cython-0.14-__new__.patch26
-rw-r--r--dev-python/cython/files/cython-0.14-python-3.patch37
2 files changed, 0 insertions, 63 deletions
diff --git a/dev-python/cython/files/cython-0.14-__new__.patch b/dev-python/cython/files/cython-0.14-__new__.patch
deleted file mode 100644
index 4a794a2c9c7a..000000000000
--- a/dev-python/cython/files/cython-0.14-__new__.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://github.com/cython/cython/commit/e3c9a78686b7a7f0d36da8e6189b1e1fb4037c73
-
---- Cython/Compiler/Nodes.py
-+++ Cython/Compiler/Nodes.py
-@@ -1988,7 +1988,7 @@
- # staticmethod() was overridden - not much we can do here ...
- self.is_staticmethod = False
-
-- if self.name == '__new__':
-+ if self.name == '__new__' and env.is_py_class_scope:
- self.is_staticmethod = 1
-
- self.analyse_argument_types(env)
---- Cython/Compiler/Symtab.py
-+++ Cython/Compiler/Symtab.py
-@@ -1535,9 +1535,8 @@
- if name in ('__eq__', '__ne__', '__lt__', '__gt__', '__le__', '__ge__'):
- error(pos, "Special method %s must be implemented via __richcmp__" % name)
- if name == "__new__":
-- warning(pos, "__new__ method of extension type will change semantics "
-+ error(pos, "__new__ method of extension type will change semantics "
- "in a future version of Pyrex and Cython. Use __cinit__ instead.")
-- name = EncodedString("__cinit__")
- entry = self.declare_var(name, py_object_type, pos, visibility='extern')
- special_sig = get_special_method_signature(name)
- if special_sig:
diff --git a/dev-python/cython/files/cython-0.14-python-3.patch b/dev-python/cython/files/cython-0.14-python-3.patch
deleted file mode 100644
index b5cde11fa189..000000000000
--- a/dev-python/cython/files/cython-0.14-python-3.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://github.com/cython/cython/commit/b1f7f744b338e97753b5da24037f98397dc751db
-
---- Cython/Build/Inline.py
-+++ Cython/Build/Inline.py
-@@ -52,9 +52,12 @@
- symbol_collector = AllSymbols()
- symbol_collector(tree)
- unbound = []
-- import __builtin__
-+ try:
-+ import builtins
-+ except ImportError:
-+ import __builtin__ as builtins
- for name in symbol_collector.names:
-- if not tree.scope.lookup(name) and not hasattr(__builtin__, name):
-+ if not tree.scope.lookup(name) and not hasattr(builtins, name):
- unbound.append(name)
- return unbound
-
-@@ -79,7 +82,7 @@
- return 'numpy.ndarray[numpy.%s_t, ndim=%s]' % (arg.dtype.name, arg.ndim)
- else:
- for base_type in py_type.mro():
-- if base_type.__module__ == '__builtin__':
-+ if base_type.__module__ in ('__builtin__', 'builtins'):
- return 'object'
- module = context.find_module(base_type.__module__, need_pxd=False)
- if module:
-@@ -125,7 +128,7 @@
- arg_names.sort()
- arg_sigs = tuple([(get_type(kwds[arg], ctx), arg) for arg in arg_names])
- key = code, arg_sigs, sys.version_info, sys.executable, Cython.__version__
-- module_name = "_cython_inline_" + hashlib.md5(str(key)).hexdigest()
-+ module_name = "_cython_inline_" + hashlib.md5(str(key).encode('utf-8')).hexdigest()
- try:
- if not os.path.exists(lib_dir):
- os.makedirs(lib_dir)