1 |
commit: d3f633a279b4919bd2477fb21d541dde19f5c2f6 |
2 |
Author: M. J. Everitt <m.j.everitt <AT> iee <DOT> org> |
3 |
AuthorDate: Sat Oct 13 00:39:28 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 13 22:01:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f633a2 |
7 |
|
8 |
sys-apps/etckeeper: version bump to v1.18.8. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/668482 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
Signed-off-by: M. J. Everitt <m.j.everitt <AT> iee.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/10132 |
14 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
15 |
|
16 |
sys-apps/etckeeper/Manifest | 1 + |
17 |
sys-apps/etckeeper/etckeeper-1.18.8.ebuild | 76 ++++++++++++++++++++++++++++++ |
18 |
2 files changed, 77 insertions(+) |
19 |
|
20 |
diff --git a/sys-apps/etckeeper/Manifest b/sys-apps/etckeeper/Manifest |
21 |
index 4643b0b07fa..7ecf553c6cc 100644 |
22 |
--- a/sys-apps/etckeeper/Manifest |
23 |
+++ b/sys-apps/etckeeper/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST etckeeper-1.18.6.tar.gz 73487 BLAKE2B 2ec0a0ff2d87879586328de638212cbbf3bc0c87d9b1869beb6509f6b445996411d0116ecb2c4d407b3329a7b1a555f00077d20630fbbd45b2d75527d9d4c6ca SHA512 a5a3a4677f31cf1d010ab40ed37ce602c71c2e8ebf2273bf8be6dc8209f603ae0fc6a2c0d5d60d9a9d9aa4f3e7b7c0037534890cbc67b38132e5f654abcda04c |
26 |
DIST etckeeper-1.18.7.tar.gz 77568 BLAKE2B 168b5b683c25a60c6626a678aed2f650106d4db554acbc239a2cd3c937f4b399ccca4f28fded30175c5787d8bd0907a25d62e6566e7902a2e914cd01513a8c2e SHA512 44b8f66b95663da1370943128bb5673e57bd7b9df7e727c93baea5dfc79852ebba9d0834827fed19722668849d3ed18b045db5cb42135e198576a2b839523d1a |
27 |
+DIST etckeeper-1.18.8.tar.gz 84964 BLAKE2B 0429efb61e3d23a897413e472a66216051324381c670cc4842526539d9d173ed1918822d31a04e7e3fa2da7a5a6c805781227677316b8802a770ddb19f576b31 SHA512 35607622d7533d9acb28af2320a571b66ac5a5e2dd44703ec542e0a95622b11a7709134f26d6dba6741b99247c00481172c2601109dc501630f02c25530a516c |
28 |
|
29 |
diff --git a/sys-apps/etckeeper/etckeeper-1.18.8.ebuild b/sys-apps/etckeeper/etckeeper-1.18.8.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..2cd9ba35426 |
32 |
--- /dev/null |
33 |
+++ b/sys-apps/etckeeper/etckeeper-1.18.8.ebuild |
34 |
@@ -0,0 +1,76 @@ |
35 |
+# Copyright 1999-2018 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 ) |
41 |
+ |
42 |
+inherit bash-completion-r1 prefix python-r1 |
43 |
+ |
44 |
+DESCRIPTION="A collection of tools to let /etc be stored in a repository" |
45 |
+HOMEPAGE="https://etckeeper.branchable.com/" |
46 |
+SRC_URI="https://git.joeyh.name/index.cgi/etckeeper.git/snapshot/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
50 |
+SLOT="0" |
51 |
+IUSE="bazaar cron test" |
52 |
+REQUIRED_USE="bazaar? ( ${PYTHON_REQUIRED_USE} )" |
53 |
+ |
54 |
+VCS_DEPEND="dev-vcs/git |
55 |
+ dev-vcs/mercurial |
56 |
+ dev-vcs/darcs" |
57 |
+DEPEND="bazaar? ( dev-vcs/bzr[${PYTHON_USEDEP}] )" |
58 |
+RDEPEND="${DEPEND} |
59 |
+ app-portage/portage-utils |
60 |
+ cron? ( virtual/cron ) |
61 |
+ bazaar? ( ${PYTHON_DEPS} ) |
62 |
+ !bazaar? ( || ( ${VCS_DEPEND} ) )" |
63 |
+DEPEND="${DEPEND} |
64 |
+ test? ( dev-util/bats )" |
65 |
+RESTRICT="!test? ( test )" |
66 |
+ |
67 |
+PATCHES=( "${FILESDIR}"/${PN}-1.18.6-gentoo.patch ) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ hprefixify *.d/* etckeeper |
72 |
+} |
73 |
+ |
74 |
+src_compile() { |
75 |
+ : |
76 |
+} |
77 |
+ |
78 |
+src_install(){ |
79 |
+ emake DESTDIR="${ED}" install |
80 |
+ |
81 |
+ bzr_install() { |
82 |
+ "${EPYTHON}" ./${PN}-bzr/__init__.py install --root="${ED}" || |
83 |
+ die "bzr support installation failed!" |
84 |
+ } |
85 |
+ use bazaar && python_foreach_impl bzr_install |
86 |
+ |
87 |
+ doenvd "$(prefixify_ro "${FILESDIR}"/99${PN})" |
88 |
+ |
89 |
+ newbashcomp bash_completion ${PN} |
90 |
+ dodoc doc/README.mdwn |
91 |
+ newdoc "${FILESDIR}"/bashrc-r1 bashrc.example |
92 |
+ |
93 |
+ if use cron ; then |
94 |
+ exeinto /etc/cron.daily |
95 |
+ newexe debian/cron.daily etckeeper |
96 |
+ fi |
97 |
+} |
98 |
+ |
99 |
+pkg_postinst(){ |
100 |
+ elog "${PN} supports the following VCS: ${VCS_DEPEND}" |
101 |
+ elog " dev-vcs/bzr" |
102 |
+ elog "This ebuild just ensures at least one is installed!" |
103 |
+ elog "For dev-vcs/bzr you need to enable 'bazaar' useflag." |
104 |
+ elog |
105 |
+ elog "You may want to adjust your /etc/portage/bashrc" |
106 |
+ elog "see the example file in /usr/share/doc/${PF}/examples" |
107 |
+ elog |
108 |
+ elog "To initialise your etc-dir as a repository run:" |
109 |
+ elog "${PN} init -d /etc" |
110 |
+} |