From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3B191382C5 for ; Wed, 13 May 2020 12:27:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C559CE0954; Wed, 13 May 2020 12:27:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93F03E0954 for ; Wed, 13 May 2020 12:27:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5698034FDC4 for ; Wed, 13 May 2020 12:27:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 585321A3 for ; Wed, 13 May 2020 12:27:29 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1589372789.773f7ad9ec4c08f2323f3ac19b4619b3709e8d11.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cache-Memcached-Fast/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0.ebuild dev-perl/Cache-Memcached-Fast/Manifest X-VCS-Directories: dev-perl/Cache-Memcached-Fast/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 773f7ad9ec4c08f2323f3ac19b4619b3709e8d11 X-VCS-Branch: master Date: Wed, 13 May 2020 12:27:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2187e76d-0f6d-4229-abc4-21188e868afa X-Archives-Hash: 620c582c809c35a04a5048c5f1edc22e commit: 773f7ad9ec4c08f2323f3ac19b4619b3709e8d11 Author: Kent Fredric gentoo org> AuthorDate: Wed May 13 12:15:16 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Wed May 13 12:26:29 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773f7ad9 dev-perl/Cache-Memcached-Fast: Bump to version 0.260.0 - EAPI7 - Correct license as best possible given upstream weirdness: Although its very unlikely an end user will use the C parts of this as a library, the possibility still exists that they will, and after installing/downloading this package from Gentoo mirrors, may attempt to crib some of its source code. Subsequently, the only thing that makes sense is to forward expose the LGPL-2.1+ part mandatorially, because we can't make assertions about how people will use this. - Do unconditional removal of annoying tests - Add warning about known test failure with bug #722848 ref, but this path only seems to affect code that tries to use the (new) methods, gat/gat_multi, so existing code is likely unaffected. Upstream: - Fix the stack when not returning anything - Add methods "->gat" and "->gat_multi" for updating expiration time while fetching a key/keys. Bug: https://bugs.gentoo.org/722848 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> .../Cache-Memcached-Fast-0.260.0.ebuild | 49 ++++++++++++++++++++++ dev-perl/Cache-Memcached-Fast/Manifest | 1 + 2 files changed, 50 insertions(+) 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 new file mode 100644 index 00000000000..71898415ab1 --- /dev/null +++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=RAZ +DIST_VERSION=0.26 +DIST_EXAMPLES=("script/*") +inherit perl-module + +DESCRIPTION="Perl client for memcached, in C language" +# License note: Perl 5.x or newer, + "when C parts used as standalone library" +# Bug: https://bugs.gentoo.org/718946#c4 +LICENSE="|| ( Artistic GPL-1+ ) LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/0.230.0-parallel-make.patch" + "${FILESDIR}/${PN}-0.250.0-no-flto.patch" +) +RDEPEND="virtual/perl-Storable" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + net-misc/memcached + virtual/perl-Test-Simple + ) +" +PERL_RM_FILES=( + "t/pod-coverage.t" + "t/pod.t" +) + +src_test() { + ewarn "t/commands.t is known to fail: https://bugs.gentoo.org/722848" + local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 ) + [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage ) + memcached "${memcached_opts[@]}" || die "Can't start memcached test server" + + local exit_status + perl-module_src_test + exit_status=$? + + kill "$(<"${T}/memcached.pid")" + return ${exit_status} +} diff --git a/dev-perl/Cache-Memcached-Fast/Manifest b/dev-perl/Cache-Memcached-Fast/Manifest index 2c2fdba3424..0f9d552b31e 100644 --- a/dev-perl/Cache-Memcached-Fast/Manifest +++ b/dev-perl/Cache-Memcached-Fast/Manifest @@ -1 +1,2 @@ DIST Cache-Memcached-Fast-0.25.tar.gz 104313 BLAKE2B 09353d474208af1a57d8a91b1f18a9f2de8bf1e11d059588d24e3b3328f1b8f26c1acb68c97c815d73f7ee50be3f558147a35f5f28709f7bcf9423c42dd4d99f SHA512 385b58f9dd66f86c7f99859782f098101d0f6bce9e2b22552895ab22d775ed73a1886544a51904797812b77e6849d8f2d79e61fb999a11e30497c6ae6de8c5c0 +DIST Cache-Memcached-Fast-0.26.tar.gz 87887 BLAKE2B d7877a56ba94bd173290ccc66ea91d8ff86ee22a9d381a0a8be5049194ffae97b8084f7fdb464c377e632525a9f08084258153e7c358f32926b687f46ca94a53 SHA512 aea565be2d1aaae186c6d985d88e444fa39311338a851f7f05b013affcab0bfcabd258a3df08849b9429b7168ff0d1e59ab27b1e843b217093b2b64786e890b1