mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-perl/Cache-Memcached-Fast: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=RAZ
|
||||
DIST_VERSION=0.27
|
||||
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 )"
|
||||
|
||||
RDEPEND="virtual/perl-Storable"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
net-misc/memcached
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
|
||||
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"
|
||||
)
|
||||
|
||||
# Tests a bit flaky
|
||||
DIST_TEST=do
|
||||
|
||||
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}
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user