1 |
alunduil 14/09/28 23:16:33 |
2 |
|
3 |
Modified: ChangeLog python-heatclient-9999.ebuild |
4 |
Log: |
5 |
update live ebuild with python3_3 target |
6 |
|
7 |
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 92FEA28B) |
8 |
|
9 |
Revision Changes Path |
10 |
1.15 dev-python/python-heatclient/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/ChangeLog?rev=1.15&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/ChangeLog?rev=1.15&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/ChangeLog?r1=1.14&r2=1.15 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/ChangeLog,v |
19 |
retrieving revision 1.14 |
20 |
retrieving revision 1.15 |
21 |
diff -u -r1.14 -r1.15 |
22 |
--- ChangeLog 28 Sep 2014 23:00:16 -0000 1.14 |
23 |
+++ ChangeLog 28 Sep 2014 23:16:33 -0000 1.15 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for dev-python/python-heatclient |
26 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/ChangeLog,v 1.14 2014/09/28 23:00:16 alunduil Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/ChangeLog,v 1.15 2014/09/28 23:16:33 alunduil Exp $ |
29 |
+ |
30 |
+ 28 Sep 2014; Alex Brandt <alunduil@g.o> python-heatclient-9999.ebuild: |
31 |
+ add python3_3 target |
32 |
|
33 |
*python-heatclient-0.2.12 (28 Sep 2014) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.7 dev-python/python-heatclient/python-heatclient-9999.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild?rev=1.7&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild?rev=1.7&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild?r1=1.6&r2=1.7 |
43 |
|
44 |
Index: python-heatclient-9999.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild,v |
47 |
retrieving revision 1.6 |
48 |
retrieving revision 1.7 |
49 |
diff -u -r1.6 -r1.7 |
50 |
--- python-heatclient-9999.ebuild 6 Jul 2014 12:47:58 -0000 1.6 |
51 |
+++ python-heatclient-9999.ebuild 28 Sep 2014 23:16:33 -0000 1.7 |
52 |
@@ -1,55 +1,81 @@ |
53 |
# Copyright 1999-2014 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild,v 1.6 2014/07/06 12:47:58 mgorny Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild,v 1.7 2014/09/28 23:16:33 alunduil Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
-PYTHON_COMPAT=( python2_7 ) |
60 |
+PYTHON_COMPAT=( python2_7 python3_3) |
61 |
|
62 |
-inherit git-2 distutils-r1 |
63 |
+inherit distutils-r1 git-2 |
64 |
|
65 |
-DESCRIPTION="This is a client library for Heat built on the Heat orchestration |
66 |
-API." |
67 |
-HOMEPAGE="https://github.com/openstack/python-heatclient" |
68 |
-EGIT_REPO_URI="https://github.com/openstack/python-heatclient.git" |
69 |
+DESCRIPTION="OpenStack Orchestration API Client Library" |
70 |
+HOMEPAGE="http://www.openstack.org/" |
71 |
+EGIT_REPO_URI="https://github.com/openstack/${PN}.git" |
72 |
|
73 |
LICENSE="Apache-2.0" |
74 |
SLOT="0" |
75 |
KEYWORDS="" |
76 |
IUSE="doc test" |
77 |
|
78 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
79 |
- >=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
80 |
- !~dev-python/pbr-0.7[${PYTHON_USEDEP}] |
81 |
- <dev-python/pbr-1.0[${PYTHON_USEDEP}] |
82 |
- test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
83 |
- <dev-python/hacking-0.9[${PYTHON_USEDEP}] |
84 |
- >=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
85 |
- >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
86 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
87 |
- >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}] |
88 |
- >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
89 |
- <dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
90 |
- >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
91 |
- >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
92 |
- >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )" |
93 |
-RDEPEND=">=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
94 |
- >=dev-python/prettytable-0.7[${PYTHON_USEDEP}] |
95 |
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
96 |
- >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
97 |
- >=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}] |
98 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
99 |
- >=dev-python/six-1.5.2[${PYTHON_USEDEP}]" |
100 |
+# NOTE: dev-python/discover is not used in tests |
101 |
+# dev-python/discover[${PYTHON_USEDEP}] |
102 |
+ |
103 |
+CDEPEND=" |
104 |
+ >=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
105 |
+ !~dev-python/pbr-0.7[${PYTHON_USEDEP}] |
106 |
+ <dev-python/pbr-1.0[${PYTHON_USEDEP}] |
107 |
+" |
108 |
+CRDEPEND=" |
109 |
+ >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/prettytable-0.7[${PYTHON_USEDEP}] |
111 |
+ <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/python-keystoneclient-0.10.0[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/requests-1.2.1[${PYTHON_USEDEP}] |
115 |
+ !~dev-python/requests-2.4[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/six-1.7.0[${PYTHON_USEDEP}] |
117 |
+" |
118 |
+DEPEND=" |
119 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
120 |
+ ${CDEPEND} |
121 |
+ test? ( |
122 |
+ ${CRDEPEND} |
123 |
+ >=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
124 |
+ >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
125 |
+ >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
126 |
+ <dev-python/hacking-0.9[${PYTHON_USEDEP}] |
127 |
+ >=dev-python/httpretty-0.8.0[${PYTHON_USEDEP}] |
128 |
+ !~dev-python/httpretty-0.8.1[${PYTHON_USEDEP}] |
129 |
+ !~dev-python/httpretty-0.8.2[${PYTHON_USEDEP}] |
130 |
+ !~dev-python/httpretty-0.8.3[${PYTHON_USEDEP}] |
131 |
+ >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
132 |
+ >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}] |
133 |
+ >=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}] |
134 |
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
135 |
+ !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] |
136 |
+ <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
137 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
138 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
139 |
+ >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
140 |
+ ) |
141 |
+" |
142 |
+RDEPEND=" |
143 |
+ ${CDEPEND} |
144 |
+ ${CRDEPEND} |
145 |
+" |
146 |
|
147 |
python_compile_all() { |
148 |
- use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html |
149 |
+ use doc && esetup.py build_sphinx |
150 |
} |
151 |
|
152 |
python_test() { |
153 |
- "${PYTHON}" setup.py testr --coverage |
154 |
- "${PYTHON}" setup.py testr --slowest |
155 |
+ rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" |
156 |
+ |
157 |
+ testr init || die "testr init failed under ${EPYTHON}" |
158 |
+ testr run || die "testr run failed under ${EPYTYHON}" |
159 |
} |
160 |
|
161 |
python_install_all() { |
162 |
- use doc && local HTML_DOCS=( doc/source/html/. ) |
163 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
164 |
+ |
165 |
distutils-r1_python_install_all |
166 |
} |