summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-11-29 18:35:29 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2019-11-29 18:38:55 +0100
commitb7a404f2c9389f897c9a03965165d49df23bb139 (patch)
treeb5e345406cee9724c8bfa0972e13f1aa0f529c90 /app-backup
parentdev-go/go-tools: Remove old version 0_pre20180817 (diff)
downloadgentoo-b7a404f2c9389f897c9a03965165d49df23bb139.tar.gz
gentoo-b7a404f2c9389f897c9a03965165d49df23bb139.tar.bz2
gentoo-b7a404f2c9389f897c9a03965165d49df23bb139.zip
app-backup/rdiff-backup: add 1.4.0 beta
This first beta on 2.0 road supports python 3 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/rdiff-backup/Manifest1
-rw-r--r--app-backup/rdiff-backup/files/rdiff-backup-1.4.0-no-docs.patch22
-rw-r--r--app-backup/rdiff-backup/rdiff-backup-1.4.0_beta.ebuild35
3 files changed, 58 insertions, 0 deletions
diff --git a/app-backup/rdiff-backup/Manifest b/app-backup/rdiff-backup/Manifest
index e6de895e8e0..b3e8d3f6daf 100644
--- a/app-backup/rdiff-backup/Manifest
+++ b/app-backup/rdiff-backup/Manifest
@@ -1 +1,2 @@
DIST rdiff-backup-1.3.3.tar.gz 198412 BLAKE2B 95141b64ecb3442b2a420e3e2f4325a80bc4e3949e920f3fb04d8d7e69cd20b2809d230a5f9f6af6958f47689d73cf9fdc2d95134d41a5a9d0d6037ee87cf96e SHA512 e2731464a6ff146cdecac49d2d99275dc5e6b4a3ff5b8209fe6dc71fd80cdbf573d029531325a879e9a169c12b31568f75fdcb812f53df33896784c5bc550280
+DIST rdiff-backup-1.4.0b0.tar.gz 280675 BLAKE2B f729d7c4db08e32ca02a303afd7b88028efaba50e7dc9da20bac1e94835cd929c7277a73fb1f614d6acdf3ff72c96698bf6ca1a36c64c426649230f3f917ffe0 SHA512 50d3ca8ea155c9c001bf0284d8142757f8d12c4b9ef99b4ace43978c625dd6ddb06b04d2f91d0804a445c5ffcfef0dc1e1742a45d51731a728bde054cf3642f9
diff --git a/app-backup/rdiff-backup/files/rdiff-backup-1.4.0-no-docs.patch b/app-backup/rdiff-backup/files/rdiff-backup-1.4.0-no-docs.patch
new file mode 100644
index 00000000000..2d2ecb3ed0b
--- /dev/null
+++ b/app-backup/rdiff-backup/files/rdiff-backup-1.4.0-no-docs.patch
@@ -0,0 +1,22 @@
+diff -Naur rdiff-backup-1.4.0b0.orig/setup.py rdiff-backup-1.4.0b0/setup.py
+--- rdiff-backup-1.4.0b0.orig/setup.py 2019-11-22 22:34:17.000000000 +0100
++++ rdiff-backup-1.4.0b0/setup.py 2019-11-29 18:24:40.251407907 +0100
+@@ -152,18 +152,6 @@
+ scripts=["src/rdiff-backup", "src/rdiff-backup-statistics"],
+ data_files=[
+ ("share/man/man1", ["build/rdiff-backup.1", "build/rdiff-backup-statistics.1"]),
+- (
+- "share/doc/rdiff-backup",
+- [
+- "CHANGELOG",
+- "COPYING",
+- "README.md",
+- "docs/FAQ.md",
+- "docs/examples.md",
+- "docs/DEVELOP.md",
+- "docs/Windows-README.md",
+- ],
+- ),
+ ("share/bash-completion/completions", ["tools/bash-completion/rdiff-backup"]),
+ ],
+ # options is a hash of hash with command -> option -> value
diff --git a/app-backup/rdiff-backup/rdiff-backup-1.4.0_beta.ebuild b/app-backup/rdiff-backup/rdiff-backup-1.4.0_beta.ebuild
new file mode 100644
index 00000000000..348bfb31430
--- /dev/null
+++ b/app-backup/rdiff-backup/rdiff-backup-1.4.0_beta.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+inherit distutils-r1
+
+UPSTREAM_PV=$(ver_rs 3 '.')
+
+DESCRIPTION="Local/remote mirroring+incremental backup"
+HOMEPAGE="https://github.com/rdiff-backup/rdiff-backup"
+SRC_URI="https://github.com/rdiff-backup/${PN}/releases/download/v${PV/_/.}/${P/_beta/b0}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="examples"
+
+DEPEND=">=net-libs/librsync-1.0:0="
+RDEPEND="${DEPEND}
+ dev-python/pylibacl[${PYTHON_USEDEP}]
+ dev-python/pyxattr[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.0-no-docs.patch"
+)
+
+S=${WORKDIR}/${P/_beta/b0}
+
+python_install_all() {
+ local DOCS=( docs/FAQ.md )
+ use examples && DOCS+=( docs/examples.md )
+ distutils-r1_python_install_all
+}