1 |
commit: 68ed48fdf71aae256cd7d244a1317d098564e640 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 24 17:50:33 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 17:50:33 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ed48fd |
7 |
|
8 |
app-admin/github-backup-utils: also install bm.sh in 2.7.0 |
9 |
|
10 |
It's a new file that didn't match their previous naming scheme. Without it, |
11 |
running ghe-backup/restore fails: |
12 |
$ ghe-backup |
13 |
/usr/bin/../share/github-backup-utils/ghe-backup-config: line 26: /usr/share/github-backup-utils/bm.sh: No such file or directory |
14 |
|
15 |
Package-Manager: portage-2.3.0 |
16 |
|
17 |
.../github-backup-utils-2.7.0-r1.ebuild | 49 ++++++++++++++++++++++ |
18 |
1 file changed, 49 insertions(+) |
19 |
|
20 |
diff --git a/app-admin/github-backup-utils/github-backup-utils-2.7.0-r1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.7.0-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000..24304bc |
23 |
--- /dev/null |
24 |
+++ b/app-admin/github-backup-utils/github-backup-utils-2.7.0-r1.ebuild |
25 |
@@ -0,0 +1,49 @@ |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+# $Id$ |
29 |
+ |
30 |
+EAPI=6 |
31 |
+ |
32 |
+# See https://github.com/github/backup-utils/issues/135 |
33 |
+PYTHON_COMPAT=(python2_7) |
34 |
+inherit python-any-r1 |
35 |
+ |
36 |
+DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" |
37 |
+HOMEPAGE="https://github.com/github/backup-utils" |
38 |
+SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64" |
43 |
+IUSE="test" |
44 |
+ |
45 |
+DEPEND="test? ( |
46 |
+ dev-util/checkbashisms |
47 |
+ ${PYTHON_DEPS} |
48 |
+)" |
49 |
+ |
50 |
+RDEPEND="net-misc/rsync" |
51 |
+ |
52 |
+MY_PN="${PN/#github-/}" |
53 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
54 |
+ |
55 |
+src_compile() { |
56 |
+ :; |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ dobin bin/* |
61 |
+ insinto usr/share/${PN} |
62 |
+ doins share/${PN}/version |
63 |
+ |
64 |
+ exeinto usr/share/${PN} |
65 |
+ doexe share/${PN}/bm.sh |
66 |
+ doexe share/${PN}/ghe-* |
67 |
+ |
68 |
+ insinto etc/${PN} |
69 |
+ newins backup.config-example backup.config |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ emake test |
74 |
+} |