diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2016-01-05 17:54:25 +0100 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2016-01-05 17:54:37 +0100 |
commit | 01e3f550ff3d4c32e5ae956a79fd7d655f56f320 (patch) | |
tree | b07c47838195fad40c56ce1f83744d07ff843aa1 /app-backup | |
parent | kde-apps/krdc: add missing USE dep (diff) | |
download | gentoo-01e3f550ff3d4c32e5ae956a79fd7d655f56f320.tar.gz gentoo-01e3f550ff3d4c32e5ae956a79fd7d655f56f320.tar.bz2 gentoo-01e3f550ff3d4c32e5ae956a79fd7d655f56f320.zip |
app-backup/obnam: revbump: add dep to unbreak with older paramiko, drop patch
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/obnam/obnam-1.18.2-r2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-backup/obnam/obnam-1.18.2-r2.ebuild b/app-backup/obnam/obnam-1.18.2-r2.ebuild new file mode 100644 index 000000000000..dc2efb705dad --- /dev/null +++ b/app-backup/obnam/obnam-1.18.2-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads" + +inherit distutils-r1 + +DESCRIPTION="A backup program that supports encryption and deduplication" +HOMEPAGE="http://obnam.org/" +SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/obnam/snapshot/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="${PYTHON_DEPS} + dev-python/cliapp[${PYTHON_USEDEP}] + dev-python/fuse-python[${PYTHON_USEDEP}] + dev-python/larch[${PYTHON_USEDEP}] + <dev-python/paramiko-1.16.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/tracing[${PYTHON_USEDEP}] + dev-python/ttystatus[${PYTHON_USEDEP}] + " +RDEPEND="${DEPEND}" + +src_compile() { + addwrite /proc/self/comm + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install + find "${D}" -name "obnam-viewprof*" -delete + insinto /etc + doins "${FILESDIR}"/obnam.conf + keepdir /var/log/obnam +} + +pkg_postinst() { + if [[ $REPLACING_VERSIONS < "1.2" ]]; then + elog "You will need to setup a config file before running obnam for the first time." + elog "For details, please see the obnam(1) manual page." + elog "An example file has been installed as /etc/obnam.conf for your convenience." + fi +} |