summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2017-10-20 15:45:47 -0500
committerWilliam Hubbs <williamh@gentoo.org>2017-10-20 15:46:16 -0500
commit7c6e3bec04e40137b800e9ab58633e3b81d640a6 (patch)
treec742dc7e8557ff38bb8ba553857d0682694b0727 /app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild
parentsci-libs/linux-gpib: Remove old (diff)
downloadgentoo-7c6e3bec04e40137b800e9ab58633e3b81d640a6.tar.gz
gentoo-7c6e3bec04e40137b800e9ab58633e3b81d640a6.tar.bz2
gentoo-7c6e3bec04e40137b800e9ab58633e3b81d640a6.zip
app-admin/github-backup-utils: 2.11.1 version bump
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild')
-rw-r--r--app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild
new file mode 100644
index 000000000000..586f3c415df5
--- /dev/null
+++ b/app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}