Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/btrbk/
Date: Mon, 31 Jul 2017 18:45:18
Message-Id: 1501525704.0ec9b53b49d7c26b20a6f32e86212a87f43bc968.soap@gentoo
commit:     0ec9b53b49d7c26b20a6f32e86212a87f43bc968
Author:     Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Mon Jul 31 18:12:50 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 18:28:24 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec9b53b

app-backup/btrbk: 0.24.0 requires <sys-fs/btrfs-progs-4.8.3

See https://github.com/digint/btrbk/commit/6cf5d59
Closes: https://github.com/gentoo/gentoo/pull/5251

 app-backup/btrbk/btrbk-0.24.0-r1.ebuild | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/app-backup/btrbk/btrbk-0.24.0-r1.ebuild b/app-backup/btrbk/btrbk-0.24.0-r1.ebuild
new file mode 100644
index 00000000000..8f10060231f
--- /dev/null
+++ b/app-backup/btrbk/btrbk-0.24.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="git://dev.tty0.ch/btrbk.git"
+	inherit git-r3
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
+	KEYWORDS="amd64 arm x86"
+fi
+
+DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
+HOMEPAGE="https://digint.ch/btrbk/"
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="+pv"
+
+DEPEND=""
+RDEPEND="dev-lang/perl
+	net-misc/openssh
+	pv? ( sys-apps/pv )
+	>=sys-fs/btrfs-progs-3.18.2 <sys-fs/btrfs-progs-4.8.3"
+
+src_install() {
+	emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" SYSTEMDDIR="$(systemd_get_systemunitdir)" install
+}