summaryrefslogtreecommitdiff
blob: d38c4c32146cbd510e901e9a1912f52e73c340ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

DESCRIPTION="Libmemcached wrapper written as a Python extension"
HOMEPAGE="http://lericson.blogg.se/code/category/pylibmc.html"
SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"

RDEPEND=">=dev-libs/libmemcached-0.26
	dev-lang/python"
DEPEND="${RDEPEND}
	dev-python/setuptools"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_test() {
	${python} tests.py || die "Tests failed"
}