Diff rdiff-backup-2.0.5-r1 with a rdiff-backup-2.2.5

/usr/portage/app-backup/rdiff-backup/rdiff-backup-2.2.5.ebuild 2023-10-09 14:52:28.204368318 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
PYTHON_COMPAT=( python3_{9..11} )
7
DISTUTILS_USE_SETUPTOOLS=rdepend
8
inherit distutils-r1
7
PYPI_NO_NORMALIZE=1
8
DISTUTILS_EXT=1
9
DISTUTILS_USE_PEP517=setuptools
10
inherit distutils-r1 pypi
9 11

  
10 12
DESCRIPTION="Local/remote mirroring+incremental backup"
11 13
HOMEPAGE="https://github.com/rdiff-backup/rdiff-backup"
12
SRC_URI="https://github.com/rdiff-backup/${PN}/releases/download/v${PV}/${P}.tar.gz"
13 14

  
14 15
LICENSE="GPL-2"
15 16
SLOT="0"
16
KEYWORDS="~alpha amd64 arm ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
17
IUSE="examples"
17
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
18 18
# Tests use a tox environment and separate steps for test env preparation
19 19
RESTRICT="test"
20 20

  
21
DEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]
22
	>=net-libs/librsync-1.0:0="
23 21
RDEPEND="dev-python/pylibacl[${PYTHON_USEDEP}]
24 22
	dev-python/pyxattr[${PYTHON_USEDEP}]
23
	dev-python/pyyaml[${PYTHON_USEDEP}]
25 24
	>=net-libs/librsync-1.0:0="
25
DEPEND="${RDEPEND}
26
	dev-python/setuptools-scm[${PYTHON_USEDEP}]"
26 27

  
27
PATCHES=(
28
	"${FILESDIR}/${PN}-2.0.3-no-docs.patch"
29
	"${FILESDIR}/${P}-py311.patch"
30
)
31

  
32
python_install_all() {
33
	local DOCS=( docs/FAQ.md )
34
	use examples && DOCS+=( docs/examples.md )
35
	distutils-r1_python_install_all
28
src_prepare() {
29
	sed -e "s#share/doc/${PN}#share/doc/${PF}#" -i setup.py || die
30
	default
36 31
}
Thank you!