Diff Net-Pcap-0.180.0-r1 with a Net-Pcap-0.210.0

/usr/portage/dev-perl/Net-Pcap/Net-Pcap-0.210.0.ebuild 2023-10-09 14:52:29.900368360 +0300
1
# Copyright 1999-2020 Gentoo Authors
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
DIST_AUTHOR=SAPER
7
DIST_VERSION=0.18
6
DIST_AUTHOR=CORION
7
DIST_VERSION=0.21
8 8
DIST_EXAMPLES=( "eg/*" )
9 9
inherit perl-module
10 10

  
......
12 12

  
13 13
SLOT="0"
14 14
KEYWORDS="~alpha amd64 ppc x86"
15
IUSE=""
16 15

  
17
RDEPEND="net-libs/libpcap
18
	dev-perl/IO-Interface"
16
RDEPEND="
17
	net-libs/libpcap
18
	dev-perl/IO-Interface
19
"
19 20
DEPEND="${RDEPEND}"
20 21

  
21
PATCHES=(
22
	"${FILESDIR}/${PN}-${DIST_VERSION}-libpcap-1.9.0.patch"
23
	"${FILESDIR}/${PN}-${DIST_VERSION}-test-error.patch"
24
)
25

  
26 22
src_test() {
27
	if [[ $EUID != 0 ]]; then
23
	if [[ ${EUID} != 0 ]]; then
28 24
		elog "Comprehensive testing of this module requires root permissions."
29 25
		elog "For details, see:"
30 26
		elog "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
Thank you!