Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cache-Memcached-Fast/
Date: Wed, 13 May 2020 12:27:33
Message-Id: 1589372789.773f7ad9ec4c08f2323f3ac19b4619b3709e8d11.kentnl@gentoo
1 commit: 773f7ad9ec4c08f2323f3ac19b4619b3709e8d11
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 13 12:15:16 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Wed May 13 12:26:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773f7ad9
7
8 dev-perl/Cache-Memcached-Fast: Bump to version 0.260.0
9
10 - EAPI7
11 - Correct license as best possible given upstream weirdness: Although
12 its very unlikely an end user will use the C parts of this as a
13 library, the possibility still exists that they will, and after
14 installing/downloading this package from Gentoo mirrors, may attempt
15 to crib some of its source code. Subsequently, the only thing that
16 makes sense is to forward expose the LGPL-2.1+ part mandatorially,
17 because we can't make assertions about how people will use this.
18 - Do unconditional removal of annoying tests
19 - Add warning about known test failure with bug #722848 ref, but this
20 path only seems to affect code that tries to use the (new) methods,
21 gat/gat_multi, so existing code is likely unaffected.
22
23 Upstream:
24 - Fix the stack when not returning anything
25 - Add methods "->gat" and "->gat_multi" for updating expiration time
26 while fetching a key/keys.
27
28 Bug: https://bugs.gentoo.org/722848
29 Package-Manager: Portage-2.3.99, Repoman-2.3.22
30 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
31
32 .../Cache-Memcached-Fast-0.260.0.ebuild | 49 ++++++++++++++++++++++
33 dev-perl/Cache-Memcached-Fast/Manifest | 1 +
34 2 files changed, 50 insertions(+)
35
36 diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0.ebuild
37 new file mode 100644
38 index 00000000000..71898415ab1
39 --- /dev/null
40 +++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0.ebuild
41 @@ -0,0 +1,49 @@
42 +# Copyright 1999-2020 Gentoo Authors
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=7
46 +
47 +DIST_AUTHOR=RAZ
48 +DIST_VERSION=0.26
49 +DIST_EXAMPLES=("script/*")
50 +inherit perl-module
51 +
52 +DESCRIPTION="Perl client for memcached, in C language"
53 +# License note: Perl 5.x or newer, + "when C parts used as standalone library"
54 +# Bug: https://bugs.gentoo.org/718946#c4
55 +LICENSE="|| ( Artistic GPL-1+ ) LGPL-2.1+"
56 +SLOT="0"
57 +KEYWORDS="~amd64 ~x86"
58 +IUSE="test"
59 +RESTRICT="!test? ( test )"
60 +
61 +PATCHES=(
62 + "${FILESDIR}/0.230.0-parallel-make.patch"
63 + "${FILESDIR}/${PN}-0.250.0-no-flto.patch"
64 +)
65 +RDEPEND="virtual/perl-Storable"
66 +BDEPEND="${RDEPEND}
67 + virtual/perl-ExtUtils-MakeMaker
68 + test? (
69 + net-misc/memcached
70 + virtual/perl-Test-Simple
71 + )
72 +"
73 +PERL_RM_FILES=(
74 + "t/pod-coverage.t"
75 + "t/pod.t"
76 +)
77 +
78 +src_test() {
79 + ewarn "t/commands.t is known to fail: https://bugs.gentoo.org/722848"
80 + local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 )
81 + [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
82 + memcached "${memcached_opts[@]}" || die "Can't start memcached test server"
83 +
84 + local exit_status
85 + perl-module_src_test
86 + exit_status=$?
87 +
88 + kill "$(<"${T}/memcached.pid")"
89 + return ${exit_status}
90 +}
91
92 diff --git a/dev-perl/Cache-Memcached-Fast/Manifest b/dev-perl/Cache-Memcached-Fast/Manifest
93 index 2c2fdba3424..0f9d552b31e 100644
94 --- a/dev-perl/Cache-Memcached-Fast/Manifest
95 +++ b/dev-perl/Cache-Memcached-Fast/Manifest
96 @@ -1 +1,2 @@
97 DIST Cache-Memcached-Fast-0.25.tar.gz 104313 BLAKE2B 09353d474208af1a57d8a91b1f18a9f2de8bf1e11d059588d24e3b3328f1b8f26c1acb68c97c815d73f7ee50be3f558147a35f5f28709f7bcf9423c42dd4d99f SHA512 385b58f9dd66f86c7f99859782f098101d0f6bce9e2b22552895ab22d775ed73a1886544a51904797812b77e6849d8f2d79e61fb999a11e30497c6ae6de8c5c0
98 +DIST Cache-Memcached-Fast-0.26.tar.gz 87887 BLAKE2B d7877a56ba94bd173290ccc66ea91d8ff86ee22a9d381a0a8be5049194ffae97b8084f7fdb464c377e632525a9f08084258153e7c358f32926b687f46ca94a53 SHA512 aea565be2d1aaae186c6d985d88e444fa39311338a851f7f05b013affcab0bfcabd258a3df08849b9429b7168ff0d1e59ab27b1e843b217093b2b64786e890b1