diff options
| author | William Hubbs <williamh@gentoo.org> | 2024-06-18 10:06:46 -0500 |
|---|---|---|
| committer | William Hubbs <williamh@gentoo.org> | 2024-06-18 10:08:26 -0500 |
| commit | 05ec15f1cd5077bb9a3b606b629896574f57514a (patch) | |
| tree | 430097acaeb44899fbd64ec8c6d58f5eb79ae6d1 /app-admin/github-backup-utils/github-backup-utils-3.12.3.ebuild | |
| parent | e8022c6e96909b17d5d1f1306273e4fc5d705b78 (diff) | |
| download | gentoo-05ec15f1cd5077bb9a3b606b629896574f57514a.tar.gz gentoo-05ec15f1cd5077bb9a3b606b629896574f57514a.tar.bz2 gentoo-05ec15f1cd5077bb9a3b606b629896574f57514a.zip | |
app-admin/github-backup-utils: add 3.12.3
Closes: https://bugs.gentoo.org/934511
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin/github-backup-utils/github-backup-utils-3.12.3.ebuild')
| -rw-r--r-- | app-admin/github-backup-utils/github-backup-utils-3.12.3.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/github-backup-utils-3.12.3.ebuild b/app-admin/github-backup-utils/github-backup-utils-3.12.3.ebuild new file mode 100644 index 000000000000..597d9e1bd00f --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-3.12.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +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/releases/download/v${PV}/${PN}-v${PV}.tar.gz" +S=${WORKDIR}/${PN}-v${PV} + +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="app-misc/jq + app-arch/pigz + net-misc/rsync + sys-apps/moreutils" + +# tests invoke parallel & rsync +DEPEND="test? ( + ${RDEPEND} + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +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 +} |
