1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit distutils versionator
6 SUPPORT_PYTHON_ABIS="1"
8 MY_P=${PN}-$(replace_version_separator 2 '-')
9 DESCRIPTION="Libmemcached wrapper written as a Python extension"
10 HOMEPAGE="http://lericson.blogg.se/code/category/pylibmc.html"
11 SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${MY_P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 RDEPEND=">=dev-libs/libmemcached-0.26
21 dev-python/setuptools"
22 RESTRICT_PYTHON_ABIS="3.*"
28 PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" tests.py || die "Tests failed"
30 python_execute_function testing