summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-06-02 08:06:00 +0000
committerMichał Górny <mgorny@gentoo.org>2015-06-02 08:06:00 +0000
commit61ca0d652bf1567d4725ebcf5004075c6862a06d (patch)
tree0188f5338675ff72bf1913ca77b53cbcc8804d85
parentFix Version of pyzmq in deps; thanks Marius Brehler for the work https://gith... (diff)
downloadgentoo-2-61ca0d652bf1567d4725ebcf5004075c6862a06d.tar.gz
gentoo-2-61ca0d652bf1567d4725ebcf5004075c6862a06d.tar.bz2
gentoo-2-61ca0d652bf1567d4725ebcf5004075c6862a06d.zip
Version bump. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/131 by jbergstroem.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
-rw-r--r--dev-python/pylibmc/ChangeLog8
-rw-r--r--dev-python/pylibmc/pylibmc-1.4.3.ebuild34
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-python/pylibmc/ChangeLog b/dev-python/pylibmc/ChangeLog
index 1b295a412fb4..62e3ec1c746f 100644
--- a/dev-python/pylibmc/ChangeLog
+++ b/dev-python/pylibmc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pylibmc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/ChangeLog,v 1.14 2015/04/23 09:03:32 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/ChangeLog,v 1.15 2015/06/02 08:06:00 mgorny Exp $
+
+*pylibmc-1.4.3 (02 Jun 2015)
+
+ 02 Jun 2015; Michał Górny <mgorny@gentoo.org> +pylibmc-1.4.3.ebuild:
+ Version bump. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/131
+ by jbergstroem.
23 Apr 2015; Ian Delaney <idella4@gentoo.org> -pylibmc-1.2.3.ebuild,
-pylibmc-1.3.0.ebuild:
diff --git a/dev-python/pylibmc/pylibmc-1.4.3.ebuild b/dev-python/pylibmc/pylibmc-1.4.3.ebuild
new file mode 100644
index 000000000000..7d0856d54ab8
--- /dev/null
+++ b/dev-python/pylibmc/pylibmc-1.4.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/pylibmc-1.4.3.ebuild,v 1.1 2015/06/02 08:06:00 mgorny Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+inherit distutils-r1
+
+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="test"
+
+RDEPEND=">=dev-libs/libmemcached-0.32"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ sed -e "/with-info=1/d" -i setup.cfg
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ memcached -d -p 11219 -u nobody -l localhost -P "${T}/m.pid" || die
+ MEMCACHED_PORT=11219 nosetests
+ local ret=${?}
+ kill "$(<"${T}/m.pid")" || die
+ [[ ${ret} == 0 ]] || die "Tests fail with ${EPYTHON}!"
+}