Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/nose: metadata.xml nose-1.3.7.ebuild ChangeLog nose-1.1.2-r1.ebuild nose-1.2.1.ebuild nose-1.2.1_p2012.ebuild nose-1.3.0.ebuild nose-1.3.3.ebuild
Date: Wed, 03 Jun 2015 08:42:25
Message-Id: 20150603084219.B45DCA19@oystercatcher.gentoo.org
1 jlec 15/06/03 08:42:19
2
3 Modified: metadata.xml ChangeLog
4 Added: nose-1.3.7.ebuild
5 Removed: nose-1.1.2-r1.ebuild nose-1.2.1.ebuild
6 nose-1.2.1_p2012.ebuild nose-1.3.0.ebuild
7 nose-1.3.3.ebuild
8 Log:
9 Version Bump; drop old
10
11 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
12
13 Revision Changes Path
14 1.7 dev-python/nose/metadata.xml
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/metadata.xml?rev=1.7&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/metadata.xml?rev=1.7&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/metadata.xml?r1=1.6&r2=1.7
19
20 Index: metadata.xml
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-python/nose/metadata.xml,v
23 retrieving revision 1.6
24 retrieving revision 1.7
25 diff -u -r1.6 -r1.7
26 --- metadata.xml 4 Apr 2015 18:05:36 -0000 1.6
27 +++ metadata.xml 3 Jun 2015 08:42:19 -0000 1.7
28 @@ -2,9 +2,6 @@
29 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
30 <pkgmetadata>
31 <herd>python</herd>
32 - <use>
33 - <flag name="coverage">Utilize <pkg>dev-python/coverage</pkg></flag>
34 - </use>
35 <upstream>
36 <remote-id type="pypi">nose</remote-id>
37 </upstream>
38
39
40
41 1.144 dev-python/nose/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/ChangeLog?rev=1.144&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/ChangeLog?rev=1.144&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/ChangeLog?r1=1.143&r2=1.144
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v
50 retrieving revision 1.143
51 retrieving revision 1.144
52 diff -u -r1.143 -r1.144
53 --- ChangeLog 8 Apr 2015 08:04:54 -0000 1.143
54 +++ ChangeLog 3 Jun 2015 08:42:19 -0000 1.144
55 @@ -1,6 +1,13 @@
56 # ChangeLog for dev-python/nose
57 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.143 2015/04/08 08:04:54 mgorny Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.144 2015/06/03 08:42:19 jlec Exp $
60 +
61 +*nose-1.3.7 (03 Jun 2015)
62 +
63 + 03 Jun 2015; Justin Lecher <jlec@g.o> +nose-1.3.7.ebuild,
64 + -nose-1.1.2-r1.ebuild, -nose-1.2.1.ebuild, -nose-1.2.1_p2012.ebuild,
65 + -nose-1.3.0.ebuild, -nose-1.3.3.ebuild, metadata.xml:
66 + Version Bump; drop old
67
68 08 Apr 2015; Michał Górny <mgorny@g.o> nose-1.1.2-r1.ebuild,
69 nose-1.2.1.ebuild, nose-1.2.1_p2012.ebuild, nose-1.3.0.ebuild,
70
71
72
73 1.1 dev-python/nose/nose-1.3.7.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/nose-1.3.7.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/nose-1.3.7.ebuild?rev=1.1&content-type=text/plain
77
78 Index: nose-1.3.7.ebuild
79 ===================================================================
80 # Copyright 1999-2015 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-1.3.7.ebuild,v 1.1 2015/06/03 08:42:19 jlec Exp $
83
84 EAPI=5
85
86 PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
87
88 inherit distutils-r1
89
90 DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring"
91 HOMEPAGE="
92 http://pypi.python.org/pypi/nose
93 http://readthedocs.org/docs/nose/
94 https://bitbucket.org/jpellerin/nose"
95 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
96
97 LICENSE="LGPL-2.1"
98 SLOT="0"
99 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
100 IUSE="doc examples test"
101
102 RDEPEND="
103 dev-python/coverage[${PYTHON_USEDEP}]
104 dev-python/setuptools[${PYTHON_USEDEP}]"
105 DEPEND="${RDEPEND}
106 doc? ( >=dev-python/sphinx-0.6[${PYTHON_USEDEP}] )
107 test? ( $(python_gen_cond_dep 'dev-python/twisted-core[${PYTHON_USEDEP}]' python2_7) )"
108
109 python_prepare_all() {
110 # Tests need to be converted, and they don't respect BUILD_DIR.
111 use test && DISTUTILS_IN_SOURCE_BUILD=1
112
113 # Disable tests requiring network connection.
114 sed \
115 -e "s/test_resolve/_&/g" \
116 -e "s/test_raises_bad_return/_&/g" \
117 -e "s/test_raises_twisted_error/_&/g" \
118 -i unit_tests/test_twisted.py || die "sed failed"
119 # Disable versioning of nosetests script to avoid collision with
120 # versioning performed by the eclass.
121 sed -e "/'nosetests%s = nose:run_exit' % py_vers_tag,/d" \
122 -i setup.py || die "sed2 failed"
123
124 # Prevent un-needed d'loading during doc build
125 sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
126
127 distutils-r1_python_prepare_all
128 }
129
130 python_compile() {
131 local add_targets=()
132
133 if use test; then
134 add_targets+=( egg_info )
135 python_is_python3 && add_targets+=( build_tests )
136 fi
137
138 distutils-r1_python_compile ${add_targets[@]}
139 }
140
141 python_compile_all() {
142 use doc && emake -C doc html
143 }
144
145 src_test() {
146 # nosetests use heavy multiprocessing during the tests.
147 # this shall make them less likely to kill your system or timeout.
148 local DISTUTILS_NO_PARALLEL_BUILD=1
149
150 distutils-r1_src_test
151 }
152
153 python_test() {
154 "${PYTHON}" selftest.py -v || die "Tests fail with ${EPYTHON}"
155 }
156
157 python_install() {
158 distutils-r1_python_install --install-data "${EPREFIX}/usr/share"
159 }
160
161 python_install_all() {
162 use examples && local EXAMPLES=( examples/. )
163 distutils-r1_python_install_all
164
165 if use doc; then
166 dohtml -r -A txt doc/.build/html/.
167 fi
168 }