1 |
idella4 14/04/27 08:15:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kombu-3.0.15.ebuild |
5 |
Log: |
6 |
bump; update test phase |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.33 dev-python/kombu/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?rev=1.33&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?rev=1.33&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/ChangeLog?r1=1.32&r2=1.33 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v |
20 |
retrieving revision 1.32 |
21 |
retrieving revision 1.33 |
22 |
diff -u -r1.32 -r1.33 |
23 |
--- ChangeLog 31 Mar 2014 09:05:43 -0000 1.32 |
24 |
+++ ChangeLog 27 Apr 2014 08:15:45 -0000 1.33 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/kombu |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.32 2014/03/31 09:05:43 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.33 2014/04/27 08:15:45 idella4 Exp $ |
30 |
+ |
31 |
+*kombu-3.0.15 (27 Apr 2014) |
32 |
+ |
33 |
+ 27 Apr 2014; Ian Delaney <idella4@g.o> +kombu-3.0.15.ebuild: |
34 |
+ bump; update test phase |
35 |
|
36 |
*kombu-3.0.14 (31 Mar 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/kombu/kombu-3.0.15.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/kombu-3.0.15.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/kombu-3.0.15.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: kombu-3.0.15.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/kombu-3.0.15.ebuild,v 1.1 2014/04/27 08:15:45 idella4 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 msgpack sqs test" |
66 |
|
67 |
PY27_GEN_USEDEP=$(python_gen_usedep python2_7) |
68 |
RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
69 |
>=dev-python/py-amqp-1.4.5[${PYTHON_USEDEP}] |
70 |
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}] |
71 |
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] ) |
72 |
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] ) |
73 |
msgpack? ( >=dev-python/msgpack-0.2.0[${PYTHON_USEDEP}] )" |
74 |
|
75 |
DEPEND="${RDEPEND} |
76 |
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}] |
77 |
test? ( dev-python/nose[${PYTHON_USEDEP}] |
78 |
dev-python/nose-cover3[${PYTHON_USEDEP}] |
79 |
>=dev-python/mock-0.7[${PYTHON_USEDEP}] |
80 |
dev-python/django[${PYTHON_USEDEP}] |
81 |
dev-python/redis-py[${PYTHON_USEDEP}] |
82 |
dev-python/pymongo[${PYTHON_USEDEP}] |
83 |
>=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}] ) |
84 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] |
85 |
dev-python/django[${PYTHON_USEDEP}] |
86 |
dev-python/beanstalkc[${PY27_GEN_USEDEP}] |
87 |
dev-python/couchdb-python[${PY27_GEN_USEDEP}] |
88 |
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )" |
89 |
# pyyaml is an optional package for tests, refrain for now |
90 |
# Req'd for test phase |
91 |
DISTUTILS_IN_SOURCE_BUILD=1 |
92 |
|
93 |
PY27_REQUSE="$(python_gen_useflags 'python2.7')" |
94 |
REQUIRED_USE="sqs? ( ${PY27_REQUSE} ) |
95 |
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are only py2 capable |
96 |
|
97 |
python_prepare_all() { |
98 |
https://github.com/celery/kombu/issues/246 |
99 |
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py |
100 |
distutils-r1_python_prepare_all |
101 |
} |
102 |
|
103 |
python_compile_all() { |
104 |
# Doc build must be done by py2.7 |
105 |
# Doc build misses and skips only content re librabbitmq which is not in portage |
106 |
if use doc; then |
107 |
emake -C docs html || die "kombu docs failed installation" |
108 |
fi |
109 |
} |
110 |
|
111 |
python_test() { |
112 |
export DJANGO_SETTINGS_MODULE="django.conf" |
113 |
if python_is_python3; then |
114 |
2to3 --no-diffs -w build/lib/kombu/transport/ |
115 |
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}" |
116 |
else |
117 |
# funtests appears to be coded only for py2, a kind of 2nd tier. |
118 |
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}" |
119 |
# https://github.com/celery/kombu/issues/346 |
120 |
pushd funtests > /dev/null |
121 |
# Disable test_redis.py for now |
122 |
mv tests/test_redis.py tests/tredis.py || die |
123 |
esetup.py test |
124 |
popd > /dev/null |
125 |
fi |
126 |
} |
127 |
|
128 |
python_install_all() { |
129 |
use examples && local EXAMPLES=( examples/. ) |
130 |
use doc && local HTML_DOCS=( docs/.build/html/. ) |
131 |
distutils-r1_python_install_all |
132 |
} |