diff options
Diffstat (limited to 'app-backup/holland/holland-1.0.10.ebuild')
-rw-r--r-- | app-backup/holland/holland-1.0.10.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-backup/holland/holland-1.0.10.ebuild b/app-backup/holland/holland-1.0.10.ebuild new file mode 100644 index 000000000000..93923b276ab7 --- /dev/null +++ b/app-backup/holland/holland-1.0.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Holland Core Plugins" +HOMEPAGE="http://www.hollandbackup.org/" +SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples +mysql postgres sqlite" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" +RDEPEND=" + mysql? ( ~app-backup/holland-backup-mysql-meta-${PV}[${PYTHON_USEDEP}] ) + postgres? ( ~app-backup/holland-backup-pgdump-${PV}[${PYTHON_USEDEP}] ) + sqlite? ( ~app-backup/holland-backup-sqlite-${PV}[${PYTHON_USEDEP}] ) + examples? ( + ~app-backup/holland-backup-example-${PV}[${PYTHON_USEDEP}] + ~app-backup/holland-backup-random-${PV}[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local DOCS=( README config/README config/providers/README docs/man/README docs/man/holland.rst ) + use doc && local HTML_DOCS=( docs/build/html/. ) + + distutils-r1_python_install_all + + keepdir /var/log/holland + + keepdir /etc/holland + keepdir /etc/holland/backupsets + keepdir /etc/holland/providers + + insinto /etc/holland + doins config/holland.conf + + insinto /etc/holland/backupsets + doins config/backupsets/default.conf + + doman docs/man/holland.1 +} |