# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" PYTHON_DEPEND="2:2.5" SUPPORT_PYTHON_ABIS="1" inherit distutils versionator MY_P=${PN}-$(replace_version_separator 2 '-') DESCRIPTION="A fairly simple, decently quick python interface to Amazon's S3 storage service" HOMEPAGE="http://lericson.se/" SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="" RESTRICT_PYTHON_ABIS="2.4 3.*" DOCS="changes.rst" S=${WORKDIR}/${MY_P} src_test() { testing() { PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" tests.py || die "Tests failed" } python_execute_function testing }