123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # Copyright 1999-2016 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=6
- # See https://github.com/github/backup-utils/issues/135
- PYTHON_COMPAT=(python2_7)
- 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"
- DEPEND="test? (
- dev-util/checkbashisms
- ${PYTHON_DEPS}
- )"
- RDEPEND="net-misc/rsync"
- 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}/ghe-*
- insinto etc/${PN}
- newins backup.config-example backup.config
- }
- src_test() {
- emake test
- }
|