1 |
commit: 2ca4c92e0a066690ce09d7d194339653c724659a |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 5 13:42:54 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 5 16:41:10 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca4c92e |
7 |
|
8 |
dev-python/testfixtures: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/testfixtures/Manifest | 1 + |
14 |
dev-python/testfixtures/testfixtures-4.6.0.ebuild | 60 +++++++++++++++++++++++ |
15 |
2 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest |
18 |
index 20ad574..fab032f 100644 |
19 |
--- a/dev-python/testfixtures/Manifest |
20 |
+++ b/dev-python/testfixtures/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST testfixtures-4.1.1.tar.gz 81356 SHA256 c61b13fd9cac0313e2aafd565a007860d83b |
22 |
DIST testfixtures-4.1.2.tar.gz 81689 SHA256 bc27063ac9bce80ac99fe315f2b34053b113ca420b6bbbaf0c19c49c09bb286a SHA512 bf5171b1e1918e88dd887a7dbca6c340e1c197224135e4080551d1830187aa868e53d8302751059da478e2452b1f68a49ae5fba206e48fec554e6d5f237ee5a4 WHIRLPOOL 8d10fb590bb31ff4b5f24f941c41349ac606d91bf62679f70356cddfbdedb7b64f9addca1a419432987a78ebd520ae5b7ce5ddfb043f6452c3e364f266854ed8 |
23 |
DIST testfixtures-4.3.3.tar.gz 86546 SHA256 ffe66d08ef2fdc0be5e6abe1e1d51384ae941747d3df86d5d8238014b9161f62 SHA512 918fd757c61e4f8b7aa54343036546efab8c014fdaaed1dc5edf6a4b0c636e00396a0400b87a28f0ae43cd318590bf63ff8240e59781f7e183fdd4ebbdac7100 WHIRLPOOL 7d4f2e75c39f8a8ac39cfc577515d9b5b11540b8337f63cb51d75250191d7bcea1d79515b581cb921c7dc273d781c264990118f7ee1cc5579ebd9341097546bf |
24 |
DIST testfixtures-4.4.0.tar.gz 87356 SHA256 41096fe91c2939177f1729783bbfaef9e777ba44e7d8ff819ab1318d78beeba7 SHA512 0fdb87e1fd8311cbab274f4db71ec76767cc9e2f771eefb1a110bf42b07e30fc9edbe2db124742b3102b8f114af2666b0b8726f6330871fd72c7ea2f535d5fed WHIRLPOOL 8b5bb18b682f420ae4b66aa1da9ca0f312bff1974400b586cb2bcae635037e629352b37cfa2d1f8c7f91fd880e726c34d7f3aa532b2e04188f5f99ac7a69e2c1 |
25 |
+DIST testfixtures-4.6.0.tar.gz 87322 SHA256 f58ffea34cf0972a3fddcd1873d594d02289587f0ea1d3c1327749f9258cf013 SHA512 cd1e35c907d2f264976161f72c335cc136bec41dd56ee773920eae52a8553fbd7367c9218ba30acccd0a98c067a5aaf675655924f94da60cc190c608714b6bc2 WHIRLPOOL 64cb69d26217cf3748e87fc99029d586b20ee2ce13a8af98454cd33bd4121c021726cb7579b82dfead0b2a281e85fc3906a18ebd2c6a5b6c35c6b1eed49aaa1b |
26 |
|
27 |
diff --git a/dev-python/testfixtures/testfixtures-4.6.0.ebuild b/dev-python/testfixtures/testfixtures-4.6.0.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..1d295a4 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/testfixtures/testfixtures-4.6.0.ebuild |
32 |
@@ -0,0 +1,60 @@ |
33 |
+# Copyright 1999-2015 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=5 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" |
44 |
+HOMEPAGE="https://pypi.python.org/pypi/testfixtures/ https://github.com/Simplistix/testfixtures" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+SLOT="0" |
48 |
+LICENSE="MIT" |
49 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
50 |
+IUSE="doc test" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ doc? ( |
55 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
56 |
+ $(python_gen_cond_dep 'dev-python/pkginfo[${PYTHON_USEDEP}]' python2_7 pypy ) |
57 |
+ ) |
58 |
+ test? ( |
59 |
+ dev-python/manuel[${PYTHON_USEDEP}] |
60 |
+ dev-python/nose[${PYTHON_USEDEP}] |
61 |
+ dev-python/nose-cover3[${PYTHON_USEDEP}] |
62 |
+ dev-python/nose_fixes[${PYTHON_USEDEP}] |
63 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) |
64 |
+ )" |
65 |
+ |
66 |
+python_prepare_all() { |
67 |
+ # Makefile comes set pointing at a wrong location |
68 |
+ sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die |
69 |
+ # Prevent un-needed download during build, fix Makefile for doc build |
70 |
+ sed -e '/'sphinx.ext.intersphinx'/d' -i docs/conf.py || die |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |
73 |
+ |
74 |
+python_prepare() { |
75 |
+ # remove test that tests the stripped zope-component test_components.ComponentsTests |
76 |
+ rm -f testfixtures/tests/test_components.py || die |
77 |
+ |
78 |
+ distutils-r1_python_prepare |
79 |
+} |
80 |
+ |
81 |
+python_compile_all() { |
82 |
+ use doc && emake -C docs html |
83 |
+} |
84 |
+ |
85 |
+python_test() { |
86 |
+ nosetests --verbose || die |
87 |
+} |
88 |
+ |
89 |
+python_install_all() { |
90 |
+ use doc && HTML_DOCS=( docs/_build/html/. ) |
91 |
+ distutils-r1_python_install_all |
92 |
+} |