/[gentoo-x86]/dev-python/amqplib/amqplib-0.6.1-r1.ebuild
Gentoo

Contents of /dev-python/amqplib/amqplib-0.6.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu May 16 01:03:03 2013 UTC (14 months ago) by prometheanfire
Branch: MAIN
updating amqplib-0.6.1 to r1 for proper quantum support

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-0.6.1.ebuild,v 1.1 2011/07/06 21:38:06 neurogeek Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
7
8 inherit distutils-r1 eutils
9
10 DESCRIPTION="Python client for the Advanced Message Queuing Procotol (AMQP)"
11 HOMEPAGE="http://code.google.com/p/py-amqplib/"
12 SRC_URI="http://py-amqplib.googlecode.com/files/${P}.tgz"
13
14 LICENSE="LGPL-3"
15 SLOT="0"
16 KEYWORDS="~x86 ~amd64"
17 IUSE="examples extras test"
18
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
20 RDEPEND=""
21
22 python_prepare_all() {
23 if use test; then
24 epatch "${FILESDIR}/${P}_disable_socket_tests.patch"
25 fi
26 distutils-r1_python_prepare_all
27 }
28
29 python_test() {
30 testing() {
31 PYTHONPATH="build-${PYTHON_ABI}/lib" python \
32 "tests/client_0_8/run_all.py"
33 }
34 python_execute_function testing
35 }
36
37 python_install_all() {
38 distutils-r1_python_install_all
39
40 dodoc docs/*
41 if use examples; then
42 docinto examples
43 dodoc demo/* || die "dodoc failed"
44 fi
45 if use extras; then
46 insinto /usr/share/${PF}
47 doins -r extras || die "doins failed"
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20