Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/aspell/
Date: Mon, 30 Jan 2017 10:23:17
Message-Id: 1485771725.2034183cfb9bbebd559faec94af9b4638f26f561.polynomial-c@gentoo
1 commit: 2034183cfb9bbebd559faec94af9b4638f26f561
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 10:14:04 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 10:22:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2034183c
7
8 app-text/aspell: Removed old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-text/aspell/aspell-0.60.6.1-r1.ebuild | 106 ------------------------------
13 1 file changed, 106 deletions(-)
14
15 diff --git a/app-text/aspell/aspell-0.60.6.1-r1.ebuild b/app-text/aspell/aspell-0.60.6.1-r1.ebuild
16 deleted file mode 100644
17 index 268f92a..00000000
18 --- a/app-text/aspell/aspell-0.60.6.1-r1.ebuild
19 +++ /dev/null
20 @@ -1,106 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -
27 -inherit autotools eutils flag-o-matic libtool toolchain-funcs
28 -
29 -DESCRIPTION="A spell checker replacement for ispell"
30 -HOMEPAGE="http://aspell.net/"
31 -SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
32 -
33 -LICENSE="LGPL-2"
34 -SLOT="0"
35 -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
36 -IUSE="nls"
37 -
38 -PDEPEND="app-dicts/aspell-en"
39 -LANGS="af be bg br ca cs cy da de de@1901 el en eo es et fi fo fr ga gl he hr
40 -is it la lt nl no pl pt pt-BR ro ru sk sl sr sv uk vi"
41 -for lang in ${LANGS}; do
42 - IUSE+=" l10n_${lang/@/-}"
43 - # Need to keep linguas_* for now, since aspell uses gettext
44 - IUSE+=" linguas_${lang/-/_}"
45 - case ${lang} in
46 - de@1901) dict="de-alt" ;;
47 - pt-BR) dict="pt-br" ;;
48 - *) dict="${lang}" ;;
49 - esac
50 - PDEPEND+=" l10n_${lang/@/-}? ( app-dicts/aspell-${dict} )"
51 -done
52 -unset dict lang LANGS
53 -
54 -COMMON_DEPEND="
55 - >=sys-libs/ncurses-5.2:0=
56 - nls? ( virtual/libintl )"
57 -
58 -DEPEND="${COMMON_DEPEND}
59 - virtual/pkgconfig
60 - nls? ( sys-devel/gettext )"
61 -
62 -# English dictionary 0.5 is incompatible with aspell-0.6
63 -RDEPEND="${COMMON_DEPEND}
64 - !=app-dicts/aspell-en-0.5*"
65 -
66 -src_prepare() {
67 - # fix for bug #467602
68 - if has_version ">=sys-devel/automake-1.13" ; then
69 - sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \
70 - "${S}"/configure.ac || die
71 - fi
72 -
73 - epatch \
74 - "${FILESDIR}/${PN}-0.60.5-nls.patch" \
75 - "${FILESDIR}/${PN}-0.60.5-solaris.patch" \
76 - "${FILESDIR}/${PN}-0.60.6-darwin-bundles.patch"
77 -
78 - rm m4/lt* m4/libtool.m4
79 - eautoreconf
80 - elibtoolize --reverse-deps
81 -
82 - # Parallel install of libtool libraries doesn't always work.
83 - # https://lists.gnu.org/archive/html/libtool/2011-03/msg00003.html
84 - # This has to be after automake has run so that we don't clobber
85 - # the default target that automake creates for us.
86 - echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in || die
87 -
88 -}
89 -
90 -src_configure() {
91 - if has_version "sys-libs/ncurses[unicode]" ; then
92 - CURSES_LIB="$($(tc-getPKG_CONFIG) --libs ncursesw)"
93 - else
94 - CURSES_LIB="$($(tc-getPKG_CONFIG) --libs ncurses)"
95 - fi
96 -
97 - CURSES_LIB="${CURSES_LIB}" econf \
98 - $(use_enable nls) \
99 - --disable-static \
100 - --sysconfdir="${EPREFIX}"/etc/aspell \
101 - --enable-docdir="${EPREFIX}"/usr/share/doc/${PF}
102 -}
103 -
104 -src_install() {
105 - default
106 -
107 - dodoc README* TODO
108 - dohtml -r manual/aspell{,-dev}.html
109 - docinto examples
110 - dodoc "${S}"/examples/*.c
111 -
112 - # install ispell/aspell compatibility scripts
113 - newbin scripts/ispell ispell-aspell
114 - newbin scripts/spell spell-aspell
115 -
116 - prune_libtool_files
117 -}
118 -
119 -pkg_postinst() {
120 - elog "In case L10N was not set correctly you may need to install"
121 - elog "dictionaries now. Please choose an aspell-<LANG> dictionary or"
122 - elog "set L10N correctly and let aspell pull in required packages."
123 - elog "After installing an aspell dictionary for your language(s),"
124 - elog "You may use the aspell-import utility to import your personal"
125 - elog "dictionaries from ispell, pspell and the older aspell"
126 -}