diff options
author | Ian Delaney <idella4@gentoo.org> | 2012-11-07 16:25:30 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2012-11-07 16:25:30 +0000 |
commit | 882decd4c552ba6d3968aa327b30a05c19d217f4 (patch) | |
tree | c352d89ef699816aaed2d3de98ea94b7b22d47c2 /dev-python/wehjit/files | |
parent | Remove old (diff) | |
download | historical-882decd4c552ba6d3968aa327b30a05c19d217f4.tar.gz historical-882decd4c552ba6d3968aa327b30a05c19d217f4.tar.bz2 historical-882decd4c552ba6d3968aa327b30a05c19d217f4.zip |
patch added skipping invalid test(s), python2.5 test restricted, test phases upgraded, fixes Bug #429812
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64
Diffstat (limited to 'dev-python/wehjit/files')
-rw-r--r-- | dev-python/wehjit/files/wehjit-0.2.2-SkipTest.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/wehjit/files/wehjit-0.2.2-SkipTest.patch b/dev-python/wehjit/files/wehjit-0.2.2-SkipTest.patch new file mode 100644 index 000000000000..057d70747e74 --- /dev/null +++ b/dev-python/wehjit/files/wehjit-0.2.2-SkipTest.patch @@ -0,0 +1,23 @@ +diff -ur wehjit-0.2.2.orig/wehjit/collection.py wehjit-0.2.2/wehjit/collection.py +--- wehjit/collection.py 2010-02-11 16:26:14.000000000 +0800 ++++ wehjit/collection.py 2012-11-08 14:24:40.326482713 +0800 +@@ -22,6 +22,11 @@ + Collect widget plugins together in a `Collection`. + """ + ++import sys ++if sys.version_info[:2] == (2, 7): ++ import unittest ++else: ++ import unittest2 as unittest + import inspect + import os + from os import path +@@ -130,6 +135,7 @@ + """ + return name in self.__plugins + ++ @unittest.skip("Plugin not in gentoo") + def __getitem__(self, name): + """ + Return the plugin named ``name``. |