1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit distutils-r1 eutils
10 DESCRIPTION="Python client for the Advanced Message Queuing Procotol (AMQP)"
11 HOMEPAGE="https://code.google.com/p/py-amqplib/"
12 SRC_URI="https://py-amqplib.googlecode.com/files/${P}.tgz"
16 KEYWORDS="~x86 ~amd64"
17 IUSE="examples extras test"
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
23 "${FILESDIR}/${P}_disable_socket_tests.patch"
27 "${PYTHON}" tests/client_0_8/run_all.py \
28 || die "Tests fail with ${EPYTHON}"
31 python_install_all() {
32 distutils-r1_python_install_all
40 insinto /usr/share/${PF}