www-plugins/chrome-binary-plugins: automated update
[gentoo.git] / app-admin / github-backup-utils / github-backup-utils-2.16.1.ebuild
1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=6
5
6 # See https://github.com/github/backup-utils/issues/135
7 PYTHON_COMPAT=(python2_7)
8 inherit python-any-r1
9
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"
13
14 LICENSE="MIT"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE="test"
18 RESTRICT="!test? ( test )"
19
20 DEPEND="test? (
21         dev-util/checkbashisms
22         sys-apps/moreutils
23         ${PYTHON_DEPS}
24 )"
25
26 RDEPEND="net-misc/rsync"
27
28 MY_PN="${PN/#github-/}"
29 S="${WORKDIR}/${MY_PN}-${PV}"
30
31 src_compile() {
32         :;
33 }
34
35 src_install() {
36         dobin bin/*
37         insinto usr/share/${PN}
38         doins share/${PN}/version
39
40         exeinto usr/share/${PN}
41         doexe share/${PN}/bm.sh
42         doexe share/${PN}/ghe-*
43
44         insinto etc/${PN}
45         newins backup.config-example backup.config
46
47 dodoc -r docs/*
48 }
49
50 src_test() {
51         emake test
52 }