1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 # See https://github.com/github/backup-utils/issues/135
7 PYTHON_COMPAT=(python2_7)
10 DESCRIPTION="Backup and recovery utilities for GitHub Enterprise"
11 HOMEPAGE="https://github.com/github/backup-utils"
12 SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz"
18 RESTRICT="!test? ( test )"
21 dev-util/checkbashisms
26 RDEPEND="net-misc/rsync"
28 MY_PN="${PN/#github-/}"
29 S="${WORKDIR}/${MY_PN}-${PV}"
37 insinto usr/share/${PN}
38 doins share/${PN}/version
40 exeinto usr/share/${PN}
41 doexe share/${PN}/bm.sh
42 doexe share/${PN}/ghe-*
45 newins backup.config-example backup.config