1 |
prometheanfire 15/07/30 00:27:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: httpretty-0.8.10.ebuild |
5 |
Log: |
6 |
adding for python-ironicclient |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 dev-python/httpretty/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/httpretty/ChangeLog?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/httpretty/ChangeLog?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/httpretty/ChangeLog?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/httpretty/ChangeLog,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- ChangeLog 7 Jun 2015 13:33:43 -0000 1.11 |
24 |
+++ ChangeLog 30 Jul 2015 00:27:54 -0000 1.12 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/httpretty |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/ChangeLog,v 1.11 2015/06/07 13:33:43 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/ChangeLog,v 1.12 2015/07/30 00:27:54 prometheanfire Exp $ |
30 |
+ |
31 |
+*httpretty-0.8.10 (30 Jul 2015) |
32 |
+ |
33 |
+ 30 Jul 2015; Matthew Thode <prometheanfire@g.o> |
34 |
+ +httpretty-0.8.10.ebuild: |
35 |
+ adding for python-ironicclient |
36 |
|
37 |
07 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml: |
38 |
Add github to remote-id in metadata.xml |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/httpretty/httpretty-0.8.10.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/httpretty/httpretty-0.8.10.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/httpretty/httpretty-0.8.10.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: httpretty-0.8.10.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/httpretty-0.8.10.ebuild,v 1.1 2015/07/30 00:27:54 prometheanfire Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
55 |
|
56 |
inherit distutils-r1 |
57 |
|
58 |
DESCRIPTION="HTTP client mock for Python" |
59 |
HOMEPAGE="http://github.com/gabrielfalcao/httpretty" |
60 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
61 |
|
62 |
KEYWORDS="~amd64 ~x86" |
63 |
IUSE="test" |
64 |
LICENSE="MIT" |
65 |
SLOT="0" |
66 |
|
67 |
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
68 |
" |
69 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
70 |
test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
71 |
>=dev-python/nose-1.2[${PYTHON_USEDEP}] |
72 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
73 |
dev-python/sure[${PYTHON_USEDEP}] |
74 |
dev-python/httplib2[${PYTHON_USEDEP}] |
75 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
76 |
>=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
77 |
dev-python/ipdb[${PYTHON_USEDEP}] )" |
78 |
|
79 |
#Required for test phase |
80 |
DISTUTILS_IN_SOURCE_BUILD=1 |
81 |
|
82 |
python_test() { |
83 |
# https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur |
84 |
# py3.4 hangs on many tests and is deemed underdone |
85 |
# Upstream does not make it clear whether py3.4 is sctually tested and supported. |
86 |
# python2.7 has substantial failure in tests/functional/test_requests.py and is removed. |
87 |
# Some tests excluded attempt connection to the network |
88 |
# On testing in the state below, py2.7 still has a tally of FAILED (failures=5) |
89 |
# that occur within the folder tests/unit which upstream should address. |
90 |
# https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106 |
91 |
|
92 |
if [[ "${EPYTHON}" == python3.4 ]]; then |
93 |
einfo "python3.4 not adequately supported in testsuite" |
94 |
elif [[ "${EPYTHON}" == python2.7 ]]; then |
95 |
rm -f tests/functional/test_requests.py || die |
96 |
nosetests -e test_recording_calls \ |
97 |
-e test_playing_calls \ |
98 |
-e test_callback_setting_headers_and_status_response \ |
99 |
-e test_httpretty_bypasses_when_disabled \ |
100 |
-e test_using_httpretty_with_other_tcp_protocols \ |
101 |
tests/unit \ |
102 |
tests/functional || die "Tests failed under python2.7" |
103 |
else |
104 |
nosetests -e test_recording_calls \ |
105 |
-e test_playing_calls \ |
106 |
-e test_callback_setting_headers_and_status_response \ |
107 |
-e test_httpretty_bypasses_when_disabled \ |
108 |
-e test_using_httpretty_with_other_tcp_protocols \ |
109 |
tests/unit \ |
110 |
tests/functional || die "Tests failed under python3.3" |
111 |
fi |
112 |
|
113 |
rm -rf "${BUILD_DIR}"/../tests/ || die |
114 |
} |