[tweepy/f17] Bump tweepy to version 2.0
Ratnadeep Debnath
rtnpro at fedoraproject.org
Sun Jun 30 19:05:23 UTC 2013
commit 130abb0b63a2d5f416b95e4831bc657d058bfa9b
Author: Ratnadeep Debnath <ratnadeep.debnath at ibibogroup.com>
Date: Mon Jul 1 00:34:38 2013 +0530
Bump tweepy to version 2.0
.gitignore | 1 +
MIT_LICENSE | 20 -----------
sources | 2 +-
tweepy-2.0-docs.patch | 87 +++++++++++++++++++++++++++++++++++++++++++++++++
tweepy.spec | 12 +++---
5 files changed, 95 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fa0234e..8fa479e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/tweepy-1.7.1.tar.gz
/tweepy-1.8.tar.gz
+/tweepy-2.0.tar.gz
diff --git a/sources b/sources
index 1291557..6162413 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d356cfceac7c9911f3901f4ccd9f75d8 tweepy-1.8.tar.gz
+58c92978aadc585dc878ff7cff8e5c90 tweepy-2.0.tar.gz
diff --git a/tweepy-2.0-docs.patch b/tweepy-2.0-docs.patch
new file mode 100644
index 0000000..77f8a5c
--- /dev/null
+++ b/tweepy-2.0-docs.patch
@@ -0,0 +1,87 @@
+diff -uNr tweepy-2.0p/INSTALL tweepy-2.0/INSTALL
+--- tweepy-2.0p/INSTALL 1970-01-01 05:30:00.000000000 +0530
++++ tweepy-2.0/INSTALL 2013-06-28 09:52:09.448550457 +0530
+@@ -0,0 +1,24 @@
++easy_install
++------------
++easy_install tweepy
++
++
++setuptools - from Git repository
++--------------------------------
++> git clone git://github.com/tweepy/tweepy.git
++> cd tweepy
++> python setup.py install (run as admin/root)
++
++setuptools - from source archive
++--------------------------------
++Download source archive here:
++ http://pypi.python.org/packages/source/t/tweepy/tweepy-1.2.tar.gz
++Extract archive
++> cd tweepy-1.2
++> python setup.py install (run as admin/root)
++
++bundle with your application
++----------------------------
++You may also download a source archive or checkout via Git.
++Then just include the tweepy package folder inside your application's source folder.
++
+diff -uNr tweepy-2.0p/LICENSE tweepy-2.0/LICENSE
+--- tweepy-2.0p/LICENSE 1970-01-01 05:30:00.000000000 +0530
++++ tweepy-2.0/LICENSE 2013-06-28 09:52:55.813619002 +0530
+@@ -0,0 +1,20 @@
++MIT License
++Copyright (c) 2009-2010 Joshua Roesslein
++
++Permission is hereby granted, free of charge, to any person obtaining a copy
++of this software and associated documentation files (the "Software"), to deal
++in the Software without restriction, including without limitation the rights
++to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++copies of the Software, and to permit persons to whom the Software is
++furnished to do so, subject to the following conditions:
++
++The above copyright notice and this permission notice shall be included in
++all copies or substantial portions of the Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
++THE SOFTWARE.
+diff -uNr tweepy-2.0p/README.md tweepy-2.0/README.md
+--- tweepy-2.0p/README.md 1970-01-01 05:30:00.000000000 +0530
++++ tweepy-2.0/README.md 2013-06-28 09:52:15.875559934 +0530
+@@ -0,0 +1,31 @@
++Tweepy [![Build Status](https://travis-ci.org/tweepy/tweepy.png)](https://travis-ci.org/tweepy/tweepy)
++======
++*Twitter for Python!*
++
++Installation
++------------
++The easiest way to install the latest version
++is by using pip/easy_install to pull it from PyPI:
++
++ pip install tweepy
++
++You may also use Git to clone the repository from
++Github and install it manually:
++
++ git clone https://github.com/tweepy/tweepy.git
++ python setup.py install
++
++**Note** only Python 2.6 and 2.7 is supported at
++the moment. The Python 3 family is not yet supported.
++
++Documentation
++-------------
++ - [Website (Work in-progress)](http://tweepy.github.com/)
++ - [Twitter Developers](http://dev.twitter.com/)
++ - [Python Package Documentation](http://packages.python.org/tweepy/html/index.html)
++
++Community
++---------
++ - [Google Group/Mailing list](http://groups.google.com/group/tweepy)
++ - IRC Chat (Freenode.net #tweepy)
++
diff --git a/tweepy.spec b/tweepy.spec
index 5b8103c..75b6481 100644
--- a/tweepy.spec
+++ b/tweepy.spec
@@ -1,9 +1,9 @@
Name: tweepy
-Version: 1.8
+Version: 2.0
Release: 1%{?dist}
Summary: Twitter library for python
Source0: http://pypi.python.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz
-Source1: MIT_LICENSE
+Patch0: tweepy-2.0-docs.patch
License: MIT
Group: Development/Libraries
URL: http://pypi.python.org/pypi/tweepy/
@@ -18,7 +18,7 @@ entire API, and streaming API.
%prep
%setup -q -n %{name}-%{version}
-cp -p %SOURCE1 ./LICENSE
+%patch0 -p1
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -28,13 +28,13 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%files
%defattr(-,root,root,-)
-%doc README LICENSE
+%doc README.md LICENSE
%{python_sitelib}/%{name}
%{python_sitelib}/%{name}-*.egg-info
%changelog
-* Wed Feb 08 2012 rtnpro <rtnpro at gmail.com> 1.8-1
-- RPM for tweepy 1.8
+* Fri Jun 28 2013 rtnpro <rtnpro at gmail.com> 2.0-1
+- Update to tweepy v2.0
* Mon Feb 21 2011 rtnpro <rtnpro at gmail.com> 1.7.1-3
- Added LICENSE, removed unnecessary macros
More information about the scm-commits
mailing list