Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/colorsvn/
Date: Thu, 07 Jul 2016 09:09:13
Message-Id: 1467881972.34c228b65885d050a731dff2aa0e7ff23dd3f393.wizardedit@gentoo
1 commit: 34c228b65885d050a731dff2aa0e7ff23dd3f393
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 7 08:58:38 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 7 08:59:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c228b6
7
8 dev-vcs/colorsvn: update to EAPI 6
9
10 Package-Manager: portage-2.2.28
11
12 dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild | 50 +++++++++++++++++++++++++++++++
13 1 file changed, 50 insertions(+)
14
15 diff --git a/dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild b/dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild
16 new file mode 100644
17 index 0000000..7217da9
18 --- /dev/null
19 +++ b/dev-vcs/colorsvn/colorsvn-0.3.2-r3.ebuild
20 @@ -0,0 +1,50 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="6"
26 +
27 +DESCRIPTION="Subversion output colorizer"
28 +HOMEPAGE="http://colorsvn.tigris.org"
29 +SRC_URI="http://www.console-colors.de/downloads/${PN}/${P}.tar.gz"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~x86 ~x64-macos ~x86-macos"
34 +IUSE=""
35 +
36 +RDEPEND="dev-lang/perl
37 + dev-vcs/subversion"
38 +DEPEND="${RDEPEND}"
39 +
40 +PATCHES=(
41 + "${FILESDIR}/0001-Don-t-colorize-svn-mkdir-bug-321451.-Use-IPC-open2-i.patch"
42 +)
43 +
44 +src_prepare() {
45 + default
46 + # rxvt-unicode isn't listed by default :)
47 + sed -i -e 's:rxvt:rxvt rxvt-unicode:' colorsvnrc-original || die
48 + # Fix confdir location for Prefix, #435434
49 + sed -i \
50 + -e '/^confdir/d' \
51 + -e 's/$(confdir)/$(sysconfdir)/g' \
52 + Makefile.in || die
53 +}
54 +
55 +src_compile() {
56 + # bug 335134
57 + emake -j1 || die
58 +}
59 +
60 +pkg_postinst() {
61 + elog
62 + elog "The default settings are stored in /etc/colorsvnrc."
63 + elog "They can be locally overridden by ~/.colorsvnrc."
64 + elog "An alias to colorsvn was installed for the svn command."
65 + elog "In order to immediately activate it do:"
66 + elog "\tsource /etc/profile"
67 + elog "NOTE: If you don't see colors,"
68 + elog "append the output of 'echo \$TERM' to 'colortty' in your colorsvnrc."
69 + elog
70 +}