summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-07-27 08:54:15 +0000
committerIan Delaney <idella4@gentoo.org>2015-07-27 08:54:15 +0000
commit2e715356faf7e9a82f9e065b68c88601fa2c84a0 (patch)
tree676c6623651a5c827e9201fea79f7a35924b7895 /dev-python/pylibmc
parentVersion bump. (diff)
downloadgentoo-2-2e715356faf7e9a82f9e065b68c88601fa2c84a0.tar.gz
gentoo-2-2e715356faf7e9a82f9e065b68c88601fa2c84a0.tar.bz2
gentoo-2-2e715356faf7e9a82f9e065b68c88601fa2c84a0.zip
bump, rm old
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/pylibmc')
-rw-r--r--dev-python/pylibmc/ChangeLog8
-rw-r--r--dev-python/pylibmc/pylibmc-1.4.1.ebuild39
-rw-r--r--dev-python/pylibmc/pylibmc-1.5.0.ebuild (renamed from dev-python/pylibmc/pylibmc-1.4.2.ebuild)6
3 files changed, 11 insertions, 42 deletions
diff --git a/dev-python/pylibmc/ChangeLog b/dev-python/pylibmc/ChangeLog
index 62e3ec1c746f..d1191e814d53 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.15 2015/06/02 08:06:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/ChangeLog,v 1.16 2015/07/27 08:54:15 idella4 Exp $
+
+*pylibmc-1.5.0 (27 Jul 2015)
+
+ 27 Jul 2015; Ian Delaney <idella4@gentoo.org> +pylibmc-1.5.0.ebuild,
+ -pylibmc-1.4.1.ebuild, -pylibmc-1.4.2.ebuild:
+ bump, rm old
*pylibmc-1.4.3 (02 Jun 2015)
diff --git a/dev-python/pylibmc/pylibmc-1.4.1.ebuild b/dev-python/pylibmc/pylibmc-1.4.1.ebuild
deleted file mode 100644
index 11802db54e79..000000000000
--- a/dev-python/pylibmc/pylibmc-1.4.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/pylibmc-1.4.1.ebuild,v 1.1 2014/12/10 04:06:29 patrick 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
-}
-
-src_test() {
- DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
-}
-
-python_test() {
- local PIDDIR="${T}/${EPYTHON}-pylibmc"
- mkdir "${PIDDIR}" || die
- chmod 0777 "${PIDDIR}" || die
- memcached -d -p 11219 -u nobody -l localhost -P "${PIDDIR}/m.pid" || die
- MEMCACHED_PORT=11219 nosetests || die
- kill `cat "${PIDDIR}/m.pid"`
-}
diff --git a/dev-python/pylibmc/pylibmc-1.4.2.ebuild b/dev-python/pylibmc/pylibmc-1.5.0.ebuild
index a5b3933ab4b9..9f4abfc58145 100644
--- a/dev-python/pylibmc/pylibmc-1.4.2.ebuild
+++ b/dev-python/pylibmc/pylibmc-1.5.0.ebuild
@@ -1,6 +1,6 @@
# 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.2.ebuild,v 1.1 2015/04/22 13:38:21 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/pylibmc-1.5.0.ebuild,v 1.1 2015/07/27 08:54:15 idella4 Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
@@ -27,6 +27,8 @@ python_prepare_all() {
python_test() {
memcached -d -p 11219 -u nobody -l localhost -P "${T}/m.pid" || die
- MEMCACHED_PORT=11219 nosetests || die
+ MEMCACHED_PORT=11219 nosetests
+ local ret=${?}
kill "$(<"${T}/m.pid")" || die
+ [[ ${ret} == 0 ]] || die "Tests fail with ${EPYTHON}!"
}