diff options
| author | Sam James <sam@gentoo.org> | 2025-10-05 03:20:56 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-10-05 03:20:56 +0100 |
| commit | acf121c5d62af963203889323b95e93d27055174 (patch) | |
| tree | d95014bf11950e0b0307b4f156339e030a31e5d7 /dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r2.ebuild | |
| parent | d84076775b998e2b3dbc0f2b3bf1bf55219fec81 (diff) | |
| download | gentoo-acf121c5d62af963203889323b95e93d27055174.tar.gz gentoo-acf121c5d62af963203889323b95e93d27055174.tar.bz2 gentoo-acf121c5d62af963203889323b95e93d27055174.zip | |
dev-perl/Cache-Memcached-Fast: drop Perl virtual deps
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r2.ebuild')
| -rw-r--r-- | dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r2.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r2.ebuild new file mode 100644 index 000000000000..58bafd63f1fc --- /dev/null +++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2025 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 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" + +BDEPEND=" + test? ( + net-misc/memcached + ) +" + +PATCHES=( + "${FILESDIR}/0.230.0-parallel-make.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} +} |
