diff options
author | 2018-07-04 19:50:09 +0200 | |
---|---|---|
committer | 2018-07-05 23:50:27 +0200 | |
commit | 93a93bc81d9ea209d7bdadda9454827a3d4399aa (patch) | |
tree | 92a1c3e401aa4c12a2aacdcba031d13454d7a7e7 /dev-python/e4u/files | |
parent | app-admin/ansible: 2.5.6 bup (diff) | |
download | gentoo-93a93bc81d9ea209d7bdadda9454827a3d4399aa.tar.gz gentoo-93a93bc81d9ea209d7bdadda9454827a3d4399aa.tar.bz2 gentoo-93a93bc81d9ea209d7bdadda9454827a3d4399aa.zip |
dev-python/e4u: version bump to 0.1_rc5.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9053
Diffstat (limited to 'dev-python/e4u/files')
-rw-r--r-- | dev-python/e4u/files/change-emoji4unicode-url.patch | 14 | ||||
-rw-r--r-- | dev-python/e4u/files/initialize-e4u-tests.patch | 11 |
2 files changed, 7 insertions, 18 deletions
diff --git a/dev-python/e4u/files/change-emoji4unicode-url.patch b/dev-python/e4u/files/change-emoji4unicode-url.patch index d356e7d68cae..ff9e54bf72a0 100644 --- a/dev-python/e4u/files/change-emoji4unicode-url.patch +++ b/dev-python/e4u/files/change-emoji4unicode-url.patch @@ -1,11 +1,11 @@ ---- a/e4u/__init__.py 2013-06-13 09:14:06.000000000 +0200 -+++ b/e4u/__init__.py 2018-05-18 15:35:49.000000000 +0200 +--- a/e4u/__init__.py 2018-05-22 08:32:05.000000000 +0200 ++++ b/e4u/__init__.py 2018-07-04 19:40:53.000000000 +0200 @@ -11,15 +11,15 @@ _loader = None -def load(filename=None, -- url=r"http://emoji4unicode.googlecode.com/svn/trunk/data/emoji4unicode.xml", +- url=r"https://raw.githubusercontent.com/googlei18n/emoji4unicode/master/data/emoji4unicode.xml", +def load(filename=r"/usr/share/e4u/emoji4unicode.xml", + url=None, loader_class=None): @@ -14,19 +14,19 @@ reload(filename, url, loader_class) -def reload(filename=None, -- url=r"http://emoji4unicode.googlecode.com/svn/trunk/data/emoji4unicode.xml", +- url=r"https://raw.githubusercontent.com/googlei18n/emoji4unicode/master/data/emoji4unicode.xml", +def reload(filename=r"/usr/share/e4u/emoji4unicode.xml", + url=None, loader_class=None): u"""reload google's `emoji4unicode` project's xml file. must call this method first to use `e4u` library.""" if loader_class is None: ---- a/e4u/loader.py 2013-06-13 09:14:06.000000000 +0200 -+++ b/e4u/loader.py 2018-05-18 15:36:01.000000000 +0200 +--- a/e4u/loader.py 2018-05-22 08:32:05.000000000 +0200 ++++ b/e4u/loader.py 2018-07-04 19:43:05.000000000 +0200 @@ -32,7 +32,7 @@ self._translate_dictionaries = create_translate_dictionaries(self.symbols) -- def load(self, filename=None, url=r"http://emoji4unicode.googlecode.com/svn/trunk/data/emoji4unicode.xml"): +- def load(self, filename=None, url=r"https://raw.githubusercontent.com/googlei18n/emoji4unicode/master/data/emoji4unicode.xml"): + def load(self, filename=r"/usr/share/e4u/emoji4unicode.xml", url=None): if filename: xml = open(filename, 'r').read() diff --git a/dev-python/e4u/files/initialize-e4u-tests.patch b/dev-python/e4u/files/initialize-e4u-tests.patch deleted file mode 100644 index 4d9a25d5de99..000000000000 --- a/dev-python/e4u/files/initialize-e4u-tests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/test/test.py 2013-06-13 09:14:06.000000000 +0200 -+++ b/test/test.py 2018-05-16 13:40:22.000000000 +0200 -@@ -7,6 +7,8 @@ - import unittest - import e4u - -+e4u.load(filename=r"./e4u/data/emoji4unicode.xml") -+ - DISPLAY_INFO = False - - class TestCaseAbstract(object): |