app-backup/rdiff-backup: 2.0.0 bump
authorBernard Cafarelli <voyageur@gentoo.org>
Wed, 18 Mar 2020 19:40:00 +0000 (20:40 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Wed, 18 Mar 2020 19:41:58 +0000 (20:41 +0100)
"ready for the future" major bump with python 3 support

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
app-backup/rdiff-backup/Manifest
app-backup/rdiff-backup/files/rdiff-backup-2.0.0-no-docs.patch [new file with mode: 0644]
app-backup/rdiff-backup/rdiff-backup-2.0.0.ebuild [new file with mode: 0644]

index 786ad0fa90a50b519d0e1047728e6cdcd7abba74..d418807db60660f0af972b1ef67d1921db935b99 100644 (file)
@@ -1,3 +1,4 @@
 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
 DIST rdiff-backup-1.9.1b0.tar.gz 318549 BLAKE2B 726b3aec733861cbba45d3d3b13302c52d3e09fdf9f5a1912145b5af4503cc804ea1cf19bdb88c92ea77ad64c0a836bae470e0f4d672cc71eeef15fb00157678 SHA512 48dd4126ba13ebc1fda1a6855279d3d54c8c79571a2d8117a0204b37521aeb802e65e9d242c9ba6c360a196125da419c1bf36f95f5b73ceb39a8ba5f5dee0f2a
+DIST rdiff-backup-2.0.0.tar.gz 408352 BLAKE2B c2a7ae90ea147398d648142e20761e3caf4f08948dcd0a3de22254a13857d3e99cb2801c83084dd13dd84764cebc7651b42a70a788553c67925521e2ed123953 SHA512 0bf06d4eefffd41e86224d798e6ac6852ca0fd356be73d651ffaf63c37aaa043a6d22f8025619ab4a86e54f6e98e61f445ab68a6f87f4f2f48e635507ea110ec
diff --git a/app-backup/rdiff-backup/files/rdiff-backup-2.0.0-no-docs.patch b/app-backup/rdiff-backup/files/rdiff-backup-2.0.0-no-docs.patch
new file mode 100644 (file)
index 0000000..bbac525
--- /dev/null
@@ -0,0 +1,23 @@
+diff -Naur rdiff-backup-2.0.0.orig/setup.py rdiff-backup-2.0.0/setup.py
+--- rdiff-backup-2.0.0.orig/setup.py   2020-03-15 08:25:32.000000000 +0100
++++ rdiff-backup-2.0.0/setup.py        2020-03-18 20:36:48.579570457 +0100
+@@ -194,19 +194,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",
+-                "docs/Windows-DEVELOP.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-2.0.0.ebuild b/app-backup/rdiff-backup/rdiff-backup-2.0.0.ebuild
new file mode 100644 (file)
index 0000000..f60e5ef
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1
+
+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}.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="dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       >=net-libs/librsync-1.0:0="
+RDEPEND="dev-python/pylibacl[${PYTHON_USEDEP}]
+       dev-python/pyxattr[${PYTHON_USEDEP}]
+       >=net-libs/librsync-1.0:0="
+
+PATCHES=(
+       "${FILESDIR}/${PN}-2.0.0-no-docs.patch"
+)
+
+python_install_all() {
+       local DOCS=( docs/FAQ.md )
+       use examples && DOCS+=( docs/examples.md )
+       distutils-r1_python_install_all
+}