diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-05-22 07:24:45 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-05-22 07:24:45 +0000 |
commit | 4065d08134b1cdd07fba37de5549fba968c6160b (patch) | |
tree | a5776239204479e2e5c1126f8c23af288765d510 /dev-python/python-memcached | |
parent | Bump (diff) | |
download | gentoo-2-4065d08134b1cdd07fba37de5549fba968c6160b.tar.gz gentoo-2-4065d08134b1cdd07fba37de5549fba968c6160b.tar.bz2 gentoo-2-4065d08134b1cdd07fba37de5549fba968c6160b.zip |
Bump
(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/python-memcached')
-rw-r--r-- | dev-python/python-memcached/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/python-memcached/python-memcached-1.50.ebuild | 37 |
2 files changed, 44 insertions, 3 deletions
diff --git a/dev-python/python-memcached/ChangeLog b/dev-python/python-memcached/ChangeLog index 4e046316e816..9c04973872fb 100644 --- a/dev-python/python-memcached/ChangeLog +++ b/dev-python/python-memcached/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/python-memcached -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-memcached/ChangeLog,v 1.23 2012/01/08 07:00:30 patrick Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-memcached/ChangeLog,v 1.24 2013/05/22 07:24:45 patrick Exp $ + +*python-memcached-1.50 (22 May 2013) + + 22 May 2013; Patrick Lauer <patrick@gentoo.org> +python-memcached-1.50.ebuild: + Bump *python-memcached-1.48 (08 Jan 2012) @@ -101,4 +106,3 @@ 24 Oct 2007; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml, +python-memcached-1.40.ebuild: Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>. - diff --git a/dev-python/python-memcached/python-memcached-1.50.ebuild b/dev-python/python-memcached/python-memcached-1.50.ebuild new file mode 100644 index 000000000000..786c7f4ffbbc --- /dev/null +++ b/dev-python/python-memcached/python-memcached-1.50.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-memcached/python-memcached-1.50.ebuild,v 1.1 2013/05/22 07:24:45 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="Pure python memcached client" +HOMEPAGE="http://www.tummy.com/Community/software/python-memcached/ http://pypi.python.org/pypi/python-memcached" +SRC_URI="ftp://ftp.tummy.com/pub/python-memcached/old-releases/${P}.tar.gz" + +LICENSE="OSL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="test" + +DEPEND="dev-python/setuptools + test? ( net-misc/memcached )" +RDEPEND="" + +PYTHON_MODNAME="memcache.py" + +src_test() { + cp memcache.py memcache_test.py || die + sed -ie "s/11211/11219/" memcache_test.py || die + testing() { + memcached -u portage -d -p 11219 -l localhost -P "${T}/memcached.pid" + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" memcache_test.py || die + kill "$(<"${T}/memcached.pid")" + rm "${T}/memcached.pid" + } + python_execute_function testing +} |