Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ccze/
Date: Thu, 07 Jul 2016 18:00:39
Message-Id: 1467914422.77f60f103c9d13ccf2051c504dad5c29e9eaeffa.wizardedit@gentoo
1 commit: 77f60f103c9d13ccf2051c504dad5c29e9eaeffa
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 7 17:51:09 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 7 18:00:22 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f60f10
7
8 app-admin/ccze: bump to EAPI 6, add maintainer-needed
9
10 Package-Manager: portage-2.2.28
11
12 app-admin/ccze/ccze-0.2.1-r4.ebuild | 48 +++++++++++++++++++++++++++++++++++++
13 app-admin/ccze/metadata.xml | 1 +
14 2 files changed, 49 insertions(+)
15
16 diff --git a/app-admin/ccze/ccze-0.2.1-r4.ebuild b/app-admin/ccze/ccze-0.2.1-r4.ebuild
17 new file mode 100644
18 index 0000000..9f8f551
19 --- /dev/null
20 +++ b/app-admin/ccze/ccze-0.2.1-r4.ebuild
21 @@ -0,0 +1,48 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +inherit fixheadtails autotools eutils toolchain-funcs
29 +
30 +DESCRIPTION="A flexible and fast logfile colorizer"
31 +HOMEPAGE="https://dev.gentoo.org/~joker/ccze/ccze.txt"
32 +SRC_URI="mirror://gentoo/${P}.tar.gz"
33 +
34 +RESTRICT="test"
35 +
36 +LICENSE="GPL-2"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
39 +IUSE=""
40 +
41 +DEPEND="dev-libs/libpcre
42 + sys-libs/ncurses"
43 +
44 +RDEPEND="${DEPEND}"
45 +
46 +DOCS=( AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ )
47 +
48 +PATCHES=(
49 + "${FILESDIR}"/ccze-fbsd.patch
50 + "${FILESDIR}"/ccze-segfault.patch
51 + "${FILESDIR}"/ccze-ldflags.patch
52 + "${FILESDIR}"/${P}-tinfo.patch
53 +)
54 +
55 +src_prepare() {
56 + default
57 +
58 + # GCC 4.x fixes
59 + sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
60 + -i src/Makefile.in || die
61 + sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
62 + -i configure.ac || die
63 +
64 + eautoreconf
65 +
66 + ht_fix_file Rules.mk.in
67 +
68 + tc-export CC
69 +}
70
71 diff --git a/app-admin/ccze/metadata.xml b/app-admin/ccze/metadata.xml
72 index a2d08b2..49a6829 100644
73 --- a/app-admin/ccze/metadata.xml
74 +++ b/app-admin/ccze/metadata.xml
75 @@ -1,6 +1,7 @@
76 <?xml version="1.0" encoding="UTF-8"?>
77 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
78 <pkgmetadata>
79 +<!-- maintainer-needed -->
80 <longdescription>
81 CCZE is my C port of RASZi's colorize, with a set of bug fixes and enhancements.
82 It uses PCRE to do the matching, and NCurses for the output. The goal was to