1 |
idella4 14/05/23 10:51:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: webtest-2.0.15.ebuild |
5 |
Log: |
6 |
bump; drop py2.6, tidy |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.81 dev-python/webtest/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?rev=1.81&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?rev=1.81&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?r1=1.80&r2=1.81 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v |
20 |
retrieving revision 1.80 |
21 |
retrieving revision 1.81 |
22 |
diff -u -r1.80 -r1.81 |
23 |
--- ChangeLog 31 Mar 2014 09:48:16 -0000 1.80 |
24 |
+++ ChangeLog 23 May 2014 10:51:26 -0000 1.81 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/webtest |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.80 2014/03/31 09:48:16 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.81 2014/05/23 10:51:26 idella4 Exp $ |
30 |
+ |
31 |
+*webtest-2.0.15 (23 May 2014) |
32 |
+ |
33 |
+ 23 May 2014; Ian Delaney <idella4@g.o> +webtest-2.0.15.ebuild: |
34 |
+ bump; drop py2.6, tidy |
35 |
|
36 |
*webtest-2.0.14 (31 Mar 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/webtest/webtest-2.0.15.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/webtest-2.0.15.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/webtest-2.0.15.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: webtest-2.0.15.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/webtest-2.0.15.ebuild,v 1.1 2014/05/23 10:51:26 idella4 Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python{2_7,3_2,3_3} ) |
55 |
|
56 |
inherit distutils-r1 |
57 |
|
58 |
MY_PN="WebTest" |
59 |
MY_P="${MY_PN}-${PV}" |
60 |
|
61 |
DESCRIPTION="Helper to test WSGI applications" |
62 |
HOMEPAGE="http://pythonpaste.org/webtest/ http://pypi.python.org/pypi/WebTest" |
63 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" |
64 |
|
65 |
LICENSE="MIT" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="doc test" |
69 |
|
70 |
#nose<1.3.0 |
71 |
RDEPEND=" |
72 |
dev-python/six[${PYTHON_USEDEP}] |
73 |
>=dev-python/waitress-0.8.5[${PYTHON_USEDEP}] |
74 |
>=dev-python/webob-1.2[${PYTHON_USEDEP}] |
75 |
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]" |
76 |
DEPEND="${RDEPEND} |
77 |
app-arch/unzip |
78 |
dev-python/setuptools[${PYTHON_USEDEP}] |
79 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
80 |
test? ( dev-python/nose[${PYTHON_USEDEP}] |
81 |
dev-python/pyquery[${PYTHON_USEDEP}] |
82 |
dev-python/pastedeploy[${PYTHON_USEDEP}] |
83 |
dev-python/wsgiproxy2[${PYTHON_USEDEP}] |
84 |
dev-python/coverage[${PYTHON_USEDEP}] |
85 |
dev-python/mock[${PYTHON_USEDEP}] |
86 |
virtual/python-unittest2[${PYTHON_USEDEP}] |
87 |
)" |
88 |
|
89 |
S="${WORKDIR}/${MY_P}" |
90 |
|
91 |
# Makes testing easier; otherwise we get errors from pkg_resources. |
92 |
DISTUTILS_IN_SOURCE_BUILD=1 |
93 |
|
94 |
python_prepare_all() { |
95 |
# Prevent un-needed d'loading during doc build |
96 |
sed -s 's:intersphinx_mapping:_&:' -i docs/conf.py || die |
97 |
distutils-r1_python_prepare_all |
98 |
} |
99 |
|
100 |
python_compile_all() { |
101 |
if use doc; then |
102 |
sphinx-build docs html || die |
103 |
fi |
104 |
} |
105 |
|
106 |
src_test() { |
107 |
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test |
108 |
} |
109 |
|
110 |
python_test() { |
111 |
# Tests raise ImportErrors with our default PYTHONPATH. |
112 |
local -x PYTHONPATH= |
113 |
nosetests || die "Tests fail with ${EPYTHON}" |
114 |
} |
115 |
|
116 |
python_install() { |
117 |
distutils-r1_python_install |
118 |
|
119 |
# Why is it so? |
120 |
if python_is_python3; then |
121 |
rm -f "${D}$(python_get_sitedir)"/webtest/lint3.py |
122 |
fi |
123 |
} |
124 |
|
125 |
python_install_all() { |
126 |
use doc && local HTML_DOCS=( html/. ) |
127 |
distutils-r1_python_install_all |
128 |
} |