diff options
Diffstat (limited to 'app-i18n/sunpinyin')
-rw-r--r-- | app-i18n/sunpinyin/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/sunpinyin/metadata.xml | 11 | ||||
-rw-r--r-- | app-i18n/sunpinyin/sunpinyin-2.0.4_pre20200306162733.ebuild | 64 |
3 files changed, 0 insertions, 76 deletions
diff --git a/app-i18n/sunpinyin/Manifest b/app-i18n/sunpinyin/Manifest deleted file mode 100644 index ab2a2125633b..000000000000 --- a/app-i18n/sunpinyin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sunpinyin-2.0.4_pre20200306162733.tar.gz 547519 BLAKE2B 6e0e4457217d7b85221cab15173f588a5c7c039208a8f6cd48ed5fb21c5b5eae2f4616d6fddbf6eff8a006193097de26c866d5385d4602f41059ee8d7e52a2d5 SHA512 e8cf73aeca8dcbc7dd6f51f034a9a0363201bc14a814800e071c987933935b0e8039aa84178a6bd1cba1c7dee4b25b2d5546e78ea683e68e8981afea48fdab33 diff --git a/app-i18n/sunpinyin/metadata.xml b/app-i18n/sunpinyin/metadata.xml deleted file mode 100644 index de8f4d24515d..000000000000 --- a/app-i18n/sunpinyin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>cjk@gentoo.org</email> - <name>Cjk</name> - </maintainer> - <upstream> - <remote-id type="github">sunpinyin/sunpinyin</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20200306162733.ebuild b/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20200306162733.ebuild deleted file mode 100644 index ada55c754c6c..000000000000 --- a/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20200306162733.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2009-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{8..9} ) - -inherit python-any-r1 scons-utils toolchain-funcs - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/sunpinyin/sunpinyin" -elif [[ "${PV}" == *_pre* ]]; then - SUNPINYIN_GIT_REVISION="f39c195db08661e894017507842991a1ef70bedf" -fi - -DESCRIPTION="Statistical Language Model (SLM) based Chinese input method library" -HOMEPAGE="https://github.com/sunpinyin/sunpinyin" -if [[ "${PV}" == "9999" ]]; then - SRC_URI="" -elif [[ "${PV}" == *_pre* ]]; then - SRC_URI="https://github.com/sunpinyin/${PN}/archive/${SUNPINYIN_GIT_REVISION}.tar.gz -> ${P}.tar.gz" -else - SRC_URI="https://github.com/sunpinyin/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" -fi - -LICENSE="|| ( CDDL LGPL-2.1 )" -SLOT="0/3" -KEYWORDS="amd64 ppc ppc64 ~riscv x86" -IUSE="" - -BDEPEND="dev-lang/perl - virtual/pkgconfig" -DEPEND="dev-db/sqlite:3 - virtual/libiconv" -RDEPEND="${DEPEND}" - -if [[ "${PV}" == *_pre* ]]; then - S="${WORKDIR}/${PN}-${SUNPINYIN_GIT_REVISION}" -elif [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/${PN}-${PV/_/-}" -fi - -src_prepare() { - default - sed -e "/^docdir =/s:/sunpinyin:/${PF}:" -i SConstruct || die - - # https://github.com/sunpinyin/sunpinyin/issues/109 - sed -e "/^Requires: sqlite3$/s/^Requires:/Requires.private:/" -i sunpinyin-2.0.pc.in || die -} - -src_configure() { - tc-export CXX -} - -src_compile() { - escons \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" -} - -src_install() { - escons --install-sandbox="${D}" install -} |