1 |
floppym 14/04/01 01:18:40 |
2 |
|
3 |
Modified: nose-9999.ebuild ChangeLog |
4 |
Added: nose-1.3.1.ebuild |
5 |
Log: |
6 |
Version bump. Add python3.4. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 dev-python/nose/nose-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/nose-9999.ebuild?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/nose-9999.ebuild?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/nose-9999.ebuild?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: nose-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/nose/nose-9999.ebuild,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- nose-9999.ebuild 31 Mar 2014 21:19:17 -0000 1.8 |
24 |
+++ nose-9999.ebuild 1 Apr 2014 01:18:40 -0000 1.9 |
25 |
@@ -1,6 +1,6 @@ |
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/nose/nose-9999.ebuild,v 1.8 2014/03/31 21:19:17 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-9999.ebuild,v 1.9 2014/04/01 01:18:40 floppym Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
@@ -10,7 +10,7 @@ |
34 |
inherit git-2 |
35 |
#endif |
36 |
|
37 |
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) |
38 |
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0 ) |
39 |
inherit distutils-r1 eutils |
40 |
|
41 |
DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring" |
42 |
|
43 |
|
44 |
|
45 |
1.123 dev-python/nose/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/ChangeLog?rev=1.123&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/ChangeLog?rev=1.123&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/ChangeLog?r1=1.122&r2=1.123 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v |
54 |
retrieving revision 1.122 |
55 |
retrieving revision 1.123 |
56 |
diff -u -r1.122 -r1.123 |
57 |
--- ChangeLog 31 Mar 2014 21:19:17 -0000 1.122 |
58 |
+++ ChangeLog 1 Apr 2014 01:18:40 -0000 1.123 |
59 |
@@ -1,6 +1,12 @@ |
60 |
# ChangeLog for dev-python/nose |
61 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.122 2014/03/31 21:19:17 mgorny Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.123 2014/04/01 01:18:40 floppym Exp $ |
64 |
+ |
65 |
+*nose-1.3.1 (01 Apr 2014) |
66 |
+ |
67 |
+ 01 Apr 2014; Mike Gilbert <floppym@g.o> |
68 |
+ +files/nose-1.3.1-python3.4.patch, +nose-1.3.1.ebuild, nose-9999.ebuild: |
69 |
+ Version bump. Add python3.4. |
70 |
|
71 |
31 Mar 2014; Michał Górny <mgorny@g.o> nose-1.1.2-r1.ebuild, |
72 |
nose-1.2.1.ebuild, nose-1.2.1_p2012.ebuild, nose-1.3.0.ebuild, |
73 |
|
74 |
|
75 |
|
76 |
1.1 dev-python/nose/nose-1.3.1.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/nose-1.3.1.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/nose/nose-1.3.1.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: nose-1.3.1.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2014 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-1.3.1.ebuild,v 1.1 2014/04/01 01:18:40 floppym Exp $ |
86 |
|
87 |
EAPI=5 |
88 |
|
89 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0 ) |
90 |
inherit distutils-r1 eutils |
91 |
|
92 |
DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring" |
93 |
HOMEPAGE="http://pypi.python.org/pypi/nose http://readthedocs.org/docs/nose/ https://bitbucket.org/jpellerin/nose" |
94 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
95 |
|
96 |
LICENSE="LGPL-2.1" |
97 |
SLOT="0" |
98 |
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" |
99 |
IUSE="doc examples test" |
100 |
|
101 |
RDEPEND="dev-python/coverage[${PYTHON_USEDEP}] |
102 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
103 |
DEPEND="${RDEPEND} |
104 |
doc? ( >=dev-python/sphinx-0.6 ) |
105 |
test? ( dev-python/twisted-core |
106 |
dev-python/unittest2 )" |
107 |
|
108 |
DOCS=( AUTHORS ) |
109 |
PATCHES=( |
110 |
"${FILESDIR}"/${PN}-1.2.1-skiptest.patch |
111 |
"${FILESDIR}"/${PN}-1.3.1-python3.4.patch |
112 |
) |
113 |
|
114 |
python_prepare_all() { |
115 |
# Tests need to be converted, and they don't respect BUILD_DIR. |
116 |
use test && DISTUTILS_IN_SOURCE_BUILD=1 |
117 |
|
118 |
# Disable tests requiring network connection. |
119 |
sed \ |
120 |
-e "s/test_resolve/_&/g" \ |
121 |
-e "s/test_raises_bad_return/_&/g" \ |
122 |
-e "s/test_raises_twisted_error/_&/g" \ |
123 |
-i unit_tests/test_twisted.py || die "sed failed" |
124 |
# Disable versioning of nosetests script to avoid collision with |
125 |
# versioning performed by the eclass. |
126 |
sed -e "/'nosetests%s = nose:run_exit' % py_vers_tag,/d" \ |
127 |
-i setup.py || die "sed2 failed" |
128 |
|
129 |
distutils-r1_python_prepare_all |
130 |
} |
131 |
|
132 |
python_compile() { |
133 |
local add_targets=() |
134 |
|
135 |
if use test; then |
136 |
add_targets+=( egg_info ) |
137 |
python_is_python3 && add_targets+=( build_tests ) |
138 |
fi |
139 |
|
140 |
distutils-r1_python_compile ${add_targets[@]} |
141 |
} |
142 |
|
143 |
python_compile_all() { |
144 |
use doc && emake -C doc html |
145 |
} |
146 |
|
147 |
src_test() { |
148 |
# nosetests use heavy multiprocessing during the tests. |
149 |
# this shall make them less likely to kill your system or timeout. |
150 |
local DISTUTILS_NO_PARALLEL_BUILD=1 |
151 |
|
152 |
distutils-r1_src_test |
153 |
} |
154 |
|
155 |
python_test() { |
156 |
"${PYTHON}" selftest.py || die "Tests fail with ${EPYTHON}" |
157 |
} |
158 |
|
159 |
python_install() { |
160 |
distutils-r1_python_install --install-data "${EPREFIX}/usr/share" |
161 |
} |
162 |
|
163 |
python_install_all() { |
164 |
local EXAMPLES=( examples/. ) |
165 |
distutils-r1_python_install_all |
166 |
|
167 |
if use doc; then |
168 |
dohtml -r -A txt doc/.build/html/. |
169 |
fi |
170 |
} |