--- python-twitter-0.6.orig/debian/copyright +++ python-twitter-0.6/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Mauro Lizaur on +Sat, 02 Feb 2008 17:55:12 -0300. + +It was downloaded from http://code.google.com/p/python-twitter/ + +Upstream Author: DeWitt Clinton + +Copyright (C) 2007 Google Inc. + +License: + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, a copy of the Apache License, Version 2.0 is available + in /usr/share/common-licenses/Apache-2.0 + +The Debian packaging is (C) 2008, Mauro Lizaur and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- python-twitter-0.6.orig/debian/changelog +++ python-twitter-0.6/debian/changelog @@ -0,0 +1,19 @@ +python-twitter (0.6-0ubuntu1~ppa1) jaunty; urgency=low + + * New upstream release + + -- Fumihito YOSHIDA Fri, 19 Jun 2009 16:09:17 +0900 + +python-twitter (0.5-2) unstable; urgency=low + + * Fixed lintian error 'copyright-file-contains-full-apache-2-license' + * Standards-Version updated to 3.8.0 + + -- Mauro Lizaur Fri, 1 Jul 2008 17:20:33 -0300 + +python-twitter (0.5-1) unstable; urgency=low + + * Initial release (Closes: #463724) + + -- Mauro Lizaur Sat, 02 Feb 2008 17:55:12 -0300 + --- python-twitter-0.6.orig/debian/docs +++ python-twitter-0.6/debian/docs @@ -0,0 +1 @@ +doc/* --- python-twitter-0.6.orig/debian/compat +++ python-twitter-0.6/debian/compat @@ -0,0 +1 @@ +5 --- python-twitter-0.6.orig/debian/control +++ python-twitter-0.6/debian/control @@ -0,0 +1,23 @@ +Source: python-twitter +Section: python +Priority: optional +Maintainer: Mauro Lizaur +Uploaders: Debian Python Modules Team +XS-Python-Version: all +Build-Depends: debhelper (>= 5), python (>= 2.3.5-11), python-all-dev +Build-Depends-Indep: python-setuptools, python-support (>= 0.6.4) +Standards-Version: 3.8.0 +Homepage: http://code.google.com/p/python-twitter/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-twitter/trunk +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-twitter/trunk/?op=log + +Package: python-twitter +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, python-simplejson +Description: Twitter API wrapper for Python + This library provides a pure Python interface for the Twitter API. + . + Twitter provides a service that allows people to connect via the web, IM, and + SMS. Twitter exposes a web services API (http://twitter.com/help/api) and this + library is intended to make it even easier for Python programmers to use. --- python-twitter-0.6.orig/debian/manpages +++ python-twitter-0.6/debian/manpages @@ -0,0 +1,2 @@ +debian/twitter-to-xhtml.1 +debian/tweet.1 --- python-twitter-0.6.orig/debian/rules +++ python-twitter-0.6/debian/rules @@ -0,0 +1,46 @@ +#!/usr/bin/make -f +PYVERS=$(shell pyversions -r) +d=debian/python-twitter + +build: + +clean: + dh_testdir + for python in $(PYVERS); do \ + $$python setup.py clean; \ + done + rm -rf build-stamp build + rm -rf $(d) + dh_clean install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_installdirs + set -e; \ + for python in $(PYVERS); do \ + $$python setup.py install --root=$(d);\ + done + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs CHANGES + dh_installman + dh_compress -X.py + install -m 755 $(CURDIR)/examples/tweet.py $(CURDIR)/$(d)/usr/bin/tweet + install -m 755 $(CURDIR)/examples/twitter-to-xhtml.py $(CURDIR)/$(d)/usr/bin/twitter-to-xhtml + dh_fixperms + dh_pysupport + sed -i -e '1,2d' $(CURDIR)/$(d)/usr/share/python-support/python-twitter/twitter.py + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- python-twitter-0.6.orig/debian/twitter-to-xhtml.1 +++ python-twitter-0.6/debian/twitter-to-xhtml.1 @@ -0,0 +1,21 @@ +.TH TWITTER-TO-XHTML "1" "February 2008" "twitter-to-xhtml" "User Commands" +.SH NAME +\fBtwitter-to-xhtml\fR \- Fetches a users latest updates and stores in an XHTML file +.SH SYNOPSIS +.B twitter-to-xhtml +[\fIoptions\fR] \fItwitterid\fR +.SH DESCRIPTION +.IP +\fBtwitter-to-xhtml\fR +fetches a users latest twitter update and stores +the result in a file as an XHTML fragment +.IP +.SH "OPTIONS" +.HP +Options: + \fB\-\-help\fR \fB\-h\fR : print this help + \fB\-\-output\fR : the output file [default: stdout] +.IP +.SH "SEE ALSO" + + --- python-twitter-0.6.orig/debian/dirs +++ python-twitter-0.6/debian/dirs @@ -0,0 +1 @@ +/usr/bin --- python-twitter-0.6.orig/debian/tweet.1 +++ python-twitter-0.6/debian/tweet.1 @@ -0,0 +1,43 @@ +.TH TWEET "1" "February 2008" "tweet" "User Commands" +.SH NAME +\fBtweet\fR \- Text-based client for Twitter. +.SH SYNOPSIS +.B tweet +[\fIoptions\fR] \fImessage\fR +.SH DESCRIPTION +.IP +\fBtweet\fR is a text-based client that allows you to post messages to +Twitter. +.IP +.SH "OPTIONS AND DOCUMENTATION" +.HP +Options: + \fB\-h\fR \fB\-\-help\fR : print this help + \fB\-\-username\fR : the twitter username [optional] + \fB\-\-password\fR : the twitter password [optional] +.IP +.HP +Documentation: + +If the \fB\-\-username\fR or \fB\-\-password\fR command line arguments are present they +will be used to authenticate to Twitter. +.IP +If either of the command line flags are not present, the environment +variables TWEETUSERNAME and TWEETPASSWORD will then be checked for your +username or password, respectively. +.IP +If neither the command line flags nor the enviroment variables are +present, the .tweetrc file, if it exists, can be used to set the +default username and password. The file should contain the +following three lines, replacing *username* with your username, and +*possword* with your password: +.IP +A skeletal .tweetrc file: +.IP + [Tweet] + username: *username* + password: *password* +.IP +.SH "SEE ALSO" + + --- python-twitter-0.6.orig/debian/watch +++ python-twitter-0.6/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://code.google.com/p/python-twitter/downloads/list http://python-twitter.googlecode.com/files/python-twitter-(.*)\.tar\.gz --- python-twitter-0.6.orig/python_twitter.egg-info/SOURCES.txt +++ python-twitter-0.6/python_twitter.egg-info/SOURCES.txt @@ -4,6 +4,7 @@ NOTICE README python-twitter.spec +setup.cfg setup.py twitter.py twitter_test.py