summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-06-15 06:07:33 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-06-15 06:07:33 +0000
commitc33c3c8b6027c912c3872adce5300433255b9851 (patch)
treefa847402b48236d25f955b05595dbdd8befcf736 /dev-perl/Cache-Memcached-Fast
parentStable for HPPA (bug #270243). (diff)
downloadgentoo-2-c33c3c8b6027c912c3872adce5300433255b9851.tar.gz
gentoo-2-c33c3c8b6027c912c3872adce5300433255b9851.tar.bz2
gentoo-2-c33c3c8b6027c912c3872adce5300433255b9851.zip
Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Cache-Memcached-Fast')
-rw-r--r--dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.14.ebuild23
-rw-r--r--dev-perl/Cache-Memcached-Fast/ChangeLog11
-rw-r--r--dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.14-tests-fix.patch31
-rw-r--r--dev-perl/Cache-Memcached-Fast/metadata.xml9
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.14.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.14.ebuild
new file mode 100644
index 000000000000..19b232afdd46
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.14.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.14.ebuild,v 1.1 2009/06/15 06:07:33 robbat2 Exp $
+
+MODULE_AUTHOR="KROKI"
+
+inherit perl-module
+
+DESCRIPTION="Perl client for memcached, in C language"
+
+IUSE=""
+
+SLOT="0"
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+ perl-module_src_unpack
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.14-tests-fix.patch
+}
+
+SRC_TEST="do"
diff --git a/dev-perl/Cache-Memcached-Fast/ChangeLog b/dev-perl/Cache-Memcached-Fast/ChangeLog
new file mode 100644
index 000000000000..f39f67f9a0fa
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-perl/Cache-Memcached-Fast
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cache-Memcached-Fast/ChangeLog,v 1.1 2009/06/15 06:07:33 robbat2 Exp $
+
+*Cache-Memcached-Fast-0.14 (15 Jun 2009)
+
+ 15 Jun 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +Cache-Memcached-Fast-0.14.ebuild,
+ +files/Cache-Memcached-Fast-0.14-tests-fix.patch, +metadata.xml:
+ Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
diff --git a/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.14-tests-fix.patch b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.14-tests-fix.patch
new file mode 100644
index 000000000000..1aa0bd20fcf2
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.14-tests-fix.patch
@@ -0,0 +1,31 @@
+Taken from upstream bug tracker:
+https://rt.cpan.org/Public/Bug/Display.html?id=46883
+
+--- t/commands.t.orig 2009-06-12 06:07:14.000000000 -0700
++++ t/commands.t 2009-06-12 06:05:09.000000000 -0700
+@@ -9,7 +9,7 @@
+ use Memd;
+
+ if ($Memd::memd) {
+- plan tests => 66;
++ plan tests => 68;
+ } else {
+ plan skip_all => 'Not connected';
+ }
+@@ -28,7 +28,7 @@
+ is($Memd::memd->get($key), 'v2', 'Fetch');
+ ok($Memd::memd->replace($key, 'v3'), 'Replace');
+ is($Memd::memd->get($key), 'v3', 'Fetch');
+-
++ok($Memd::memd->replace($key, 0), 'replace with numeric');
+ ok($Memd::memd->incr($key), 'Incr');
+ ok($Memd::memd->get($key) == 1, 'Fetch');
+ ok($Memd::memd->incr($key, 5), 'Incr');
+@@ -132,6 +132,7 @@
+ is(scalar keys %$res, 0);
+ }
+
++ok($Memd::memd->replace_multi(map { [$_,0] } @keys),'replace_multi to reset to numeric');
+ $res = $Memd::memd->incr_multi([$keys[0], 2], [$keys[1]], @keys[2..$#keys]);
+ ok(values %$res == @keys);
+ is((grep { $_ != 1 } values %$res), 1);
diff --git a/dev-perl/Cache-Memcached-Fast/metadata.xml b/dev-perl/Cache-Memcached-Fast/metadata.xml
new file mode 100644
index 000000000000..8ac7a1c994df
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+</pkgmetadata>