Diff rdfind-1.6.0 with a perl-CPAN-2.380.0

/usr/portage/virtual/perl-CPAN/perl-CPAN-2.380.0.ebuild 2025-07-29 16:22:17.948470290 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools
7

  
8
DESCRIPTION="Find duplicate files based on their content"
9
HOMEPAGE="https://github.com/pauldreik/rdfind"
10
SRC_URI="https://rdfind.pauldreik.se/${P}.tar.gz"
11

  
12
LICENSE="GPL-2+"
6
DESCRIPTION="Virtual for ${PN#perl-}"
13 7
SLOT="0"
14
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
15

  
16
RDEPEND="dev-libs/nettle:="
17
DEPEND="${RDEPEND}"
18
BDEPEND="dev-build/autoconf-archive"
19

  
20
src_prepare() {
21
	default
22
	eautoreconf
23
}
8
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
24 9

  
25
src_test() {
26
	# Bug 840544
27
	local -x SANDBOX_PREDICT="${SANDBOX_PREDICT}"
28
	addpredict /
29
	default
30
}
10
RDEPEND="
11
	|| ( =dev-lang/perl-5.42* ~perl-core/${PN#perl-}-${PV} )
12
	dev-lang/perl:=
13
	!<perl-core/${PN#perl-}-${PV}
14
	!>perl-core/${PN#perl-}-${PV}-r999
15
"
Thank you!