commit:     68ed48fdf71aae256cd7d244a1317d098564e640
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 17:50:33 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 17:50:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ed48fd

app-admin/github-backup-utils: also install bm.sh in 2.7.0

It's a new file that didn't match their previous naming scheme. Without it,
running ghe-backup/restore fails:
$ ghe-backup
/usr/bin/../share/github-backup-utils/ghe-backup-config: line 26: 
/usr/share/github-backup-utils/bm.sh: No such file or directory

Package-Manager: portage-2.3.0

 .../github-backup-utils-2.7.0-r1.ebuild            | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)

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
new file mode 100644
index 00000000..24304bc
--- /dev/null
+++ b/app-admin/github-backup-utils/github-backup-utils-2.7.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# See https://github.com/github/backup-utils/issues/135
+PYTHON_COMPAT=(python2_7)
+inherit python-any-r1
+
+DESCRIPTION="Backup and recovery utilities for GitHub Enterprise"
+HOMEPAGE="https://github.com/github/backup-utils";
+SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="test? (
+       dev-util/checkbashisms
+       ${PYTHON_DEPS}
+)"
+
+RDEPEND="net-misc/rsync"
+
+MY_PN="${PN/#github-/}"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_compile() {
+       :;
+}
+
+src_install() {
+       dobin bin/*
+       insinto usr/share/${PN}
+       doins share/${PN}/version
+
+       exeinto usr/share/${PN}
+       doexe share/${PN}/bm.sh
+       doexe share/${PN}/ghe-*
+
+       insinto etc/${PN}
+       newins backup.config-example backup.config
+}
+
+src_test() {
+       emake test
+}

Reply via email to