From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cache-Memcached-Fast/
Date: Sun, 5 Jul 2020 18:49:32 +0000 (UTC) [thread overview]
Message-ID: <1593973403.b3295c8bc60a1467d6b636ebca284992141f8f2a.kentnl@gentoo> (raw)
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}
+}
next reply other threads:[~2020-07-05 18:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-05 18:49 Kent Fredric [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-19 11:26 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cache-Memcached-Fast/ Sam James
2024-04-17 23:35 Sam James
2024-04-17 23:29 Sam James
2024-04-17 22:10 Sam James
2024-03-17 6:27 Ionen Wolkens
2024-03-17 6:27 Ionen Wolkens
2024-03-02 9:51 Arthur Zamarin
2024-03-02 9:51 Arthur Zamarin
2024-02-15 21:15 Sam James
2024-02-15 19:43 Jakov Smolić
2023-06-22 4:17 Sam James
2021-10-15 19:52 Andreas K. Hüttel
2021-10-09 19:16 Andreas K. Hüttel
2020-08-06 16:40 Kent Fredric
2020-05-13 12:27 Kent Fredric
2018-02-11 10:36 Michał Górny
2015-12-29 11:47 Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1593973403.b3295c8bc60a1467d6b636ebca284992141f8f2a.kentnl@gentoo \
--to=kentnl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox