[Python-modules-commits] r16202 - in packages/tweepy/trunk/debian (7 files)

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Thu Mar 24 03:31:00 UTC 2011


    Date: Thursday, March 24, 2011 @ 03:30:50
  Author: nomadium-guest
Revision: 16202

* Add manpage for tweepyshell and add Build-Depends on python-docutils.
* Disable tweepyshell because it is not useful at the moment (it lacks support for OAuth).

Added:
  packages/tweepy/trunk/debian/clean
  packages/tweepy/trunk/debian/manpages
  packages/tweepy/trunk/debian/tweepyshell.rst
Modified:
  packages/tweepy/trunk/debian/README.Debian
  packages/tweepy/trunk/debian/control
  packages/tweepy/trunk/debian/python-tweepy.install
  packages/tweepy/trunk/debian/rules

Modified: packages/tweepy/trunk/debian/README.Debian
===================================================================
--- packages/tweepy/trunk/debian/README.Debian	2011-03-23 23:05:20 UTC (rev 16201)
+++ packages/tweepy/trunk/debian/README.Debian	2011-03-24 03:30:50 UTC (rev 16202)
@@ -1,8 +1,15 @@
 Tweepy for Debian
 ------------------
 
-A bundled copy of python-oauth module from Leah Culver was removed.
-Users relying on this copy when using Tweepy must install python-oauth
-instead.
+* A bundled copy of python-oauth module from Leah Culver was removed.
+  Users relying on this copy when using Tweepy must install python-oauth
+  instead.
+
+* tweepyshell script is not included because it doesn't support OAuth
+  and Twitter removed support for Basic Authentication since August 31, 
+  2010.
+  Versions of that script with OAuth support can be found on the web
+  (e.g. https://github.com/joshthecoder/tweepy/pull/68) but upstream
+  doesn't have merged the changes yet.
  
  -- Miguel Landaeta <miguel at miguel.cc>  Wed, 23 Mar 2011 22:05:49 -0430

Added: packages/tweepy/trunk/debian/clean
===================================================================
--- packages/tweepy/trunk/debian/clean	                        (rev 0)
+++ packages/tweepy/trunk/debian/clean	2011-03-24 03:30:50 UTC (rev 16202)
@@ -0,0 +1 @@
+tweepyshell.1

Modified: packages/tweepy/trunk/debian/control
===================================================================
--- packages/tweepy/trunk/debian/control	2011-03-23 23:05:20 UTC (rev 16201)
+++ packages/tweepy/trunk/debian/control	2011-03-24 03:30:50 UTC (rev 16202)
@@ -4,7 +4,7 @@
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~)
-Build-Depends-Indep: python-setuptools, python-sphinx
+Build-Depends-Indep: python-setuptools, python-sphinx, python-docutils
 Standards-Version: 3.9.1
 X-Python-Version: >= 2.4
 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/tweepy/trunk

Added: packages/tweepy/trunk/debian/manpages
===================================================================
--- packages/tweepy/trunk/debian/manpages	                        (rev 0)
+++ packages/tweepy/trunk/debian/manpages	2011-03-24 03:30:50 UTC (rev 16202)
@@ -0,0 +1 @@
+#tweepyshell.1

Modified: packages/tweepy/trunk/debian/python-tweepy.install
===================================================================
--- packages/tweepy/trunk/debian/python-tweepy.install	2011-03-23 23:05:20 UTC (rev 16201)
+++ packages/tweepy/trunk/debian/python-tweepy.install	2011-03-24 03:30:50 UTC (rev 16202)
@@ -1,2 +1,4 @@
 usr/lib/python2.*/*-packages/*
-tweepyshell  usr/bin
+
+#tweepyshell is disabled because it doesn't support oauth
+#tweepyshell  usr/bin

Modified: packages/tweepy/trunk/debian/rules
===================================================================
--- packages/tweepy/trunk/debian/rules	2011-03-23 23:05:20 UTC (rev 16201)
+++ packages/tweepy/trunk/debian/rules	2011-03-24 03:30:50 UTC (rev 16202)
@@ -5,6 +5,7 @@
 override_dh_auto_build:
 	dh_auto_build
 	cd doc && sphinx-build -b html . ../build/html
+	rst2man debian/tweepyshell.rst tweepyshell.1
 
 override_dh_auto_install:
 	dh_auto_install

Added: packages/tweepy/trunk/debian/tweepyshell.rst
===================================================================
--- packages/tweepy/trunk/debian/tweepyshell.rst	                        (rev 0)
+++ packages/tweepy/trunk/debian/tweepyshell.rst	2011-03-24 03:30:50 UTC (rev 16202)
@@ -0,0 +1,33 @@
+===============
+ tweepyshell
+===============
+
+--------------------------------------------------
+Launch an interactive shell ready for Tweepy usage
+--------------------------------------------------
+
+:Author: Joshua Roesslein <jroesslein at gmail.com>
+:Date:   2011-03-23
+:Copyright: © 2011 Miguel Landaeta. License MIT/Expat. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
+:Version: 1.7.1
+:Manual section: 1
+:Manual group: User Commands
+
+SYNOPSIS
+========
+
+  tweepyshell [options] <username> <password>
+
+DESCRIPTION
+===========
+
+This script is handy for debugging tweepy during development
+or to just play around with the library.
+It imports tweepy and creates an authenticated API instance (api)
+using the credentials provided.
+
+OPTIONS
+=======
+
+--debug  Enable debug mode.
+




More information about the Python-modules-commits mailing list