[Python-apps-commits] r460 - in packages/twyt/trunk (13 files)

andyp-guest at users.alioth.debian.org andyp-guest at users.alioth.debian.org
Sat Dec 29 14:19:18 UTC 2007


    Date: Saturday, December 29, 2007 @ 14:19:17
  Author: andyp-guest
Revision: 460

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/twyt/trunk/build/
  packages/twyt/trunk/build/scripts-2.5/
  packages/twyt/trunk/build/scripts-2.5/twyt
  packages/twyt/trunk/debian/
  packages/twyt/trunk/debian/changelog
  packages/twyt/trunk/debian/compat
  packages/twyt/trunk/debian/control
  packages/twyt/trunk/debian/copyright
  packages/twyt/trunk/debian/dirs
  packages/twyt/trunk/debian/docs
  packages/twyt/trunk/debian/pycompat
  packages/twyt/trunk/debian/rules
Modified:
  packages/twyt/trunk/twyt/twitter.py

Added: packages/twyt/trunk/build/scripts-2.5/twyt
===================================================================
--- packages/twyt/trunk/build/scripts-2.5/twyt	                        (rev 0)
+++ packages/twyt/trunk/build/scripts-2.5/twyt	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1,6 @@
+#!/usr/bin/python
+
+from twyt import twyt
+
+if __name__ == '__main__':
+	twyt.main()


Property changes on: packages/twyt/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/twyt/trunk/debian/changelog
===================================================================
--- packages/twyt/trunk/debian/changelog	                        (rev 0)
+++ packages/twyt/trunk/debian/changelog	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1,6 @@
+twyt (0.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #458183)
+
+ -- Andy Price <andy at andrewprice.me.uk>  Sat, 29 Dec 2007 12:27:42 +0000
+

Added: packages/twyt/trunk/debian/compat
===================================================================
--- packages/twyt/trunk/debian/compat	                        (rev 0)
+++ packages/twyt/trunk/debian/compat	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1 @@
+5

Added: packages/twyt/trunk/debian/control
===================================================================
--- packages/twyt/trunk/debian/control	                        (rev 0)
+++ packages/twyt/trunk/debian/control	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1,14 @@
+Source: twyt
+Section: net
+Priority: extra
+Maintainer: Andy Price <andy at andrewprice.me.uk>
+Build-Depends: cdbs, debhelper (>= 5), python-support (>= 0.6), python
+Standards-Version: 3.7.3
+
+Package: twyt
+Architecture: all
+Depends: ${python:Depends}, python-simplejson
+Description: A command line Twitter client
+ Twyt is a command line twitter client which allows you to update your Twitter
+ status and view timelines etc. Due to the way it is implemented, it also would
+ make developing GUI front ends in python quite simple.

Added: packages/twyt/trunk/debian/copyright
===================================================================
--- packages/twyt/trunk/debian/copyright	                        (rev 0)
+++ packages/twyt/trunk/debian/copyright	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1,35 @@
+This package was debianized by Andy Price <andy at andrewprice.me.uk> on
+Sat, 29 Dec 2007 12:20:08 +0000.
+
+It was downloaded from http://andrewprice.me.uk/projects/twyt
+
+Upstream Author: 
+
+    Andy Price <andy at andrewprice.me.uk>
+
+Copyright: 
+
+    Copyright (C) 2007 Andy Price
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+On Debian systems, the complete text of the BSD License can be 
+found in `/usr/share/common-licenses/BSD'.
+
+The Debian packaging is (C) 2007, Andy Price <andy at andrewprice.me.uk> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/twyt/trunk/debian/dirs
===================================================================
--- packages/twyt/trunk/debian/dirs	                        (rev 0)
+++ packages/twyt/trunk/debian/dirs	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1 @@
+usr/bin

Added: packages/twyt/trunk/debian/docs
===================================================================
--- packages/twyt/trunk/debian/docs	                        (rev 0)
+++ packages/twyt/trunk/debian/docs	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1,3 @@
+APITODO
+README
+GUIHOWTO

Added: packages/twyt/trunk/debian/pycompat
===================================================================
--- packages/twyt/trunk/debian/pycompat	                        (rev 0)
+++ packages/twyt/trunk/debian/pycompat	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1 @@
+2

Added: packages/twyt/trunk/debian/rules
===================================================================
--- packages/twyt/trunk/debian/rules	                        (rev 0)
+++ packages/twyt/trunk/debian/rules	2007-12-29 14:19:17 UTC (rev 460)
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+DEB_PYTHON_SYSTEM=pysupport
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk


Property changes on: packages/twyt/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/twyt/trunk/twyt/twitter.py
===================================================================
--- packages/twyt/trunk/twyt/twitter.py	2007-12-29 14:19:01 UTC (rev 459)
+++ packages/twyt/trunk/twyt/twitter.py	2007-12-29 14:19:17 UTC (rev 460)
@@ -60,7 +60,6 @@
 		self.baseurl = u'http://twitter.com/'
 		#self.baseurl = u'http://localhost:8080/' # Test - 'nc -l -p 8080' ftw
 		self.auth = ""
-		self.useragent = "Twyt"
 
 	def setauth(self, user, pwd):
 
@@ -78,7 +77,6 @@
 		if not self.auth:
 			raise TwitterAuthException("No user/password specified")
 
-		req.add_header(u'X-Twitter-Client', self.useragent)
 		req.add_header(u'Authorization', self.auth)
 
 		result = ""
@@ -99,7 +97,6 @@
 
 		url = self.baseurl + handler + '?' + urllib.urlencode(data)
 		req = urllib2.Request(url)
-		req.add_header(u'X-Twitter-Client', self.useragent)
 
 		if doauth:
 			if not self.auth:




More information about the Python-apps-commits mailing list