summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2015-09-07 13:17:11 +0200
committerMarc Schiffbauer <mschiff@gentoo.org>2015-09-07 13:17:11 +0200
commit70e062d2da287cbbb295d43ffa6cf882e61b3687 (patch)
treed7a0ff31754b61900f492169e2239f75268f4956 /app-backup
parentmedia-libs/mesa: Version bump (diff)
downloadgentoo-70e062d2da287cbbb295d43ffa6cf882e61b3687.tar.gz
gentoo-70e062d2da287cbbb295d43ffa6cf882e61b3687.tar.bz2
gentoo-70e062d2da287cbbb295d43ffa6cf882e61b3687.zip
app-backup/obnam: bump version
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/obnam/obnam-1.16.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/app-backup/obnam/obnam-1.16.ebuild b/app-backup/obnam/obnam-1.16.ebuild
new file mode 100644
index 000000000000..cd42b25e8071
--- /dev/null
+++ b/app-backup/obnam/obnam-1.16.ebuild
@@ -0,0 +1,54 @@
+# 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 eutils 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
+ dev-python/fuse-python
+ dev-python/larch
+ !=dev-python/paramiko-1.13.0
+ || ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
+ dev-python/pyyaml
+ dev-python/tracing
+ dev-python/ttystatus
+ "
+RDEPEND="${DEPEND}"
+
+PATCHES=( )
+
+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
+}