summaryrefslogtreecommitdiff
path: root/net/py-tweepy/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-tweepy/files')
-rw-r--r--net/py-tweepy/files/patch-setup.py22
-rw-r--r--net/py-tweepy/files/patch-test__requirements.txt7
2 files changed, 29 insertions, 0 deletions
diff --git a/net/py-tweepy/files/patch-setup.py b/net/py-tweepy/files/patch-setup.py
new file mode 100644
index 000000000000..6a7f90eda2c2
--- /dev/null
+++ b/net/py-tweepy/files/patch-setup.py
@@ -0,0 +1,22 @@
+--- setup.py.orig 2015-02-21 19:28:08 UTC
++++ setup.py
+@@ -15,7 +15,10 @@ else:
+ raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
+
+ install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
++test_reqs = parse_requirements('test_requirements.txt', session=uuid.uuid1())
++
+ reqs = [str(req.req) for req in install_reqs]
++treqs = [str(req.req) for req in test_reqs]
+
+ setup(name="tweepy",
+ version=version,
+@@ -26,6 +29,8 @@ setup(name="tweepy",
+ url="http://github.com/tweepy/tweepy",
+ packages=find_packages(exclude=['tests']),
+ install_requires=reqs,
++ tests_require=treqs,
++ test_suite='nose.collector',
+ keywords="twitter library",
+ classifiers=[
+ 'Development Status :: 4 - Beta',
diff --git a/net/py-tweepy/files/patch-test__requirements.txt b/net/py-tweepy/files/patch-test__requirements.txt
new file mode 100644
index 000000000000..ffe0ff724815
--- /dev/null
+++ b/net/py-tweepy/files/patch-test__requirements.txt
@@ -0,0 +1,7 @@
+--- test_requirements.txt.orig 2015-07-05 15:09:04 UTC
++++ test_requirements.txt
+@@ -1,4 +1,3 @@
+-tox>=1.7.2
+ vcrpy==1.1.2
+ mock==1.0.1
+ unittest2 # Comment this line out if using Python 3.