1 |
idella4 13/11/30 07:28:20 |
2 |
|
3 |
Modified: metadata.xml python-keystoneclient-0.3.2.ebuild |
4 |
ChangeLog |
5 |
Added: python-keystoneclient-0.4.1.ebuild |
6 |
Log: |
7 |
metadata.xml; added herd, python-keystoneclient-0.3.2; upgraded test phase, revbump; updated deps inc. test requirements, restricted tests subsequent to stalled dev. of httpretty, added IUSE doc & examples with pertinent build and install phases |
8 |
|
9 |
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 dev-python/python-keystoneclient/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/metadata.xml?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/metadata.xml?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/metadata.xml?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/metadata.xml,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- metadata.xml 1 Jan 2013 08:39:20 -0000 1.1 |
25 |
+++ metadata.xml 30 Nov 2013 07:28:20 -0000 1.2 |
26 |
@@ -1,6 +1,7 @@ |
27 |
<?xml version="1.0" encoding="UTF-8"?> |
28 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
29 |
<pkgmetadata> |
30 |
+ <herd>openstack></herd> |
31 |
<maintainer> |
32 |
<email>prometheanfire@g.o</email> |
33 |
<name>Matthew Thode</name> |
34 |
|
35 |
|
36 |
|
37 |
1.5 dev-python/python-keystoneclient/python-keystoneclient-0.3.2.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.3.2.ebuild?rev=1.5&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.3.2.ebuild?rev=1.5&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.3.2.ebuild?r1=1.4&r2=1.5 |
42 |
|
43 |
Index: python-keystoneclient-0.3.2.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.3.2.ebuild,v |
46 |
retrieving revision 1.4 |
47 |
retrieving revision 1.5 |
48 |
diff -u -r1.4 -r1.5 |
49 |
--- python-keystoneclient-0.3.2.ebuild 9 Nov 2013 10:47:56 -0000 1.4 |
50 |
+++ python-keystoneclient-0.3.2.ebuild 30 Nov 2013 07:28:20 -0000 1.5 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2013 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.3.2.ebuild,v 1.4 2013/11/09 10:47:56 idella4 Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.3.2.ebuild,v 1.5 2013/11/30 07:28:20 idella4 Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
#testsuite has unpretty httpretty deps |
59 |
@@ -18,8 +18,7 @@ |
60 |
KEYWORDS="~amd64 ~x86" |
61 |
IUSE="test" |
62 |
|
63 |
-#because fuck packaging this shit, I mean, really look at this shit. |
64 |
-#https://github.com/gabrielfalcao/HTTPretty/blob/b5827151ddde2e3fed49f5a1ca7f2bb2ef8876a1/requirements.txt |
65 |
+#Note: https://github.com/gabrielfalcao/HTTPretty/blob/b5827151ddde2e3fed49f5a1ca7f2bb2ef8876a1/requirements.txt |
66 |
#https://github.com/openstack/python-keystoneclient/blob/0.3.2/test-requirements.txt |
67 |
#https://bugs.launchpad.net/python-keystoneclient/+bug/1243528 |
68 |
# >=dev-python/httpretty-0.6.3[${PYTHON_USEDEP}] |
69 |
@@ -57,5 +56,12 @@ |
70 |
# https://bugs.launchpad.net/python-keystoneclient/+bug/1243528 |
71 |
# https://bugs.launchpad.net/python-keystoneclient/+bug/1174410; last touched on |
72 |
# 2013-05-29 with 'importance: Undecided → Medium' and never worked since. |
73 |
- nosetests -I 'test_http*' -e test_auth_token_middleware.py || die "testsuite failed" |
74 |
+ sed -e 's:test_encrypt_cache_data:_&:' \ |
75 |
+ -e 's:test_no_memcache_protection:_&:' \ |
76 |
+ -e 's:test_sign_cache_data:_&:' \ |
77 |
+ -i tests/test_auth_token_middleware.py |
78 |
+ rm -f $(find . -name "test_http*") || die |
79 |
+ testr init |
80 |
+ testr run || die "testsuite failed under python2.7" |
81 |
+ flake8 tests || die "run over tests folder by flake8 drew error" |
82 |
} |
83 |
|
84 |
|
85 |
|
86 |
1.21 dev-python/python-keystoneclient/ChangeLog |
87 |
|
88 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/ChangeLog?rev=1.21&view=markup |
89 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/ChangeLog?rev=1.21&content-type=text/plain |
90 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/ChangeLog?r1=1.20&r2=1.21 |
91 |
|
92 |
Index: ChangeLog |
93 |
=================================================================== |
94 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/ChangeLog,v |
95 |
retrieving revision 1.20 |
96 |
retrieving revision 1.21 |
97 |
diff -u -r1.20 -r1.21 |
98 |
--- ChangeLog 9 Nov 2013 10:47:56 -0000 1.20 |
99 |
+++ ChangeLog 30 Nov 2013 07:28:20 -0000 1.21 |
100 |
@@ -1,6 +1,16 @@ |
101 |
# ChangeLog for dev-python/python-keystoneclient |
102 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
103 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/ChangeLog,v 1.20 2013/11/09 10:47:56 idella4 Exp $ |
104 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/ChangeLog,v 1.21 2013/11/30 07:28:20 idella4 Exp $ |
105 |
+ |
106 |
+*python-keystoneclient-0.4.1 (30 Nov 2013) |
107 |
+ |
108 |
+ 30 Nov 2013; Ian Delaney <idella4@g.o> +files/sphinx_mapping.patch, |
109 |
+ +python-keystoneclient-0.4.1.ebuild, metadata.xml, |
110 |
+ python-keystoneclient-0.3.2.ebuild: |
111 |
+ metadata.xml; added herd, python-keystoneclient-0.3.2; upgraded test phase, |
112 |
+ revbump; updated deps inc. test requirements, restricted tests subsequent to |
113 |
+ stalled dev. of httpretty, added IUSE doc & examples with pertinent build and |
114 |
+ install phases |
115 |
|
116 |
09 Nov 2013; Ian Delaney <idella4@g.o> |
117 |
python-keystoneclient-0.3.1.ebuild, python-keystoneclient-0.3.2.ebuild: |
118 |
|
119 |
|
120 |
|
121 |
1.1 dev-python/python-keystoneclient/python-keystoneclient-0.4.1.ebuild |
122 |
|
123 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.4.1.ebuild?rev=1.1&view=markup |
124 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.4.1.ebuild?rev=1.1&content-type=text/plain |
125 |
|
126 |
Index: python-keystoneclient-0.4.1.ebuild |
127 |
=================================================================== |
128 |
# Copyright 1999-2013 Gentoo Foundation |
129 |
# Distributed under the terms of the GNU General Public License v2 |
130 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.4.1.ebuild,v 1.1 2013/11/30 07:28:20 idella4 Exp $ |
131 |
|
132 |
EAPI=5 |
133 |
#testsuite has unpretty httpretty deps |
134 |
PYTHON_COMPAT=( python2_7 ) |
135 |
|
136 |
inherit distutils-r1 |
137 |
|
138 |
DESCRIPTION="A client for the OpenStack Keystone API" |
139 |
HOMEPAGE="https://github.com/openstack/python-keystoneclient" |
140 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
141 |
|
142 |
LICENSE="Apache-2.0" |
143 |
SLOT="0" |
144 |
KEYWORDS="~amd64 ~x86" |
145 |
IUSE="doc examples test" |
146 |
RESTRICT="test" |
147 |
|
148 |
#Note; https://github.com/gabrielfalcao/HTTPretty/blob/b5827151ddde2e3fed49f5a1ca7f2bb2ef8876a1/requirements.txt |
149 |
#https://github.com/openstack/python-keystoneclient/blob/0.3.2/test-requirements.txt |
150 |
#https://bugs.launchpad.net/python-keystoneclient/+bug/1243528 |
151 |
# >=dev-python/httpretty-0.6.3[${PYTHON_USEDEP}] |
152 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
153 |
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] |
154 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
155 |
test? ( >=dev-python/hacking-0.5.6[${PYTHON_USEDEP}] |
156 |
<dev-python/hacking-0.8[${PYTHON_USEDEP}] |
157 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
158 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
159 |
>=dev-python/keyring-1.6.1[${PYTHON_USEDEP}] |
160 |
<dev-python/keyring-2.0[${PYTHON_USEDEP}] |
161 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
162 |
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}] |
163 |
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] |
164 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
165 |
>=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}] |
166 |
<=dev-python/testtools-0.9.32-r1[${PYTHON_USEDEP}] |
167 |
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
168 |
<dev-python/webob-1.3[${PYTHON_USEDEP}] |
169 |
) " |
170 |
|
171 |
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}] |
172 |
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] |
173 |
>=dev-python/prettytable-0.6[${PYTHON_USEDEP}] |
174 |
<dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
175 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
176 |
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}] |
177 |
>=dev-python/six-1.4.1[${PYTHON_USEDEP}] |
178 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
179 |
dev-python/netaddr[${PYTHON_USEDEP}] |
180 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]" |
181 |
|
182 |
PATCHES=( |
183 |
"${FILESDIR}"/sphinx_mapping.patch |
184 |
) |
185 |
|
186 |
python_compile_all() { |
187 |
use doc && emake -C doc html |
188 |
} |
189 |
|
190 |
# Made more reliant upon httpretty. python test phase is a w.i.p until httpretty is 'sorted' |
191 |
python_test() { |
192 |
# https://bugs.launchpad.net/python-keystoneclient/+bug/1243528 |
193 |
# https://bugs.launchpad.net/python-keystoneclient/+bug/1174410; last touched on |
194 |
# 2013-05-29 with 'importance: Undecided → Medium' and never worked since. |
195 |
sed -e 's:test_encrypt_cache_data:_&:' \ |
196 |
-e 's:test_no_memcache_protection:_&:' \ |
197 |
-e 's:test_sign_cache_data:_&:' \ |
198 |
-i keystoneclient/tests/test_auth_token_middleware.py |
199 |
rm -f $(find keystoneclient/tests/v2_0/ -name "test_*") || die |
200 |
rm -f $(find keystoneclient/tests/v3/ -name "test_*") || die |
201 |
testr init |
202 |
testr run || die "testsuite failed under python2.7" |
203 |
flake8 tests || die "run over tests folder by flake8 drew error" |
204 |
} |
205 |
|
206 |
python_install_all() { |
207 |
use doc && local HTML_DOCS=( doc/build/html/. ) |
208 |
use examples && local EXAMPLES=( examples/.) |
209 |
distutils-r1_python_install_all |
210 |
} |