From: | "Julian Ospald (hasufell)" <hasufell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/etckeeper: ChangeLog etckeeper-1.3.ebuild |
Date: | Fri, 31 May 2013 19:35:08 |
Message-Id: | 20130531193502.7CCBE2171D@flycatcher.gentoo.org |
1 | hasufell 13/05/31 19:35:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: etckeeper-1.3.ebuild |
5 | Log: |
6 | version bump wrt #469370 by Manuel Rüger |
7 | |
8 | (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 | |
10 | Revision Changes Path |
11 | 1.17 sys-apps/etckeeper/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/etckeeper/ChangeLog?rev=1.17&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/etckeeper/ChangeLog?rev=1.17&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/etckeeper/ChangeLog?r1=1.16&r2=1.17 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/ChangeLog,v |
20 | retrieving revision 1.16 |
21 | retrieving revision 1.17 |
22 | diff -u -r1.16 -r1.17 |
23 | --- ChangeLog 29 May 2013 13:37:22 -0000 1.16 |
24 | +++ ChangeLog 31 May 2013 19:35:02 -0000 1.17 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-apps/etckeeper |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/ChangeLog,v 1.16 2013/05/29 13:37:22 hasufell Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/ChangeLog,v 1.17 2013/05/31 19:35:02 hasufell Exp $ |
30 | + |
31 | +*etckeeper-1.3 (31 May 2013) |
32 | + |
33 | + 31 May 2013; Julian Ospald <hasufell@g.o> +etckeeper-1.3.ebuild, |
34 | + +files/etckeeper-1.3-gentoo.patch: |
35 | + version bump wrt #469370 by Manuel Rüger |
36 | |
37 | 29 May 2013; Julian Ospald <hasufell@g.o> etckeeper-0.63-r1.ebuild: |
38 | update REQUIRED_USE to include PYTHON_REQUIRED_USE |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/etckeeper/etckeeper-1.3.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/etckeeper/etckeeper-1.3.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/etckeeper/etckeeper-1.3.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: etckeeper-1.3.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2013 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/etckeeper-1.3.ebuild,v 1.1 2013/05/31 19:35:02 hasufell Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | PYTHON_COMPAT=( python2_6 python2_7 ) |
56 | |
57 | inherit eutils bash-completion-r1 prefix python-r1 |
58 | |
59 | DESCRIPTION="A collection of tools to let /etc be stored in a repository" |
60 | HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/" |
61 | SRC_URI="https://github.com/joeyh/etckeeper/archive/${PV}.tar.gz -> ${P}.tar.gz" |
62 | |
63 | LICENSE="GPL-2" |
64 | IUSE="bazaar cron" |
65 | KEYWORDS="~amd64 ~x86" |
66 | SLOT="0" |
67 | |
68 | VCS_DEPEND=" |
69 | dev-vcs/git |
70 | dev-vcs/mercurial |
71 | dev-vcs/darcs" |
72 | DEPEND="bazaar? ( dev-vcs/bzr )" |
73 | RDEPEND="${DEPEND} |
74 | app-portage/portage-utils |
75 | cron? ( virtual/cron ) |
76 | bazaar? ( ${PYTHON_DEPS} ) |
77 | !bazaar? ( || ( ${VCS_DEPEND} ) )" |
78 | |
79 | src_prepare(){ |
80 | epatch "${FILESDIR}"/${P}-gentoo.patch |
81 | } |
82 | |
83 | src_compile() { |
84 | : |
85 | } |
86 | |
87 | src_install(){ |
88 | emake DESTDIR="${ED}" install |
89 | |
90 | bzr_install() { |
91 | ${PYTHON} ./${PN}-bzr/__init__.py install --root="${ED}" || |
92 | die "bzr support installation failed!" |
93 | } |
94 | use bazaar && python_foreach_impl bzr_install |
95 | |
96 | if use prefix; then |
97 | doenvd "${FILESDIR}"/99${PN} |
98 | eprefixify "${ED%/}"/etc/env.d/99${PN} |
99 | fi |
100 | |
101 | newbashcomp bash_completion ${PN} |
102 | dodoc README TODO |
103 | docinto examples |
104 | dodoc "${FILESDIR}"/bashrc |
105 | |
106 | if use cron ; then |
107 | exeinto /etc/cron.daily |
108 | newexe debian/cron.daily etckeeper |
109 | fi |
110 | } |
111 | |
112 | pkg_postinst(){ |
113 | elog "${PN} supports the following VCS: ${VCS_DEPEND}" |
114 | elog " dev-vcs/bzr" |
115 | elog "This ebuild just ensures at least one is installed!" |
116 | elog "For dev-vcs/bzr you need to enable 'bazaar' useflag." |
117 | elog |
118 | elog "You may want to adjust your /etc/portage/bashrc" |
119 | elog "see the example file in /usr/share/doc/${P}/examples" |
120 | elog |
121 | elog "To initialise your etc-dir as a repository run:" |
122 | elog "${PN} init -d /etc" |
123 | } |