summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-10-30 13:55:36 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-10-30 13:55:36 +0000
commite2cc8078b836050e81e17183a7b0be7565383998 (patch)
tree2704562a260c7252c241a9a24c34b44131d52256 /dev-python
parentConclude package move (diff)
downloadgentoo-2-e2cc8078b836050e81e17183a7b0be7565383998.tar.gz
gentoo-2-e2cc8078b836050e81e17183a7b0be7565383998.tar.bz2
gentoo-2-e2cc8078b836050e81e17183a7b0be7565383998.zip
Version bump pylibmc to 1.2.2, bug 388559.
(Portage version: 2.1.10.31/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pylibmc/ChangeLog7
-rw-r--r--dev-python/pylibmc/pylibmc-1.2.2.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-python/pylibmc/ChangeLog b/dev-python/pylibmc/ChangeLog
index 43038142fc6d..ab072aacf050 100644
--- a/dev-python/pylibmc/ChangeLog
+++ b/dev-python/pylibmc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pylibmc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/ChangeLog,v 1.1 2011/10/24 09:03:00 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/ChangeLog,v 1.2 2011/10/30 13:55:36 djc Exp $
+
+*pylibmc-1.2.2 (30 Oct 2011)
+
+ 30 Oct 2011; Dirkjan Ochtman <djc@gentoo.org> +pylibmc-1.2.2.ebuild:
+ Version bump to 1.2.2 with fixes, bug 388559.
*pylibmc-1.2.1 (24 Oct 2011)
diff --git a/dev-python/pylibmc/pylibmc-1.2.2.ebuild b/dev-python/pylibmc/pylibmc-1.2.2.ebuild
new file mode 100644
index 000000000000..b2ea06a5f35f
--- /dev/null
+++ b/dev-python/pylibmc/pylibmc-1.2.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/pylibmc-1.2.2.ebuild,v 1.1 2011/10/30 13:55:36 djc Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+DESCRIPTION="Libmemcached wrapper written as a Python extension"
+HOMEPAGE="http://sendapatch.se/projects/pylibmc/ http://pypi.python.org/pypi/pylibmc"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/libmemcached-0.32"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ distutils_src_prepare
+ sed -e "/with-info=1/d" -i setup.cfg
+}
+
+src_test() {
+ memcached -d -p 11219 -l localhost -P "${T}/memcached.pid"
+ MEMCACHED_PORT=11219 distutils_src_test
+ kill "$(<"${T}/memcached.pid")"
+}