Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/txt2regex/
Date: Fri, 25 Sep 2015 03:53:51
Message-Id: 1443153123.a1946d1b15c132c93c232cc13700665235f763ed.monsieurp@gentoo
1 commit: a1946d1b15c132c93c232cc13700665235f763ed
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 03:51:46 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 03:52:03 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1946d1b
7
8 dev-util/txt2regex: EAPI 5 bump. Remove suspicious use of einstall. Fixes bug 521548.
9
10 Package-Manager: portage-2.2.18
11 RepoMan-Options: --force
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13
14 .../{txt2regex-0.8-r1.ebuild => txt2regex-0.8-r2.ebuild} | 12 ++++++------
15 1 file changed, 6 insertions(+), 6 deletions(-)
16
17 diff --git a/dev-util/txt2regex/txt2regex-0.8-r1.ebuild b/dev-util/txt2regex/txt2regex-0.8-r2.ebuild
18 similarity index 76%
19 rename from dev-util/txt2regex/txt2regex-0.8-r1.ebuild
20 rename to dev-util/txt2regex/txt2regex-0.8-r2.ebuild
21 index ba29402..0fbea1e 100644
22 --- a/dev-util/txt2regex/txt2regex-0.8-r1.ebuild
23 +++ b/dev-util/txt2regex/txt2regex-0.8-r2.ebuild
24 @@ -1,7 +1,9 @@
25 -# Copyright 1999-2011 Gentoo Foundation
26 +# Copyright 1999-2015 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30 +EAPI=5
31 +
32 inherit eutils
33
34 DESCRIPTION="A Regular Expression wizard that converts human sentences to regexs"
35 @@ -10,22 +12,20 @@ SRC_URI="http://txt2regex.sourceforge.net/${P}.tgz"
36
37 LICENSE="GPL-2"
38 SLOT="0"
39 -KEYWORDS="alpha amd64 hppa ~mips ~ppc sparc x86"
40 +KEYWORDS="alpha amd64 hppa mips ppc ppc64 sparc x86"
41 IUSE="nls cjk"
42
43 DEPEND="nls? ( sys-devel/gettext )"
44 RDEPEND=">=app-shells/bash-2.04"
45
46 -src_unpack() {
47 - unpack ${A}
48 - cd "${S}"
49 +src_prepare() {
50 # See bug 93568
51 use nls || epatch "${FILESDIR}"/${P}-disable-nls.patch
52 use cjk && sed -i -e 's/\xa4/:+:/g' "${S}"/${P}.sh
53 }
54
55 src_install() {
56 - einstall DESTDIR="${D}" MANDIR="${D}"/usr/share/man/man1 || die
57 + emake DESTDIR="${D}" MANDIR="${D}"/usr/share/man/man1 || die
58 dodoc Changelog NEWS README README.japanese TODO || die
59 newman txt2regex.man txt2regex.6 || die
60 }