summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2022-12-19 16:52:34 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2022-12-19 17:27:28 +0100
commite23c10326a231396fae4619e6159c2e160866c72 (patch)
tree4ee79517b97596e274c45e8bfa0c68efdfd3bd0e /app-backup/rdiff-backup
parentapp-forensics/aide: fix build with >=portage-3.0.40 (diff)
downloadgentoo-e23c10326a231396fae4619e6159c2e160866c72.tar.gz
gentoo-e23c10326a231396fae4619e6159c2e160866c72.tar.bz2
gentoo-e23c10326a231396fae4619e6159c2e160866c72.zip
app-backup/rdiff-backup: add 2.2.0
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-backup/rdiff-backup')
-rw-r--r--app-backup/rdiff-backup/Manifest2
-rw-r--r--app-backup/rdiff-backup/rdiff-backup-2.2.0.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/app-backup/rdiff-backup/Manifest b/app-backup/rdiff-backup/Manifest
index 2c4ca4ea4fe6..6871763398d0 100644
--- a/app-backup/rdiff-backup/Manifest
+++ b/app-backup/rdiff-backup/Manifest
@@ -1 +1,3 @@
DIST rdiff-backup-2.0.5.tar.gz 456115 BLAKE2B 9cd51644e11af3320fa5aca7864388da4b1165a1fc9e660265445d861eb356ba32e3b148a1d8de8e702bd9a6f0276ec3a4453c85ec702d80be5839661a1a679f SHA512 59482e6d78bc887fc99efd4b4779e9b41c7e4b0427e51b80b18a550d0051e4213a0c200296154759d1734f511f7abe3175d171f018c59c55e5abdfd0a890cfbd
+DIST rdiff-backup-2.2.0-manpages.tar.gz 30062 BLAKE2B 88a9afa238e7a1551aed5f60801d5445a268a6a0e80035564a8a37379f2e356a7eb8f9f39180948a7fd12ba153e08f400c77fa5badc61f79f322054842cad81a SHA512 23f2112b16e4d3340a15be3c58f2a716177268a2d38e5ba28eb72230522a25799ae3a8faf5ffc777777fd262023b2b2dfab09198112bb24751a3a8c4766e85af
+DIST rdiff-backup-2.2.0.tar.gz 903121 BLAKE2B 53adaa64842609e40bbc7aafc14b9a2b062fb5aae17ee6eb5c649a93f7dddc99e3ba681587aad2f9e1adb7fc8191073ccbbcb9e26bf09a90274740b013fd10e3 SHA512 3cae2ada5766c85c7aa1d1c15bd4068e406f524143abcae58775ef24b022ceec499c3262e54bef184f70a1c22c4eb2ce3fb06babbaea64dc0a9115b80831fde5
diff --git a/app-backup/rdiff-backup/rdiff-backup-2.2.0.ebuild b/app-backup/rdiff-backup/rdiff-backup-2.2.0.ebuild
new file mode 100644
index 000000000000..398e35fac70f
--- /dev/null
+++ b/app-backup/rdiff-backup/rdiff-backup-2.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+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
+ https://dev.gentoo.org/~voyageur/distfiles/${P}-manpages.tar.gz"
+# Manpages need dev-ruby/asciidoctor
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+# Tests use a tox environment and separate steps for test env preparation
+RESTRICT="test"
+
+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="
+
+src_prepare() {
+ mkdir build || die
+ cp "${S}"-manpages/*.1 build || die
+
+ sed -e "s#share/doc/${PN}#share/doc/${PF}#" -i setup.py || die
+ default
+}