Gentoo Archives: gentoo-commits

From: "Corentin Chary (iksaif)" <iksaif@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/kombu: kombu-2.3.0.ebuild ChangeLog
Date: Sun, 29 Jul 2012 20:17:37
Message-Id: 20120729201727.A34CB2004B@flycatcher.gentoo.org
1 iksaif 12/07/29 20:17:27
2
3 Modified: ChangeLog
4 Added: kombu-2.3.0.ebuild
5 Log:
6 Bump to 2.3.0
7
8 (Portage version: 2.1.11.9/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 dev-python/kombu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 17 Jul 2012 15:01:53 -0000 1.3
24 +++ ChangeLog 29 Jul 2012 20:17:27 -0000 1.4
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/kombu
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.3 2012/07/17 15:01:53 iksaif Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.4 2012/07/29 20:17:27 iksaif Exp $
30 +
31 +*kombu-2.3.0 (29 Jul 2012)
32 +
33 + 29 Jul 2012; Corentin Chary <iksaif@g.o> +kombu-2.3.0.ebuild:
34 + Bump to 2.3.0
35
36 *kombu-2.2.6 (17 Jul 2012)
37
38
39
40
41 1.1 dev-python/kombu/kombu-2.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/kombu-2.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/kombu-2.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kombu-2.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/kombu-2.3.0.ebuild,v 1.1 2012/07/29 20:17:27 iksaif Exp $
51
52 EAPI="4"
53
54 PYTHON_DEPEND="*:2.5"
55 RESTRICT_PYTHON_ABIS="2.4"
56 SUPPORT_PYTHON_ABIS="1"
57 DISTUTILS_SRC_TEST="nosetests"
58
59 inherit distutils eutils
60
61 DESCRIPTION="AMQP Messaging Framework for Python"
62 HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/ask/kombu"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64
65 LICENSE="BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="doc examples test"
69
70 RDEPEND=">=dev-python/anyjson-0.3.3
71 >=dev-python/amqplib-1.0"
72 DEPEND="${RDEPEND}
73 test? ( dev-python/nose-cover3
74 dev-python/mock
75 dev-python/simplejson
76 dev-python/anyjson
77 dev-python/redis-py
78 dev-python/pymongo
79 dev-python/msgpack )
80 doc? ( dev-python/sphinx
81 dev-python/beanstalkc
82 dev-python/couchdb-python )
83 dev-python/setuptools"
84
85 src_prepare() {
86 if use test; then
87 epatch "${FILESDIR}/${PN}-2.1.1-add-assertIsInstance-with-unittest.patch"
88 fi
89 }
90
91 src_compile() {
92 distutils_src_compile
93 use doc && emake -C docs html
94 }
95
96 src_test() {
97 testing() {
98 nosetests --py3where build-${PYTHON_ABI}/lib/${PN}/tests
99 }
100 python_execute_function testing
101 }
102
103 src_install() {
104 distutils_src_install
105 if use examples; then
106 docompress -x usr/share/doc/${P}/examples/
107 insinto usr/share/doc/${P}/
108 doins -r examples/
109 fi
110 use doc && dohtml -r docs/.build/html/
111 }