1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 )
9 DESCRIPTION="Holland Random Plugin"
10 HOMEPAGE="http://www.hollandbackup.org/"
12 MY_P="${P%%-*}-${P##*-}"
14 SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
21 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
23 PDEPEND="~app-backup/holland-${PV}[${PYTHON_USEDEP}]"
25 S="${WORKDIR}/${MY_P}/plugins/${PN//-/.}"
27 python_install_all() {
28 distutils-r1_python_install_all
31 keepdir /etc/holland/backupsets
32 keepdir /etc/holland/providers
34 insinto /etc/holland/backupsets
35 doins "${S}"/../../config/backupsets/examples/${PN##*-}.conf
37 insinto /etc/holland/providers
38 doins "${S}"/../../config/providers/${PN##*-}.conf