Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/kombu: kombu-2.5.14.ebuild ChangeLog
Date: Mon, 02 Sep 2013 08:01:54
Message-Id: 20130902080146.0C9D32004C@flycatcher.gentoo.org
1 patrick 13/09/02 08:01:45
2
3 Modified: ChangeLog
4 Added: kombu-2.5.14.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.28 dev-python/kombu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 15 Aug 2013 11:54:14 -0000 1.27
24 +++ ChangeLog 2 Sep 2013 08:01:45 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/kombu
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.27 2013/08/15 11:54:14 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.28 2013/09/02 08:01:45 patrick Exp $
30 +
31 +*kombu-2.5.14 (02 Sep 2013)
32 +
33 + 02 Sep 2013; Patrick Lauer <patrick@g.o> +kombu-2.5.14.ebuild:
34 + Bump
35
36 *kombu-2.5.12 (15 Aug 2013)
37
38
39
40
41 1.1 dev-python/kombu/kombu-2.5.14.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/kombu-2.5.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/kombu-2.5.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kombu-2.5.14.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.5.14.ebuild,v 1.1 2013/09/02 08:01:45 patrick Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
55
56 inherit distutils-r1
57
58 DESCRIPTION="AMQP Messaging Framework for Python"
59 HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="amqplib doc examples test"
66
67 RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
68 =dev-python/py-amqp-1.0.12[${PYTHON_USEDEP}]
69 amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )"
70 DEPEND="${RDEPEND}
71 test? ( dev-python/nose[${PYTHON_USEDEP}]
72 dev-python/nose-cover3[${PYTHON_USEDEP}]
73 >=dev-python/mock-0.7[${PYTHON_USEDEP}]
74 dev-python/django[${PYTHON_USEDEP}]
75 dev-python/redis-py[${PYTHON_USEDEP}]
76 dev-python/pymongo[$(python_gen_usedep python2_7)]
77 dev-python/msgpack[${PYTHON_USEDEP}]
78 dev-python/unittest2[${PYTHON_USEDEP}] )
79 doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
80 dev-python/django[${PYTHON_USEDEP}]
81 dev-python/beanstalkc[$(python_gen_usedep python2_7)]
82 dev-python/couchdb-python[$(python_gen_usedep python2_7)]
83 >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )
84 dev-python/setuptools[${PYTHON_USEDEP}]"
85 # Req'd for tests
86 DISTUTILS_IN_SOURCE_BUILD=1
87
88 python_prepare_all() {
89 https://github.com/celery/kombu/issues/246
90 sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
91 distutils-r1_python_prepare_all
92 }
93
94 python_compile_all() {
95 if use doc; then
96 emake -C docs html || die "kombu docs failed installation"
97 fi
98 }
99
100 python_test() {
101 # https://github.com/celery/kombu/issues/246; 'test_serialization.py' errors only in py3.2
102 export DJANGO_SETTINGS_MODULE="django.conf"
103 if [[ "${EPYTHON}" == python3* ]]; then
104 nosetests --py3where=build/lib \
105 -e test_produce_consume -e test_produce_consume_noack -e test_msgpack_decode kombu/tests \
106 || die "Tests failed under ${EPYTHON}"
107 else
108 # funtests appears to be coded only for py2, a kind of 2nd tier.
109 nosetests "${S}"/kombu/tests -e test_msgpack_decode || die "Tests failed under ${EPYTHON}"
110 nosetests funtests || die "Tests failed under ${EPYTHON}"
111 fi
112 }
113
114 python_install_all() {
115 use examples && local EXAMPLES=( examples/. )
116 use doc && local HTML_DOCS=( docs/.build/html/. )
117 distutils-r1_python_install_all
118 }