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