Gentoo Archives: gentoo-commits

From: "Alex Brandt (alunduil)" <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-heatclient: ChangeLog python-heatclient-0.2.12.ebuild
Date: Sun, 28 Sep 2014 23:08:11
Message-Id: 20140928230016.EA04F26C@oystercatcher.gentoo.org
1 alunduil 14/09/28 23:00:16
2
3 Modified: ChangeLog
4 Added: python-heatclient-0.2.12.ebuild
5 Log:
6 bump version to 0.2.12 and add python3_3 target
7
8 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 92FEA28B)
9
10 Revision Changes Path
11 1.14 dev-python/python-heatclient/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 6 Jul 2014 12:47:58 -0000 1.13
24 +++ ChangeLog 28 Sep 2014 23:00:16 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/python-heatclient
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/ChangeLog,v 1.13 2014/07/06 12:47:58 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/ChangeLog,v 1.14 2014/09/28 23:00:16 alunduil Exp $
30 +
31 +*python-heatclient-0.2.12 (28 Sep 2014)
32 +
33 + 28 Sep 2014; Alex Brandt <alunduil@g.o>
34 + +python-heatclient-0.2.12.ebuild:
35 + bump version and add python3_3 target
36
37 06 Jul 2014; Michał Górny <mgorny@g.o> python-heatclient-0.2.9.ebuild,
38 python-heatclient-9999.ebuild:
39
40
41
42 1.1 dev-python/python-heatclient/python-heatclient-0.2.12.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/python-heatclient-0.2.12.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/python-heatclient-0.2.12.ebuild?rev=1.1&content-type=text/plain
46
47 Index: python-heatclient-0.2.12.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/python-heatclient-0.2.12.ebuild,v 1.1 2014/09/28 23:00:16 alunduil Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python2_7 python3_3 )
55 DISTUTILS_IN_SOURCE_BUILD=TRUE # Needed due to versioned test patches
56
57 inherit distutils-r1
58
59 DESCRIPTION="OpenStack Orchestration API Client Library"
60 HOMEPAGE="http://www.openstack.org/"
61 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62
63 LICENSE="Apache-2.0"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
66 IUSE="test"
67
68 # NOTE: doc is broken due to pbr requiring a git checkout
69
70 # NOTE: dev-python/discover is not used in tests
71 # dev-python/discover[${PYTHON_USEDEP}]
72
73 CDEPEND="
74 >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
75 !~dev-python/pbr-0.7[${PYTHON_USEDEP}]
76 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
77 "
78 CRDEPEND="
79 >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
80 >=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
81 <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
82 >=dev-python/python-keystoneclient-0.10.0[${PYTHON_USEDEP}]
83 >=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
84 >=dev-python/requests-1.2.1[${PYTHON_USEDEP}]
85 !~dev-python/requests-2.4[${PYTHON_USEDEP}]
86 >=dev-python/six-1.7.0[${PYTHON_USEDEP}]
87 "
88 DEPEND="
89 dev-python/setuptools[${PYTHON_USEDEP}]
90 ${CDEPEND}
91 test? (
92 ${CRDEPEND}
93 >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
94 >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
95 >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
96 <dev-python/hacking-0.9[${PYTHON_USEDEP}]
97 >=dev-python/httpretty-0.8.0[${PYTHON_USEDEP}]
98 !~dev-python/httpretty-0.8.1[${PYTHON_USEDEP}]
99 !~dev-python/httpretty-0.8.2[${PYTHON_USEDEP}]
100 !~dev-python/httpretty-0.8.3[${PYTHON_USEDEP}]
101 >=dev-python/mock-1.0[${PYTHON_USEDEP}]
102 >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
103 >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
104 !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
105 <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
106 >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
107 >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
108 >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
109 )
110 "
111 RDEPEND="
112 ${CDEPEND}
113 ${CRDEPEND}
114 "
115
116 python_test() {
117 # BUG: https://bugs.launchpad.net/python-heatclient/+bug/1313257
118 ebegin 'patching heatclient/tests/test_common_http.py'
119 sed \
120 -e '651,/def/ d' \
121 -i heatclient/tests/test_common_http.py
122 STATUS=$?
123 eend ${STATUS}
124 [[ ${STATUS} -gt 0 ]] && die
125
126 # BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375035
127 ebegin 'patching heatclient/tests/test_shell.py'
128 sed \
129 -e '1953,/def|@/ d' \
130 -i heatclient/tests/test_shell.py
131 STATUS=$?
132 eend ${STATUS}
133 [[ ${STATUS} -gt 0 ]] && die
134
135 if [[ "${EPYTHON}" = "python3.3" ]]; then
136 # BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375047
137 ebegin 'patching heatclient/tests/test_events.py'
138 sed \
139 -e '68,/def/ d' \
140 -i heatclient/tests/test_events.py
141 STATUS=$?
142 eend ${STATUS}
143 [[ ${STATUS} -gt 0 ]] && die
144
145 # BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375049
146 ebegin 'patching heatclient/tests/test_events.py'
147 sed \
148 -e '111,/def/ d' \
149 -e '53,/def/ d' \
150 -i heatclient/tests/test_events.py
151 STATUS=$?
152 eend ${STATUS}
153 [[ ${STATUS} -gt 0 ]] && die
154
155 ebegin 'patching heatclient/tests/test_resources.py'
156 sed \
157 -e '69,/def/ d' \
158 -i heatclient/tests/test_resources.py
159 STATUS=$?
160 eend ${STATUS}
161 [[ ${STATUS} -gt 0 ]] && die
162
163 # BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375051
164 ebegin 'patching heatclient/tests/test_template_utils.py'
165 sed \
166 -e '231,/def/ d' \
167 -i heatclient/tests/test_template_utils.py
168 STATUS=$?
169 eend ${STATUS}
170 [[ ${STATUS} -gt 0 ]] && die
171 fi
172
173 rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
174
175 testr init || die "testr init failed under ${EPYTHON}"
176 testr run || die "testr run failed under ${EPYTHON}"
177 }