1 |
idella4 13/12/02 10:24:08 |
2 |
|
3 |
Added: httpretty-0.7.0-deps.patch |
4 |
Log: |
5 |
new dep of openstack client package python-keystoneclient, ebuild prepared by me |
6 |
|
7 |
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-python/httpretty/files/httpretty-0.7.0-deps.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/httpretty/files/httpretty-0.7.0-deps.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/httpretty/files/httpretty-0.7.0-deps.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: httpretty-0.7.0-deps.patch |
16 |
=================================================================== |
17 |
rebased from https://github.com/jamielennox/HTTPretty/commit/3a7d5a04b2ed5cebc8e1fc14f706f5da7fc5162f |
18 |
diff -ur httpretty-0.7.0.orig/requirements.pip httpretty-0.7.0/requirements.pip |
19 |
--- requirements.pip 2013-10-02 12:44:47.000000000 +0800 |
20 |
+++ requirements.pip 2013-12-02 15:37:00.611977792 +0800 |
21 |
@@ -1,12 +1,9 @@ |
22 |
-argparse==1.2.1 |
23 |
-coverage==3.5.3 |
24 |
-httplib2==0.7.6 |
25 |
-misaka==1.0.2 |
26 |
-mock==1.0.1 |
27 |
-nose==1.2.1 |
28 |
-requests==1.1.0 |
29 |
-steadymark==0.4.5 |
30 |
+coverage>=3.5 |
31 |
+httplib2 |
32 |
+mock>=1.0 |
33 |
+nose>=1.2 |
34 |
+requests>=1.1 |
35 |
sure>=1.2.1 |
36 |
-tornado==2.4 |
37 |
-tox==1.4.2 |
38 |
-urllib3 |
39 |
\ No newline at end of file |
40 |
+tornado>=2.2 |
41 |
+tox>=1.4.2 |
42 |
+urllib3 |
43 |
diff -ur httpretty-0.7.0.orig/setup.cfg httpretty-0.7.0/setup.cfg |
44 |
--- setup.cfg 2013-10-08 05:42:31.000000000 +0800 |
45 |
+++ setup.cfg 2013-12-02 15:40:34.331985437 +0800 |
46 |
@@ -2,4 +2,9 @@ |
47 |
tag_build = |
48 |
tag_date = 0 |
49 |
tag_svn_revision = 0 |
50 |
- |
51 |
+[nosetests] |
52 |
+verbosity=2 |
53 |
+with-coverage=1 |
54 |
+cover-erase=1 |
55 |
+cover-package=httpretty |
56 |
+cover-inclusive=1 |
57 |
diff -ur httpretty-0.7.0.orig/setup.py httpretty-0.7.0/setup.py |
58 |
--- setup.py 2013-10-08 05:42:31.000000000 +0800 |
59 |
+++ setup.py 2013-12-02 15:42:26.467989448 +0800 |
60 |
@@ -50,10 +50,11 @@ |
61 |
author_email='gabriel@××××××××××.org', |
62 |
url='http://github.com/gabrielfalcao/httpretty', |
63 |
zip_safe=False, |
64 |
- packages=find_packages(HTTPRETTY_PATH, ('tests')), |
65 |
+ packages=find_packages(), |
66 |
tests_require=test_packages(), |
67 |
install_requires=['urllib3'], |
68 |
license='MIT', |
69 |
+ test_suite='nose.collector', |
70 |
classifiers=["Intended Audience :: Developers", |
71 |
"License :: OSI Approved :: MIT License", |
72 |
"Topic :: Software Development :: Testing"], |
73 |
diff -ur httpretty-0.7.0.orig/tests/functional/test_requests.py httpretty-0.7.0/tests/functional/test_requests.py |
74 |
--- tests/functional/test_requests.py 2013-10-08 05:42:31.000000000 +0800 |
75 |
+++ tests/functional/test_requests.py 2013-12-02 15:43:48.763992391 +0800 |
76 |
@@ -698,7 +698,7 @@ |
77 |
response['response'].should.have.key("status").being.equal(200) |
78 |
response['response'].should.have.key("body").being.an(unicode) |
79 |
response['response'].should.have.key("headers").being.a(dict) |
80 |
- response['response']["headers"].should.have.key("server").being.equal("TornadoServer/2.4") |
81 |
+ response['response']["headers"].should.have.key("server").being.equal("TornadoServer") |
82 |
|
83 |
|
84 |
def test_playing_calls(): |