diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-05 23:14:34 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-05 23:26:23 +0100 |
commit | 24f83d11a324b0759e90a6e61f8750aa5b302f1a (patch) | |
tree | 1061008fd6e1393047c3c3ae993052f4a200ba82 /app-i18n/ibus-sunpinyin | |
parent | app-i18n/xsunpinyin: Remove old (diff) | |
download | gentoo-24f83d11a324b0759e90a6e61f8750aa5b302f1a.tar.gz gentoo-24f83d11a324b0759e90a6e61f8750aa5b302f1a.tar.bz2 gentoo-24f83d11a324b0759e90a6e61f8750aa5b302f1a.zip |
app-i18n/ibus-sunpinyin: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-i18n/ibus-sunpinyin')
-rw-r--r-- | app-i18n/ibus-sunpinyin/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch | 16 | ||||
-rw-r--r-- | app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1-r1.ebuild | 53 |
3 files changed, 0 insertions, 70 deletions
diff --git a/app-i18n/ibus-sunpinyin/Manifest b/app-i18n/ibus-sunpinyin/Manifest index 910333931280..ab2a2125633b 100644 --- a/app-i18n/ibus-sunpinyin/Manifest +++ b/app-i18n/ibus-sunpinyin/Manifest @@ -1,2 +1 @@ DIST sunpinyin-2.0.4_pre20200306162733.tar.gz 547519 BLAKE2B 6e0e4457217d7b85221cab15173f588a5c7c039208a8f6cd48ed5fb21c5b5eae2f4616d6fddbf6eff8a006193097de26c866d5385d4602f41059ee8d7e52a2d5 SHA512 e8cf73aeca8dcbc7dd6f51f034a9a0363201bc14a814800e071c987933935b0e8039aa84178a6bd1cba1c7dee4b25b2d5546e78ea683e68e8981afea48fdab33 -DIST sunpinyin-3.0.0_rc1.tar.gz 547138 BLAKE2B 682e733241d690d1fef8ce452c497a894c5ab61bf5298c1f292ce3a25a681d594744db43ebd51b3e59274cce0e47a1bce15a793f2c20e2998915c3432f2a7c32 SHA512 c9d4936de5835a7f02e52c5b32bf1a42d76bf7588449aaa813f3df7ab2d72f3ca0f4e18f74a60be4860f0724b5e05cbe567c67e6f3150b0e71b23b3a9002fc5e diff --git a/app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch b/app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch deleted file mode 100644 index 07f4699680ef..000000000000 --- a/app-i18n/ibus-sunpinyin/files/ibus-sunpinyin-python3.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- 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 - diff --git a/app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1-r1.ebuild b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1-r1.ebuild deleted file mode 100644 index 6037fa22fe86..000000000000 --- a/app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -PLOCALES="zh_CN" -PYTHON_COMPAT=( python2_7 ) - -inherit l10n python-single-r1 scons-utils toolchain-funcs vcs-snapshot - -MY_P="${P#*-}" - -DESCRIPTION="Chinese SunPinyin engine for IBus" -HOMEPAGE="https://github.com/sunpinyin/sunpinyin" -SRC_URI="https://github.com/${PN#*-}/${PN#*-}/archive/v${PV/_rc/-rc}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 CDDL" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+nls" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep ' - app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}] - ') - ~app-i18n/sunpinyin-${PV}:= - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext )" -S="${WORKDIR}/${MY_P}" - -PATCHES=( "${FILESDIR}"/${PN}-python3.patch ) - -src_prepare() { - sed -i "/^locales/s/'.*'/$(l10n_get_locales | sed "s/\([^[:space:]]\+\)/\'\1\',/g")/" wrapper/ibus/SConstruct - sed -i "s/python/${EPYTHON}/" wrapper/ibus/setup/${PN/-/-setup-}.in - - default - tc-export CXX -} - -src_compile() { - escons -C wrapper/ibus \ - --prefix="${EPREFIX}"/usr \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --libexecdir="${EPREFIX}"/usr/libexec -} - -src_install() { - escons -C wrapper/ibus --install-sandbox="${D}" install - dodoc wrapper/ibus/README -} |