diff options
author | Sam James <sam@gentoo.org> | 2023-06-22 04:59:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-22 04:59:57 +0100 |
commit | 9aae86e5acbe658e928be2e709898072e2a83119 (patch) | |
tree | 4bebc222e8ca99a0cceb53a84e41c743e09ce925 /dev-perl/Cache-Memcached-Fast | |
parent | dev-perl/Cache-Simple-TimedExpiry: update DESCRIPTION (diff) | |
download | gentoo-9aae86e5acbe658e928be2e709898072e2a83119.tar.gz gentoo-9aae86e5acbe658e928be2e709898072e2a83119.tar.bz2 gentoo-9aae86e5acbe658e928be2e709898072e2a83119.zip |
dev-perl/Cache-Memcached-Fast: add 0.280.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Cache-Memcached-Fast')
-rw-r--r-- | dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0.ebuild | 56 | ||||
-rw-r--r-- | dev-perl/Cache-Memcached-Fast/Manifest | 1 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0.ebuild new file mode 100644 index 000000000000..f97153aa2860 --- /dev/null +++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=RAZ +DIST_VERSION=0.28 +DIST_EXAMPLES=("script/*") +# Tests a bit flaky +DIST_TEST=do +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" + +RDEPEND=" + >=virtual/perl-Carp-1.250.0 + >=virtual/perl-XSLoader-0.140.0 +" +BDEPEND=" + ${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + >=dev-perl/Test2-Suite-0.0.72 + net-misc/memcached + ) +" + +PATCHES=( + "${FILESDIR}/0.230.0-parallel-make.patch" + "${FILESDIR}/${PN}-0.270.0-no-flto.patch" +) + +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 e906b7d6904c..67e5a8188553 100644 --- a/dev-perl/Cache-Memcached-Fast/Manifest +++ b/dev-perl/Cache-Memcached-Fast/Manifest @@ -1 +1,2 @@ DIST Cache-Memcached-Fast-0.27.tar.gz 88712 BLAKE2B a889e719ae36721dea203b54488d86e52b40df2f1aceab1bca386a5619e80f40e27ef7fdd09ba5ef5c0678659be44b43c9416066585a0b746cf46025e546496b SHA512 6e3f7cb6ae317312a16aad7888fb75ec03ff7be5b79aef1702c8bc8a1499995379b42c1afd6c587d419ea4dbe880836c874d4929f968f7a384ab152e5baa03fa +DIST Cache-Memcached-Fast-0.28.tar.gz 96175 BLAKE2B f4034869c9e8fdad141f15ad221b858b59d26bde26b93b694194ffc5df69b946504cbda1cc4775b52c661b7359e4b36c7bcb10add2e1525266672a4b7ec2dcbf SHA512 2b7cfd8cb4d97325a116158685b15db55029f157803f91b51d6c2e6fafd153ed8a754605cdcb1c736f95cc83091387433df7464d9a337035d890bc8cc48150f7 |