dev-python/pylibmc: Clean old up

This commit is contained in:
Michał Górny
2018-01-05 23:12:20 +01:00
parent 5b18e44130
commit e95c7d83f2
2 changed files with 0 additions and 34 deletions

View File

@@ -1,2 +1 @@
DIST pylibmc-1.5.0.tar.gz 53077 BLAKE2B bb41f3dc8d7982163c88563ae1e840991bae12f69b9de04553717f3030617ab414cf8584d8095fe677556fc21698d32e5dee9b34fe4477e646f7edb6a28d8491 SHA512 0b89ad56d44205c0a20c5e2b56f70ac5128b46df81b4fcb9c72918b5d32e455dd3d976366872fe1d0acf40b61460d08fa6f30a8fa26977c1d65509e28bbbf80d
DIST pylibmc-1.5.1.tar.gz 69525 BLAKE2B 5039ad7d99a5ca57bd6cf7f00c77cc8bba122fe5852de164df34a71b4f5d1e4fcb428e749a66d384691b74f30b99e000f5cb9cd6479af2fc324d885b0fa59aa7 SHA512 efc40fae9721a6be589f87b66109132d4656725f718e1d63d7d25b9b27790b7c00fc3c7e4e47235895b7127cebc64229ddb284d23d0d903d3a510da7e1ce4549

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4} pypy )
inherit distutils-r1
DESCRIPTION="Libmemcached wrapper written as a Python extension"
HOMEPAGE="http://sendapatch.se/projects/pylibmc/ https://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}!"
}