Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/testfixtures: testfixtures-4.1.1.ebuild testfixtures-3.0.0.ebuild ChangeLog
Date: Sun, 30 Nov 2014 04:07:03
Message-Id: 20141130040657.8B4A5B328@oystercatcher.gentoo.org
1 idella4 14/11/30 04:06:57
2
3 Modified: testfixtures-3.0.0.ebuild ChangeLog
4 Added: testfixtures-4.1.1.ebuild
5 Log:
6 bump; clean old python impl, add py3.4, update deps, switch from patch to sed statements (lighter weight and easier maint.) to fix doc build, fixes Bug #530610
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.5 dev-python/testfixtures/testfixtures-3.0.0.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/testfixtures-3.0.0.ebuild?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/testfixtures-3.0.0.ebuild?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/testfixtures-3.0.0.ebuild?r1=1.4&r2=1.5
16
17 Index: testfixtures-3.0.0.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/testfixtures/testfixtures-3.0.0.ebuild,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- testfixtures-3.0.0.ebuild 30 Jun 2014 08:18:54 -0000 1.4
24 +++ testfixtures-3.0.0.ebuild 30 Nov 2014 04:06:57 -0000 1.5
25 @@ -1,9 +1,9 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testfixtures/testfixtures-3.0.0.ebuild,v 1.4 2014/06/30 08:18:54 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testfixtures/testfixtures-3.0.0.ebuild,v 1.5 2014/11/30 04:06:57 idella4 Exp $
30
31 EAPI=5
32 -PYTHON_COMPAT=( python{2_7,3_2,3_3} )
33 +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
34
35 inherit distutils-r1
36
37
38
39
40 1.9 dev-python/testfixtures/ChangeLog
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/ChangeLog?rev=1.9&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/ChangeLog?rev=1.9&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/ChangeLog?r1=1.8&r2=1.9
45
46 Index: ChangeLog
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-python/testfixtures/ChangeLog,v
49 retrieving revision 1.8
50 retrieving revision 1.9
51 diff -u -r1.8 -r1.9
52 --- ChangeLog 30 Jun 2014 08:18:54 -0000 1.8
53 +++ ChangeLog 30 Nov 2014 04:06:57 -0000 1.9
54 @@ -1,6 +1,14 @@
55 # ChangeLog for dev-python/testfixtures
56 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testfixtures/ChangeLog,v 1.8 2014/06/30 08:18:54 idella4 Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testfixtures/ChangeLog,v 1.9 2014/11/30 04:06:57 idella4 Exp $
59 +
60 +*testfixtures-4.1.1 (30 Nov 2014)
61 +
62 + 30 Nov 2014; Ian Delaney <idella4@g.o> +testfixtures-4.1.1.ebuild,
63 + testfixtures-3.0.0.ebuild:
64 + bump; clean old python impl, add py3.4, update deps, switch from patch to sed
65 + statements (lighter weight and easier maint.) to fix doc build, fixes Bug
66 + #530610
67
68 30 Jun 2014; Ian Delaney <idella4@g.o> +files/docbuild.patch,
69 -files/testfixtures-2.3.4-adjust_tests.patch, -testfixtures-2.3.4.ebuild,
70
71
72
73 1.1 dev-python/testfixtures/testfixtures-4.1.1.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/testfixtures-4.1.1.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testfixtures/testfixtures-4.1.1.ebuild?rev=1.1&content-type=text/plain
77
78 Index: testfixtures-4.1.1.ebuild
79 ===================================================================
80 # Copyright 1999-2014 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/dev-python/testfixtures/testfixtures-4.1.1.ebuild,v 1.1 2014/11/30 04:06:57 idella4 Exp $
83
84 EAPI=5
85 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
86
87 inherit distutils-r1
88
89 DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests"
90 HOMEPAGE="http://pypi.python.org/pypi/testfixtures/"
91 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
92 LICENSE="MIT"
93 SLOT="0"
94
95 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
96 IUSE="doc test"
97
98 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
99 doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
100 $(python_gen_cond_dep 'dev-python/pkginfo[${PYTHON_USEDEP}]' python2_7 pypy ) )
101 test? ( dev-python/manuel[${PYTHON_USEDEP}]
102 dev-python/nose[${PYTHON_USEDEP}]
103 dev-python/nose-cover3[${PYTHON_USEDEP}]
104 dev-python/nose_fixes[${PYTHON_USEDEP}]
105 $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
106 )"
107
108 python_prepare_all() {
109 # Makefile comes set pointing at a wrong location
110 sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die
111 # Prevent un-needed download during build, fix Makefile for doc build
112 sed -e '/'sphinx.ext.intersphinx'/d' -i docs/conf.py || die
113 distutils-r1_python_prepare_all
114 }
115
116 python_prepare() {
117 # remove test that tests the stripped zope-component test_components.ComponentsTests
118 rm -f testfixtures/tests/test_components.py || die
119
120 distutils-r1_python_prepare
121 }
122
123 python_compile_all() {
124 use doc && emake -C docs html
125 }
126
127 python_test() {
128 nosetests ${PN}/tests || die
129 }
130
131 python_install_all() {
132 use doc && HTML_DOCS=( docs/_build/html/. )
133 distutils-r1_python_install_all
134 }