Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/enchant/
Date: Sun, 02 Feb 2020 19:35:49
Message-Id: 1580672069.40e8e2971d9c42119e23018a5a2568431dc2c3bf.leio@gentoo
1 commit: 40e8e2971d9c42119e23018a5a2568431dc2c3bf
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 19:32:49 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 19:34:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e8e297
7
8 app-text/enchant: bump to 2.2.7, SLOT=2, other tweaks
9
10 * Make parallel-installable with enchant-1.6
11 * Drop unnecessary static-libs support
12 * Port to EAPI-7
13 * Fix LICENSE
14 * Drop unnecessary USE=test, which is commented out and restricted
15
16 Package-Manager: Portage-2.3.84, Repoman-2.3.20
17 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
18
19 app-text/enchant/Manifest | 1 +
20 app-text/enchant/enchant-2.2.7.ebuild | 42 +++++++++++++++++++++++++++++++++++
21 2 files changed, 43 insertions(+)
22
23 diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest
24 index 14f5a7bbd82..cd7ba07dd2c 100644
25 --- a/app-text/enchant/Manifest
26 +++ b/app-text/enchant/Manifest
27 @@ -4,3 +4,4 @@ DIST enchant-2.1.1.tar.gz 961821 BLAKE2B 1aaedc16e2108a382390c9401233d6a77dcff87
28 DIST enchant-2.1.2.tar.gz 963236 BLAKE2B 3adaf9d96c7e2d7c5e31fe31ac426230f2e88b1cd6f68157e11f13c30fc5c161723d5a5b40bbe158307ce7352e098cd22272f4a75786854f7d82a0c5694b0f2b SHA512 6cb2eeccc617c005998b16ebc33a84a05cec116b26fd679fc1416110821a85a16605c8564672e1168ac6c865cfcca6680005d1219aa615ca1c2393bd523ae0c4
29 DIST enchant-2.2.3.tar.gz 957451 BLAKE2B 294c4eb7afbe97a2c8076b1b26640cb15d13dde64de7879557992e3c8ec96d68ff4fbc2c911d3c6d8811d4d5ca5a104040941ab59f8a18e324134e7ac38a2dfa SHA512 abde9d6fec25edff694570455fd4c6e8e2e2c41a6b133bbb31a344761137a354cc1c655e53374cf712bf311c3732dc721e9ffd2dc933d78ec8ccf224350635d6
30 DIST enchant-2.2.4.tar.gz 953026 BLAKE2B c1745c365c4084d92988105e072b4776e7f565a53748fdda67ab792777ce78276de5f843ae095d7c025f4f08cfa5daa5e3f9c26acf4e98b0978d589c9e9e076b SHA512 3860f04e276e1afa8969041b3f57411136d6b96ecf90996cdb122739e87be432f12219d2635c29d2e7ef3f2eeb366013026b6f8327a9749ffbc3a1dfafb4b870
31 +DIST enchant-2.2.7.tar.gz 951995 BLAKE2B 32232a0a8e5003dcc056b6916f95274f357ac2ab69a08fde806da12487f63eba273a57049250fc75699fb545e98e25b95dcaf00c67af2ceabe779b8798f24a5a SHA512 696455cf782b3186d19988ed59ca3cc6030a431d44ef3828039590afb08fd282a79ce6246a342e6bf7a0bf3bf63d4822d841ba01394da9f9e4394a491b2373b6
32
33 diff --git a/app-text/enchant/enchant-2.2.7.ebuild b/app-text/enchant/enchant-2.2.7.ebuild
34 new file mode 100644
35 index 00000000000..e9756f02d23
36 --- /dev/null
37 +++ b/app-text/enchant/enchant-2.2.7.ebuild
38 @@ -0,0 +1,42 @@
39 +# Copyright 1999-2020 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=7
43 +
44 +DESCRIPTION="Spellchecker wrapping library"
45 +HOMEPAGE="https://abiword.github.io/enchant/"
46 +SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz"
47 +
48 +LICENSE="LGPL-2.1+"
49 +SLOT="2"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
51 +
52 +IUSE="aspell +hunspell"
53 +REQUIRED_USE="|| ( hunspell aspell )"
54 +
55 +# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742
56 +RDEPEND="
57 + >=dev-libs/glib-2.6:2
58 + aspell? ( app-text/aspell )
59 + hunspell? ( >=app-text/hunspell-1.2.1:0= )"
60 +DEPEND="${RDEPEND}"
61 +BDEPEND="virtual/pkgconfig"
62 +
63 +# test? ( dev-libs/unittest++ )
64 +RESTRICT="test"
65 +
66 +src_configure() {
67 + econf \
68 + --datadir="${EPREFIX}"/usr/share/enchant-2 \
69 + --disable-static \
70 + $(use_with aspell) \
71 + $(use_with hunspell) \
72 + --without-hspell \
73 + --without-voikko \
74 + --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
75 +}
76 +
77 +src_install() {
78 + default
79 + find "${D}" -name '*.la' -delete || die
80 +}