commit:     755c03956fe32aa73cca3f467de0fbb07e82ff78
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  7 20:56:03 2020 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 20:56:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755c0395

app-backup/rdiff-backup: set DISTUTILS_USE_SETUPTOOLS

It explicitely depends on setuptools

Closes: https://bugs.gentoo.org/745903
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 .../rdiff-backup/rdiff-backup-2.0.5-r1.ebuild      | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/app-backup/rdiff-backup/rdiff-backup-2.0.5-r1.ebuild 
b/app-backup/rdiff-backup/rdiff-backup-2.0.5-r1.ebuild
new file mode 100644
index 00000000000..cfb5bf43938
--- /dev/null
+++ b/app-backup/rdiff-backup/rdiff-backup-2.0.5-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+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 ~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.3-no-docs.patch"
+)
+
+python_install_all() {
+       local DOCS=( docs/FAQ.md )
+       use examples && DOCS+=( docs/examples.md )
+       distutils-r1_python_install_all
+}

Reply via email to