summaryrefslogtreecommitdiff
path: root/app-admin/github-backup-utils/github-backup-utils-3.0.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-11 23:02:45 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-11 23:02:45 +0000
commit47ce0eec762e902235ff50fbacafbc2ec9689489 (patch)
tree2e6f1b721d62b394b5b08761f2632808b0284fa8 /app-admin/github-backup-utils/github-backup-utils-3.0.0.ebuild
parent36f2ff872f3f27f8eb45979958c01c43618770fe (diff)
downloadbaldeagleos-repo-47ce0eec762e902235ff50fbacafbc2ec9689489.tar.gz
baldeagleos-repo-47ce0eec762e902235ff50fbacafbc2ec9689489.tar.xz
baldeagleos-repo-47ce0eec762e902235ff50fbacafbc2ec9689489.zip
Adding metadata
Diffstat (limited to 'app-admin/github-backup-utils/github-backup-utils-3.0.0.ebuild')
-rw-r--r--app-admin/github-backup-utils/github-backup-utils-3.0.0.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/github-backup-utils-3.0.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-3.0.0.ebuild
new file mode 100644
index 000000000000..7c8688304f9a
--- /dev/null
+++ b/app-admin/github-backup-utils/github-backup-utils-3.0.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Python3 support: https://github.com/github/backup-utils/pull/627
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+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 )"
+
+# moreutils parallel is now used for speedups in main code:
+# https://github.com/github/backup-utils/pull/635
+RDEPEND="net-misc/rsync
+ sys-apps/moreutils"
+
+# tests invoke parallel & rsync
+DEPEND="test? (
+ ${RDEPEND}
+ dev-util/checkbashisms
+ ${PYTHON_DEPS}
+)"
+
+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
+}