diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-08-09 22:23:06 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-08-09 22:23:06 +0900 |
commit | dc24cff689054f4d8b965117002f4e7082849bff (patch) | |
tree | be61eb7dc49ef65cb48f74b8b546f2b9a9a81135 /app-i18n/ibus-sunpinyin/files | |
parent | app-i18n/ibus-sunpinyin: update to EAPI 6 (diff) | |
download | gentoo-dc24cff689054f4d8b965117002f4e7082849bff.tar.gz gentoo-dc24cff689054f4d8b965117002f4e7082849bff.tar.bz2 gentoo-dc24cff689054f4d8b965117002f4e7082849bff.zip |
app-i18n/ibus-sunpinyin: new upstream release
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-i18n/ibus-sunpinyin/files')
-rw-r--r-- | app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch b/app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch new file mode 100644 index 000000000000..07f4699680ef --- /dev/null +++ b/app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch @@ -0,0 +1,16 @@ +--- a/wrapper/ibus/setup/main.py ++++ b/wrapper/ibus/setup/main.py +@@ -37,8 +37,11 @@ + import sys + import os + from os import path +-import gtk +-import ibus ++from gi import require_version as gi_require_version ++gi_require_version('Gtk', '3.0') ++gi_require_version('IBus', '1.0') ++from gi.repository import Gtk as gtk ++from gi.repository import IBus as ibus + import gettext + import locale + |