Diff Cache-Memcached-Fast-0.270.0 with a Cache-Memcached-Fast-0.280.0

/usr/portage/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0.ebuild 2023-10-09 14:52:29.824368359 +0300
1
# Copyright 1999-2021 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 6
DIST_AUTHOR=RAZ
7
DIST_VERSION=0.27
7
DIST_VERSION=0.28
8 8
DIST_EXAMPLES=("script/*")
9
# Tests a bit flaky
10
DIST_TEST=do
9 11
inherit perl-module
10 12

  
11 13
DESCRIPTION="Perl client for memcached, in C language"
......
13 15
# License note: Perl 5.x or newer, + "when C parts used as standalone library"
14 16
# Bug: https://bugs.gentoo.org/718946#c4
15 17
LICENSE="|| ( Artistic GPL-1+ ) LGPL-2.1+"
16

  
17 18
SLOT="0"
18 19
KEYWORDS="~amd64 ~x86"
19
IUSE="test"
20
RESTRICT="!test? ( test )"
21 20

  
22
RDEPEND="virtual/perl-Storable"
23
BDEPEND="${RDEPEND}
21
RDEPEND="
22
	>=virtual/perl-Carp-1.250.0
23
	>=virtual/perl-XSLoader-0.140.0
24
"
25
BDEPEND="
26
	${RDEPEND}
24 27
	virtual/perl-ExtUtils-MakeMaker
25 28
	test?	(
29
		>=dev-perl/Test2-Suite-0.0.72
26 30
		net-misc/memcached
27
		virtual/perl-Test-Simple
28 31
	)
29 32
"
30 33

  
......
38 41
	"t/pod.t"
39 42
)
40 43

  
41
# Tests a bit flaky
42
DIST_TEST=do
43

  
44
src_compile() {
45
	mymake=(
46
		"OPTIMIZE=${CFLAGS}"
47
	)
48
	perl-module_src_compile
49
}
50

  
51 44
src_test() {
52 45
	ewarn "t/commands.t is known to fail: https://bugs.gentoo.org/722848"
53 46
	local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 )
Thank you!