1 |
commit: 432384028d4eaf1060ca3f44b3f546187c9a195d |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 19:18:17 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 19:18:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43238402 |
7 |
|
8 |
app-text/liblangtag: Fix license, bump EAPI, migrate away from autotools-utils |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
app-text/liblangtag/liblangtag-0.5.8.ebuild | 18 ++++++++---------- |
13 |
1 file changed, 8 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/app-text/liblangtag/liblangtag-0.5.8.ebuild b/app-text/liblangtag/liblangtag-0.5.8.ebuild |
16 |
index f39ad36..3f5ed5d 100644 |
17 |
--- a/app-text/liblangtag/liblangtag-0.5.8.ebuild |
18 |
+++ b/app-text/liblangtag/liblangtag-0.5.8.ebuild |
19 |
@@ -2,41 +2,39 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
-EAPI=5 |
24 |
+EAPI=6 |
25 |
|
26 |
-inherit xdg-utils autotools-utils |
27 |
+inherit xdg-utils eutils |
28 |
|
29 |
DESCRIPTION="An interface library to access tags for identifying languages" |
30 |
HOMEPAGE="https://tagoh.bitbucket.org/liblangtag/" |
31 |
SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2" |
32 |
|
33 |
-LICENSE="|| ( LGPL-3 MPL-1.1 )" |
34 |
+LICENSE="|| ( LGPL-3 MPL-2.0 )" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64 ~arm ~ppc ~x86" |
37 |
IUSE="introspection static-libs test" |
38 |
|
39 |
RDEPEND=" |
40 |
- dev-libs/glib |
41 |
dev-libs/libxml2 |
42 |
introspection? ( >=dev-libs/gobject-introspection-0.10.8 )" |
43 |
DEPEND="${RDEPEND} |
44 |
introspection? ( dev-libs/gobject-introspection-common ) |
45 |
sys-devel/gettext |
46 |
- test? ( dev-libs/check )" |
47 |
+ test? ( dev-libs/check ) |
48 |
+" |
49 |
|
50 |
# Upstream expect liblangtag to be installed when one runs tests... |
51 |
RESTRICT="test" |
52 |
|
53 |
src_configure() { |
54 |
xdg_environment_reset |
55 |
- local myeconfargs=( |
56 |
- $(use_enable introspection) |
57 |
+ econf \ |
58 |
+ $(use_enable introspection) \ |
59 |
$(use_enable test) |
60 |
- ) |
61 |
- autotools-utils_src_configure |
62 |
} |
63 |
|
64 |
src_install() { |
65 |
- autotools-utils_src_install |
66 |
+ default |
67 |
prune_libtool_files --all |
68 |
} |