diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /app-admin/github-backup-utils/github-backup-utils-3.5.0.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'app-admin/github-backup-utils/github-backup-utils-3.5.0.ebuild')
-rw-r--r-- | app-admin/github-backup-utils/github-backup-utils-3.5.0.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/github-backup-utils-3.5.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-3.5.0.ebuild new file mode 100644 index 000000000000..ab24755a1ddf --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-3.5.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 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_{8..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="app-misc/jq + app-arch/pigz + 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}" + +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 +} |