1 |
commit: 48150f33ffd494b7183892c299f79e98d3d11ea7 |
2 |
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 7 09:55:35 2016 +0000 |
4 |
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 7 09:55:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=48150f33 |
7 |
|
8 |
dev-python/{cached-property,click,funcsigs,mock,peewee}: version bumps required for peewee_migrate |
9 |
|
10 |
dev-python/cached-property/Manifest | 1 + |
11 |
.../cached-property/cached-property-1.3.0.ebuild | 29 +++++++++++++ |
12 |
dev-python/cached-property/metadata.xml | 15 +++++++ |
13 |
dev-python/click/Manifest | 1 + |
14 |
dev-python/click/click-6.6.ebuild | 50 ++++++++++++++++++++++ |
15 |
dev-python/click/metadata.xml | 11 +++++ |
16 |
dev-python/funcsigs/Manifest | 1 + |
17 |
dev-python/funcsigs/funcsigs-1.0.2.ebuild | 27 ++++++++++++ |
18 |
dev-python/funcsigs/metadata.xml | 11 +++++ |
19 |
dev-python/mock/Manifest | 1 + |
20 |
dev-python/mock/metadata.xml | 12 ++++++ |
21 |
dev-python/mock/mock-2.0.0.ebuild | 40 +++++++++++++++++ |
22 |
dev-python/peewee/Manifest | 1 + |
23 |
dev-python/peewee/metadata.xml | 11 +++++ |
24 |
dev-python/peewee/peewee-2.8.1.ebuild | 48 +++++++++++++++++++++ |
25 |
15 files changed, 259 insertions(+) |
26 |
|
27 |
diff --git a/dev-python/cached-property/Manifest b/dev-python/cached-property/Manifest |
28 |
new file mode 100644 |
29 |
index 0000000..bee83a5 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/cached-property/Manifest |
32 |
@@ -0,0 +1 @@ |
33 |
+DIST cached-property-1.3.0.tar.gz 9320 SHA256 458e78b1c7286ece887d92c9bee829da85717994c5e3ddd253a40467f488bc81 SHA512 96746718c3ddf6dd01c9c617a6c52a667fa4b02419e6d8631130dbe17ff97accb78e583783bec5d77459abd42c9e29695cff15ef71ab79ed346d334517e99fb8 WHIRLPOOL 268ba723d9845fdcfe161d03bab9a114269f61830657db2340079659ce8d213df43286a0e4ee04a0e7ea771b32a97e3eb3bd049d391e153cc024804cae910e98 |
34 |
|
35 |
diff --git a/dev-python/cached-property/cached-property-1.3.0.ebuild b/dev-python/cached-property/cached-property-1.3.0.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..9ee0c28 |
38 |
--- /dev/null |
39 |
+++ b/dev-python/cached-property/cached-property-1.3.0.ebuild |
40 |
@@ -0,0 +1,29 @@ |
41 |
+# Copyright 1999-2016 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Id$ |
44 |
+ |
45 |
+EAPI=6 |
46 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) |
47 |
+ |
48 |
+inherit distutils-r1 |
49 |
+ |
50 |
+DESCRIPTION="A cached-property for decorating methods in classes" |
51 |
+HOMEPAGE="https://github.com/pydanny/cached-property" |
52 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
53 |
+ |
54 |
+LICENSE="BSD" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+IUSE="test" |
58 |
+ |
59 |
+RDEPEND="" |
60 |
+DEPEND="test? ( |
61 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
62 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
63 |
+ )" |
64 |
+ |
65 |
+DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst AUTHORS.rst ) |
66 |
+ |
67 |
+python_test() { |
68 |
+ py.test || die |
69 |
+} |
70 |
|
71 |
diff --git a/dev-python/cached-property/metadata.xml b/dev-python/cached-property/metadata.xml |
72 |
new file mode 100644 |
73 |
index 0000000..39f7ded |
74 |
--- /dev/null |
75 |
+++ b/dev-python/cached-property/metadata.xml |
76 |
@@ -0,0 +1,15 @@ |
77 |
+<?xml version="1.0" encoding="UTF-8"?> |
78 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
79 |
+<pkgmetadata> |
80 |
+ <maintainer type="person"> |
81 |
+ <email>cedk@g.o</email> |
82 |
+ <name>Cédric Krier</name> |
83 |
+ </maintainer> |
84 |
+ <longdescription lang="en"> |
85 |
+ A cached-property for decorating methods in classes. |
86 |
+ </longdescription> |
87 |
+ <upstream> |
88 |
+ <remote-id type="pypi">cached-property</remote-id> |
89 |
+ <remote-id type="github">pydanny/cached-property</remote-id> |
90 |
+ </upstream> |
91 |
+</pkgmetadata> |
92 |
|
93 |
diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest |
94 |
new file mode 100644 |
95 |
index 0000000..5e1ff7f |
96 |
--- /dev/null |
97 |
+++ b/dev-python/click/Manifest |
98 |
@@ -0,0 +1 @@ |
99 |
+DIST click-6.6.tar.gz 283420 SHA256 cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9 SHA512 5650cfe6c8b55a7e823e22248964143278d61383dac63497508a864807f1950f9dd5d76ce6a501e589dd81fed6e2a1248d3f8973be25a91950896b7408dc88bc WHIRLPOOL db9f36bb86599599b95ae350659f75f387d15196261acaef1e069769ca8e2f29be8dc3ae5cdd94d8303907f94b90ed00209a3410da863afcce74d393a2f48d3c |
100 |
|
101 |
diff --git a/dev-python/click/click-6.6.ebuild b/dev-python/click/click-6.6.ebuild |
102 |
new file mode 100644 |
103 |
index 0000000..3cd2e38 |
104 |
--- /dev/null |
105 |
+++ b/dev-python/click/click-6.6.ebuild |
106 |
@@ -0,0 +1,50 @@ |
107 |
+# Copyright 1999-2016 Gentoo Foundation |
108 |
+# Distributed under the terms of the GNU General Public License v2 |
109 |
+# $Id$ |
110 |
+ |
111 |
+EAPI=6 |
112 |
+ |
113 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
114 |
+ |
115 |
+inherit distutils-r1 |
116 |
+ |
117 |
+DESCRIPTION="A Python package for creating beautiful command line interfaces" |
118 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
119 |
+HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click" |
120 |
+ |
121 |
+LICENSE="BSD" |
122 |
+SLOT="0" |
123 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
124 |
+IUSE="doc examples test" |
125 |
+ |
126 |
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
127 |
+ |
128 |
+RDEPEND="" |
129 |
+DEPEND=" |
130 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
131 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
132 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
133 |
+ |
134 |
+pkg_setup() { |
135 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
136 |
+} |
137 |
+ |
138 |
+python_prepare_all() { |
139 |
+ # Prevent un-needed d'loading |
140 |
+ sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die |
141 |
+ distutils-r1_python_prepare_all |
142 |
+} |
143 |
+ |
144 |
+python_compile_all() { |
145 |
+ use doc && emake -C docs html |
146 |
+} |
147 |
+ |
148 |
+python_test() { |
149 |
+ emake test |
150 |
+} |
151 |
+ |
152 |
+python_install_all() { |
153 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
154 |
+ use examples && dodoc -r examples |
155 |
+ distutils-r1_python_install_all |
156 |
+} |
157 |
|
158 |
diff --git a/dev-python/click/metadata.xml b/dev-python/click/metadata.xml |
159 |
new file mode 100644 |
160 |
index 0000000..54aeaa8 |
161 |
--- /dev/null |
162 |
+++ b/dev-python/click/metadata.xml |
163 |
@@ -0,0 +1,11 @@ |
164 |
+<?xml version="1.0" encoding="UTF-8"?> |
165 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
166 |
+<pkgmetadata> |
167 |
+ <maintainer type="project"> |
168 |
+ <email>python@g.o</email> |
169 |
+ <name>Python</name> |
170 |
+ </maintainer> |
171 |
+ <upstream> |
172 |
+ <remote-id type="pypi">click</remote-id> |
173 |
+ </upstream> |
174 |
+</pkgmetadata> |
175 |
|
176 |
diff --git a/dev-python/funcsigs/Manifest b/dev-python/funcsigs/Manifest |
177 |
new file mode 100644 |
178 |
index 0000000..32c143c |
179 |
--- /dev/null |
180 |
+++ b/dev-python/funcsigs/Manifest |
181 |
@@ -0,0 +1 @@ |
182 |
+DIST funcsigs-1.0.2.tar.gz 27947 SHA256 a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50 SHA512 4e583bb7081bb1d6c0fe5a6935ca03032d562b93ef5c11b51a72ce9e7ac12902451cc2233c7e6f70440629d88d8e6e9625965ee408100b80b0024f3a6204afda WHIRLPOOL af07f5828aa7d3b3f403041e2f041f47f73d38da676f2da4ca8b07674c075eafde8bd1917c643bcedf49416c715f30a3d2be17783c51ef1f478d73a13ee7bc55 |
183 |
|
184 |
diff --git a/dev-python/funcsigs/funcsigs-1.0.2.ebuild b/dev-python/funcsigs/funcsigs-1.0.2.ebuild |
185 |
new file mode 100644 |
186 |
index 0000000..01f0536 |
187 |
--- /dev/null |
188 |
+++ b/dev-python/funcsigs/funcsigs-1.0.2.ebuild |
189 |
@@ -0,0 +1,27 @@ |
190 |
+# Copyright 1999-2016 Gentoo Foundation |
191 |
+# Distributed under the terms of the GNU General Public License v2 |
192 |
+# $Id$ |
193 |
+ |
194 |
+EAPI=6 |
195 |
+ |
196 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy{,3} ) |
197 |
+ |
198 |
+inherit distutils-r1 |
199 |
+ |
200 |
+DESCRIPTION="Python function signatures backport from PEP362 for Python 2.7-3.5" |
201 |
+HOMEPAGE="https://pypi.python.org/pypi/funcsigs" |
202 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
203 |
+ |
204 |
+SLOT="0" |
205 |
+LICENSE="Apache-2.0" |
206 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
207 |
+IUSE="test" |
208 |
+ |
209 |
+DEPEND=" |
210 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
211 |
+ test? ( dev-python/unittest2[${PYTHON_USEDEP}] )" |
212 |
+RDEPEND="" |
213 |
+ |
214 |
+python_test() { |
215 |
+ esetup.py test |
216 |
+} |
217 |
|
218 |
diff --git a/dev-python/funcsigs/metadata.xml b/dev-python/funcsigs/metadata.xml |
219 |
new file mode 100644 |
220 |
index 0000000..bb74f00 |
221 |
--- /dev/null |
222 |
+++ b/dev-python/funcsigs/metadata.xml |
223 |
@@ -0,0 +1,11 @@ |
224 |
+<?xml version="1.0" encoding="UTF-8"?> |
225 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
226 |
+<pkgmetadata> |
227 |
+ <maintainer type="project"> |
228 |
+ <email>python@g.o</email> |
229 |
+ <name>Python</name> |
230 |
+ </maintainer> |
231 |
+ <upstream> |
232 |
+ <remote-id type="pypi">funcsigs</remote-id> |
233 |
+ </upstream> |
234 |
+</pkgmetadata> |
235 |
|
236 |
diff --git a/dev-python/mock/Manifest b/dev-python/mock/Manifest |
237 |
new file mode 100644 |
238 |
index 0000000..9a8c419 |
239 |
--- /dev/null |
240 |
+++ b/dev-python/mock/Manifest |
241 |
@@ -0,0 +1 @@ |
242 |
+DIST mock-2.0.0.tar.gz 73684 SHA256 b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba SHA512 a08007651b749d2843b94f5045d74c122958888290aea21930455538a854e6b04c07115e21d82edde996154bf597d7a8784a2f4213cbabc49a98dec22dd92238 WHIRLPOOL eb9a80028946f146f7951046940ccb5bddd2016c279e7cf936829b80fedc4dea6aa912a04d18cfab36b67fdccdb0bb6e71f495e309c1659637fed51c82fed3cc |
243 |
|
244 |
diff --git a/dev-python/mock/metadata.xml b/dev-python/mock/metadata.xml |
245 |
new file mode 100644 |
246 |
index 0000000..ab357a3 |
247 |
--- /dev/null |
248 |
+++ b/dev-python/mock/metadata.xml |
249 |
@@ -0,0 +1,12 @@ |
250 |
+<?xml version="1.0" encoding="UTF-8"?> |
251 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
252 |
+<pkgmetadata> |
253 |
+ <maintainer type="project"> |
254 |
+ <email>python@g.o</email> |
255 |
+ <name>Python</name> |
256 |
+ </maintainer> |
257 |
+ <upstream> |
258 |
+ <remote-id type="pypi">mock</remote-id> |
259 |
+ <remote-id type="github">testing-cabal/mock</remote-id> |
260 |
+ </upstream> |
261 |
+</pkgmetadata> |
262 |
|
263 |
diff --git a/dev-python/mock/mock-2.0.0.ebuild b/dev-python/mock/mock-2.0.0.ebuild |
264 |
new file mode 100644 |
265 |
index 0000000..8c92457 |
266 |
--- /dev/null |
267 |
+++ b/dev-python/mock/mock-2.0.0.ebuild |
268 |
@@ -0,0 +1,40 @@ |
269 |
+# Copyright 1999-2016 Gentoo Foundation |
270 |
+# Distributed under the terms of the GNU General Public License v2 |
271 |
+# $Id$ |
272 |
+ |
273 |
+EAPI=6 |
274 |
+ |
275 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy{,3} ) |
276 |
+ |
277 |
+inherit distutils-r1 |
278 |
+ |
279 |
+DESCRIPTION="Rolling backport of unittest.mock for all Pythons" |
280 |
+HOMEPAGE="https://github.com/testing-cabal/mock" |
281 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
282 |
+ |
283 |
+LICENSE="BSD" |
284 |
+SLOT="0" |
285 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" |
286 |
+IUSE="test" |
287 |
+ |
288 |
+CDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}] |
289 |
+ >=dev-python/funcsigs-1[${PYTHON_USEDEP}]" |
290 |
+DEPEND="${CDEPEND} |
291 |
+ >=dev-python/setuptools-17.1[${PYTHON_USEDEP}] |
292 |
+ test? ( |
293 |
+ dev-python/nose[${PYTHON_USEDEP}] |
294 |
+ >=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}] |
295 |
+ >=dev-python/six-1.9[${PYTHON_USEDEP}] |
296 |
+ )" |
297 |
+RDEPEND="${CDEPEND} |
298 |
+ >=dev-python/six-1.9[${PYTHON_USEDEP}]" |
299 |
+ |
300 |
+python_test() { |
301 |
+ nosetests --verbose || die "tests fail under ${EPYTHON}" |
302 |
+} |
303 |
+ |
304 |
+python_install_all() { |
305 |
+ local DOCS=( docs/{conf.py,index.txt} AUTHORS ChangeLog NEWS README.rst ) |
306 |
+ |
307 |
+ distutils-r1_python_install_all |
308 |
+} |
309 |
|
310 |
diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest |
311 |
new file mode 100644 |
312 |
index 0000000..d392078 |
313 |
--- /dev/null |
314 |
+++ b/dev-python/peewee/Manifest |
315 |
@@ -0,0 +1 @@ |
316 |
+DIST peewee-2.8.1.tar.gz 628870 SHA256 a14cfd248c837987346bada53617d7c298a2bd24e18fb4020e6d6e75bf5df05c SHA512 fd65001f6227f3b470046794f306def4a69b2637d916d4d7ee1057dab5671eaae88f32fe5345e3266829651e7529c53d9928516135af520832f34bfc0b1b9f39 WHIRLPOOL e95f14b16dd134153e4d5180a20546dfca3334c9db1e170b20d7f7c8b5e12331612f96daca7de2eddc0ffd64fe786db40b3482200fcd3268f2e1d407bd65fb72 |
317 |
|
318 |
diff --git a/dev-python/peewee/metadata.xml b/dev-python/peewee/metadata.xml |
319 |
new file mode 100644 |
320 |
index 0000000..739a565 |
321 |
--- /dev/null |
322 |
+++ b/dev-python/peewee/metadata.xml |
323 |
@@ -0,0 +1,11 @@ |
324 |
+<?xml version="1.0" encoding="UTF-8"?> |
325 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
326 |
+<pkgmetadata> |
327 |
+ <maintainer type="project"> |
328 |
+ <email>python@g.o</email> |
329 |
+ <name>Python</name> |
330 |
+ </maintainer> |
331 |
+ <upstream> |
332 |
+ <remote-id type="github">coleifer/peewee</remote-id> |
333 |
+ </upstream> |
334 |
+</pkgmetadata> |
335 |
|
336 |
diff --git a/dev-python/peewee/peewee-2.8.1.ebuild b/dev-python/peewee/peewee-2.8.1.ebuild |
337 |
new file mode 100644 |
338 |
index 0000000..aacf223 |
339 |
--- /dev/null |
340 |
+++ b/dev-python/peewee/peewee-2.8.1.ebuild |
341 |
@@ -0,0 +1,48 @@ |
342 |
+# Copyright 1999-2016 Gentoo Foundation |
343 |
+# Distributed under the terms of the GNU General Public License v2 |
344 |
+# $Id$ |
345 |
+ |
346 |
+EAPI=6 |
347 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) |
348 |
+PYTHON_REQ_USE="sqlite(+)" |
349 |
+ |
350 |
+inherit distutils-r1 |
351 |
+ |
352 |
+DESCRIPTION="Small python ORM" |
353 |
+HOMEPAGE="https://github.com/coleifer/peewee/" |
354 |
+SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
355 |
+ |
356 |
+LICENSE="BSD" |
357 |
+SLOT="0" |
358 |
+KEYWORDS="~amd64 ~x86" |
359 |
+IUSE="doc examples" |
360 |
+ |
361 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
362 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
363 |
+# Req'd to ensure a unique tmp.db for each python impl running the testsuite. |
364 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
365 |
+ |
366 |
+python_prepare_all() { |
367 |
+ sed -i -e "s#test_suite='tests',##g;" ./setup.py || die |
368 |
+ distutils-r1_python_prepare_all |
369 |
+} |
370 |
+ |
371 |
+python_compile() { |
372 |
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
373 |
+ distutils-r1_python_compile |
374 |
+} |
375 |
+ |
376 |
+python_compile_all() { |
377 |
+ use doc && emake -C docs html |
378 |
+} |
379 |
+ |
380 |
+python_test() { |
381 |
+ # Testsuite run using runtests.py does not require deps listed in previous ebuild |
382 |
+ "${PYTHON}" ./runtests.py || die "tests failed under ${EPYTHON}" |
383 |
+} |
384 |
+ |
385 |
+python_install_all() { |
386 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
387 |
+ use examples && DOCS=( examples/ ) |
388 |
+ distutils-r1_python_install_all |
389 |
+} |