Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 06 May 2017 16:36:27
Message-Id: 1494088567.381db3a279c05b1e0652dd0faa90794d04c37089.soap@gentoo
1 commit: 381db3a279c05b1e0652dd0faa90794d04c37089
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 6 16:35:20 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat May 6 16:36:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=381db3a2
7
8 aspell-dict.eclass: Remove last-rited eclass
9
10 eclass/aspell-dict.eclass | 80 -----------------------------------------------
11 1 file changed, 80 deletions(-)
12
13 diff --git a/eclass/aspell-dict.eclass b/eclass/aspell-dict.eclass
14 deleted file mode 100644
15 index 102694a0237..00000000000
16 --- a/eclass/aspell-dict.eclass
17 +++ /dev/null
18 @@ -1,80 +0,0 @@
19 -# Copyright 1999-2014 Gentoo Foundation
20 -# Distributed under the terms of the GNU General Public License v2
21 -
22 -# @DEAD
23 -# Removal on 2017-05-01.
24 -
25 -# @ECLASS: aspell-dict.eclass
26 -# @MAINTAINER:
27 -# maintainer-needed@g.o
28 -# @AUTHOR:
29 -# Original author: Seemant Kulleen
30 -# @BLURB: An eclass to streamline the construction of ebuilds for new aspell dicts
31 -# @DESCRIPTION:
32 -# The aspell-dict eclass is designed to streamline the construction of
33 -# ebuilds for the new aspell dictionaries (from gnu.org) which support
34 -# aspell-0.50. Support for aspell-0.60 has been added by Sergey Ulanov.
35 -
36 -# @ECLASS-VARIABLE: ASPELL_LANG
37 -# @REQUIRED
38 -# @DESCRIPTION:
39 -# Which language is the dictionary for? It's used for the DESCRIPTION of the
40 -# package.
41 -
42 -# @ECLASS-VARIABLE: ASPOSTFIX
43 -# @REQUIRED
44 -# @DESCRIPTION:
45 -# What major version of aspell is this dictionary for?
46 -
47 -case ${EAPI} in
48 - 0|1) EXPORT_FUNCTIONS src_compile src_install ;;
49 - *) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
50 -esac
51 -
52 -#MY_P=${PN}-${PV%.*}-${PV#*.*.}
53 -MY_P=${P%.*}-${PV##*.}
54 -MY_P=aspell${ASPOSTFIX}-${MY_P/aspell-/}
55 -SPELLANG=${PN/aspell-/}
56 -S="${WORKDIR}/${MY_P}"
57 -DESCRIPTION="${ASPELL_LANG} language dictionary for aspell"
58 -HOMEPAGE="http://aspell.net"
59 -SRC_URI="mirror://gnu/aspell/dict/${SPELLANG}/${MY_P}.tar.bz2"
60 -
61 -IUSE=""
62 -SLOT="0"
63 -
64 -if [ x${ASPOSTFIX} = x6 ] ; then
65 - RDEPEND=">=app-text/aspell-0.60"
66 - DEPEND="${RDEPEND}"
67 -else
68 - RDEPEND=">=app-text/aspell-0.50"
69 - DEPEND="${RDEPEND}"
70 -fi
71 -
72 -# @FUNCTION: aspell-dict_src_configure
73 -# @DESCRIPTION:
74 -# The aspell-dict src_configure function which is exported.
75 -aspell-dict_src_configure() {
76 - ./configure || die
77 -}
78 -
79 -# @FUNCTION: aspell-dict_src_compile
80 -# @DESCRIPTION:
81 -# The aspell-dict src_compile function which is exported.
82 -aspell-dict_src_compile() {
83 - case ${EAPI} in
84 - 0|1) aspell-dict_src_configure ;;
85 - esac
86 - emake || die
87 -}
88 -
89 -# @FUNCTION: aspell-dict_src_install
90 -# @DESCRIPTION:
91 -# The aspell-dict src_install function which is exported.
92 -aspell-dict_src_install() {
93 - make DESTDIR="${D}" install || die
94 -
95 - for doc in README info ; do
96 - [ -s "$doc" ] && dodoc $doc
97 - done
98 -}