From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- app-i18n/ibus-sunpinyin/Manifest | 2 +- .../ibus-sunpinyin-3.0.0_rc1-r1.ebuild | 53 ++++++++++++++++++++++ .../ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1.ebuild | 51 --------------------- 3 files changed, 54 insertions(+), 52 deletions(-) create mode 100644 app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1-r1.ebuild delete mode 100644 app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1.ebuild (limited to 'app-i18n/ibus-sunpinyin') diff --git a/app-i18n/ibus-sunpinyin/Manifest b/app-i18n/ibus-sunpinyin/Manifest index b715c09d01ed..c29f9b67957d 100644 --- a/app-i18n/ibus-sunpinyin/Manifest +++ b/app-i18n/ibus-sunpinyin/Manifest @@ -1,4 +1,4 @@ AUX ibus-sunpinyin-python3.patch 388 BLAKE2B 35131840c58bc47980dbbe046723217afb8926f61de601d664524b961c80f718753e41a82b7cdcd8b137d71c97ad84b91a3b71677610b2f369f9be2da2582185 SHA512 90c7d08588e996e7df966f9ee4b3b044a038392a0f3f074f4803b45a6579ad774119a3c700167924f073a3109f8172f8fea12129c2eb36e914b89eb68cc5a7dc DIST sunpinyin-3.0.0_rc1.tar.gz 547138 BLAKE2B 682e733241d690d1fef8ce452c497a894c5ab61bf5298c1f292ce3a25a681d594744db43ebd51b3e59274cce0e47a1bce15a793f2c20e2998915c3432f2a7c32 SHA512 c9d4936de5835a7f02e52c5b32bf1a42d76bf7588449aaa813f3df7ab2d72f3ca0f4e18f74a60be4860f0724b5e05cbe567c67e6f3150b0e71b23b3a9002fc5e -EBUILD ibus-sunpinyin-3.0.0_rc1.ebuild 1298 BLAKE2B 1fb15e1213fc17bafbf091c2eace49f2e72d0d85ee9a2ee71ce7a35e12dfdd21de4514b31f5e454107af011330168f2eb2eb583f089454ba52527b8d605cada2 SHA512 6c53b9ae41dfc8b2d916a473e0c5024e08e6591725eb410bf6ba7a423ae16c83a402b427cc1fe3817fe67dc26a2d9638a1a8b9ce3283659b16cc5ffba931562a +EBUILD ibus-sunpinyin-3.0.0_rc1-r1.ebuild 1331 BLAKE2B afb4525f5edfee440423c10c0412fd9a7d5cb6dc283bbd4cae5413f16e3d892b0e4ee178529b881d9243e9bce0482a65fe4f2f1168b6a21b2e184a5cdba28feb SHA512 915b0c1d6704e5b18a4b931bcb84cfd480f02322c01e74a0246eb7e7dc58e2a4609513889a9a88af7072e5b9361c03975a65e7cae0449deee17bb41f178c843b MISC metadata.xml 318 BLAKE2B cd239258d08a95f0d27a760678be36731954a721daae521d147b882fd07eb5206a38ce9ac9938e94e3501611cd95aba5699fb2e5a5176f3652e8e5531e5e4cf8 SHA512 44d76425ce41ba6cb84f584c7dfe3b0552eb65aec93b4ed72f9c2e6c153e5e51a3965bf4248486046d3ca9e39f861c3bcde90424ba35e4a57f2102a24faf0df5 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 new file mode 100644 index 000000000000..6037fa22fe86 --- /dev/null +++ b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1-r1.ebuild @@ -0,0 +1,53 @@ +# 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 +} diff --git a/app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1.ebuild b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1.ebuild deleted file mode 100644 index 70ddc8a973c7..000000000000 --- a/app-i18n/ibus-sunpinyin/ibus-sunpinyin-3.0.0_rc1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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} - app-i18n/ibus[python(+),${PYTHON_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 -} -- cgit v1.2.3