summaryrefslogtreecommitdiff
path: root/app-admin/github-backup-utils/github-backup-utils-2.20.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
commit38423c67c8a23f6a1bc42038193182e2da3116eb (patch)
tree04e2cf4bd43601b77daa79fe654e409187093c5e /app-admin/github-backup-utils/github-backup-utils-2.20.2.ebuild
parent623ee73d661e5ed8475cb264511f683407d87365 (diff)
gentoo resync : 25.04.2020
Diffstat (limited to 'app-admin/github-backup-utils/github-backup-utils-2.20.2.ebuild')
-rw-r--r--app-admin/github-backup-utils/github-backup-utils-2.20.2.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/github-backup-utils-2.20.2.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.20.2.ebuild
new file mode 100644
index 000000000000..9a251dd782d8
--- /dev/null
+++ b/app-admin/github-backup-utils/github-backup-utils-2.20.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# 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"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? (
+ dev-util/checkbashisms
+ sys-apps/moreutils
+ ${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
+
+dodoc -r docs/*
+}
+
+src_test() {
+ emake test
+}