From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1184893-garchives=archives.gentoo.org@lists.gentoo.org> 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 AAFF2138359 for <garchives@archives.gentoo.org>; Sun, 5 Jul 2020 18:49:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C03B0E0885; Sun, 5 Jul 2020 18:49:38 +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 A75F6E0885 for <gentoo-commits@lists.gentoo.org>; Sun, 5 Jul 2020 18:49:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AD8AC34F367 for <gentoo-commits@lists.gentoo.org>; Sun, 5 Jul 2020 18:49:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07FCC2CA for <gentoo-commits@lists.gentoo.org>; Sun, 5 Jul 2020 18:49:32 +0000 (UTC) From: "Kent Fredric" <kentnl@gentoo.org> 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" <kentnl@gentoo.org> Message-ID: <1593973403.b3295c8bc60a1467d6b636ebca284992141f8f2a.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-r1.ebuild X-VCS-Directories: dev-perl/Cache-Memcached-Fast/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: b3295c8bc60a1467d6b636ebca284992141f8f2a X-VCS-Branch: master Date: Sun, 5 Jul 2020 18:49:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 64901fc0-ae90-496b-99aa-8d25349f1f76 X-Archives-Hash: 313af7126ad48dcc70994cb0c4e9f24a commit: b3295c8bc60a1467d6b636ebca284992141f8f2a Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Sat Jul 4 01:26:09 2020 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Sun Jul 5 18:23:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3295c8b dev-perl/Cache-Memcached-Fast: -r bump for CFLAGS love - Ensure CFLAGS passed to make/compile Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> .../Cache-Memcached-Fast-0.260.0-r1.ebuild | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0-r1.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0-r1.ebuild new file mode 100644 index 00000000000..1c39f3f1586 --- /dev/null +++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.260.0-r1.ebuild @@ -0,0 +1,55 @@ +# 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_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} +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} +}