summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-21 20:22:56 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-21 20:28:20 +0100
commit1d688481f622a38e09a741305aeebf5efa5e317a (patch)
treea4629b071bd6b74010e7ef8af2330f2c1fc9da9f /dev-python/ruledispatch/files
parentdev-python/rtgraph: Remove last-rited package (diff)
downloadgentoo-1d688481f622a38e09a741305aeebf5efa5e317a.tar.gz
gentoo-1d688481f622a38e09a741305aeebf5efa5e317a.tar.bz2
gentoo-1d688481f622a38e09a741305aeebf5efa5e317a.zip
dev-python/ruledispatch: Remove last-rited package
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ruledispatch/files')
-rw-r--r--dev-python/ruledispatch/files/ruledispatch_as_syntax_fix.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-python/ruledispatch/files/ruledispatch_as_syntax_fix.patch b/dev-python/ruledispatch/files/ruledispatch_as_syntax_fix.patch
deleted file mode 100644
index 47960b3c23f5..000000000000
--- a/dev-python/ruledispatch/files/ruledispatch_as_syntax_fix.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Added by: Jesus Rivero (Neurogeek)
-On: 25 Jul 2009
-Per Upstream bug: https://bugs.launchpad.net/ubuntu/+source/ruledispatch/+bug/342916
-
-diff -uNr RuleDispatch.orig/src/dispatch/__init__.py RuleDispatch/src/dispatch/__init__.py
---- RuleDispatch.orig/src/dispatch/__init__.py 2009-07-25 13:25:08.000000000 +0000
-+++ RuleDispatch/src/dispatch/__init__.py 2009-07-25 13:27:19.000000000 +0000
-@@ -95,7 +95,7 @@
- return decorate_assignment(callback)
-
-
--def as(*decorators):
-+def as_(*decorators):
- """Use Python 2.4 decorators w/Python 2.2+
-
- Example:
-Files RuleDispatch.orig/src/dispatch/__init__.pyc and RuleDispatch/src/dispatch/__init__.pyc differ
-Files RuleDispatch.orig/src/dispatch/interfaces.pyc and RuleDispatch/src/dispatch/interfaces.pyc differ
-diff -uNr RuleDispatch.orig/src/dispatch/predicates.py RuleDispatch/src/dispatch/predicates.py
---- RuleDispatch.orig/src/dispatch/predicates.py 2009-07-25 13:25:08.000000000 +0000
-+++ RuleDispatch/src/dispatch/predicates.py 2009-07-25 13:27:58.000000000 +0000
-@@ -236,7 +236,7 @@
-
- return or_, (EXPR_GETTER_ID,)
-
-- [as(classmethod)]
-+ [as_(classmethod)]
- def immediate(klass,seq):
- for item in seq:
- if item:
-@@ -260,7 +260,7 @@
-
- return and_, (EXPR_GETTER_ID,)
-
-- [as(classmethod)]
-+ [as_(classmethod)]
- def immediate(klass,seq):
- for item in seq:
- if not item:
-@@ -278,7 +278,7 @@
- return get(argIds[2])
- return ifelse, (EXPR_GETTER_ID,)
-
-- [as(classmethod)]
-+ [as_(classmethod)]
- def immediate(klass,seq):
- if seq[1]: return seq[0]
- return seq[2]
-