Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testfixtures/
Date: Sun, 20 Sep 2015 09:33:58
Message-Id: 1442741624.8b64f5e1fc563b23c2dbbfee00accffd604473ab.jlec@gentoo
1 commit: 8b64f5e1fc563b23c2dbbfee00accffd604473ab
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 09:04:38 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 09:33:44 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b64f5e1
7
8 dev-python/testfixtures: Version Bump
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/testfixtures/Manifest | 1 +
14 dev-python/testfixtures/testfixtures-4.3.3.ebuild | 59 +++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest
18 index 38267a5..59d16d7 100644
19 --- a/dev-python/testfixtures/Manifest
20 +++ b/dev-python/testfixtures/Manifest
21 @@ -1,3 +1,4 @@
22 DIST testfixtures-3.0.0.tar.gz 75303 SHA256 20e82e23ffc39bd7d55317f2e87e49aa33ac15142f2bd38fedde696ccaa9469f SHA512 9bc7e30cad6a0c932f23de49f9aff099cb4de824f20b4f98bf1fb4a7313d7ac8d763f7c8208bc0f5351dcd899daa3d2fbc18cdc2143c1b65cefbe0f3ba29df0c WHIRLPOOL 5d51daa288f0c31ce0547815b15f7242df4d3309f2c0845cfa36241ba6d16b151caa1924977a35ae9753c1243724d1aac74cda2b7f5e64e981c378fa6696a512
23 DIST testfixtures-4.1.1.tar.gz 81356 SHA256 c61b13fd9cac0313e2aafd565a007860d83b218a138117ac421368d2896bc215 SHA512 08785961560218c3a06043158af8364b46b850c159a82e5fd05ccd88133786aed1a0ec9038ef0c0e36430853559e29fefca8f6bfee1b942730010cd3fb8e9ae4 WHIRLPOOL be548f4fa3bf9428cf683d229c9c4569ba2028a05aa284d803a282af293999fd38565f2b9701751c8f84d57faea6efd3a9e1e5ee5375b719957fe6dc7c4cbdf5
24 DIST testfixtures-4.1.2.tar.gz 81689 SHA256 bc27063ac9bce80ac99fe315f2b34053b113ca420b6bbbaf0c19c49c09bb286a SHA512 bf5171b1e1918e88dd887a7dbca6c340e1c197224135e4080551d1830187aa868e53d8302751059da478e2452b1f68a49ae5fba206e48fec554e6d5f237ee5a4 WHIRLPOOL 8d10fb590bb31ff4b5f24f941c41349ac606d91bf62679f70356cddfbdedb7b64f9addca1a419432987a78ebd520ae5b7ce5ddfb043f6452c3e364f266854ed8
25 +DIST testfixtures-4.3.3.tar.gz 86546 SHA256 ffe66d08ef2fdc0be5e6abe1e1d51384ae941747d3df86d5d8238014b9161f62 SHA512 918fd757c61e4f8b7aa54343036546efab8c014fdaaed1dc5edf6a4b0c636e00396a0400b87a28f0ae43cd318590bf63ff8240e59781f7e183fdd4ebbdac7100 WHIRLPOOL 7d4f2e75c39f8a8ac39cfc577515d9b5b11540b8337f63cb51d75250191d7bcea1d79515b581cb921c7dc273d781c264990118f7ee1cc5579ebd9341097546bf
26
27 diff --git a/dev-python/testfixtures/testfixtures-4.3.3.ebuild b/dev-python/testfixtures/testfixtures-4.3.3.ebuild
28 new file mode 100644
29 index 0000000..aa87610
30 --- /dev/null
31 +++ b/dev-python/testfixtures/testfixtures-4.3.3.ebuild
32 @@ -0,0 +1,59 @@
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 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests"
43 +HOMEPAGE="https://pypi.python.org/pypi/testfixtures/ https://github.com/Simplistix/testfixtures"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +LICENSE="MIT"
46 +SLOT="0"
47 +
48 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
49 +IUSE="doc test"
50 +
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + doc? (
54 + dev-python/sphinx[${PYTHON_USEDEP}]
55 + $(python_gen_cond_dep 'dev-python/pkginfo[${PYTHON_USEDEP}]' python2_7 pypy )
56 + )
57 + test? (
58 + dev-python/manuel[${PYTHON_USEDEP}]
59 + dev-python/nose[${PYTHON_USEDEP}]
60 + dev-python/nose-cover3[${PYTHON_USEDEP}]
61 + dev-python/nose_fixes[${PYTHON_USEDEP}]
62 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
63 + )"
64 +
65 +python_prepare_all() {
66 + # Makefile comes set pointing at a wrong location
67 + sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die
68 + # Prevent un-needed download during build, fix Makefile for doc build
69 + sed -e '/'sphinx.ext.intersphinx'/d' -i docs/conf.py || die
70 + distutils-r1_python_prepare_all
71 +}
72 +
73 +python_prepare() {
74 + # remove test that tests the stripped zope-component test_components.ComponentsTests
75 + rm -f testfixtures/tests/test_components.py || die
76 +
77 + distutils-r1_python_prepare
78 +}
79 +
80 +python_compile_all() {
81 + use doc && emake -C docs html
82 +}
83 +
84 +python_test() {
85 + nosetests || die
86 +}
87 +
88 +python_install_all() {
89 + use doc && HTML_DOCS=( docs/_build/html/. )
90 + distutils-r1_python_install_all
91 +}