[Python-modules-commits] r22707 - in packages/python-twitter/trunk/debian (11 files)

vbkaisetsu-guest at users.alioth.debian.org vbkaisetsu-guest at users.alioth.debian.org
Mon Sep 24 12:17:05 UTC 2012


    Date: Monday, September 24, 2012 @ 12:17:03
  Author: vbkaisetsu-guest
Revision: 22707

update for python-twitter 0.8.2-1

Added:
  packages/python-twitter/trunk/debian/dirs
  packages/python-twitter/trunk/debian/doc-base
  packages/python-twitter/trunk/debian/patches/10_fix_shebang.patch
Modified:
  packages/python-twitter/trunk/debian/changelog
  packages/python-twitter/trunk/debian/compat
  packages/python-twitter/trunk/debian/control
  packages/python-twitter/trunk/debian/copyright
  packages/python-twitter/trunk/debian/patches/series
  packages/python-twitter/trunk/debian/rules
  packages/python-twitter/trunk/debian/tweet.1
  packages/python-twitter/trunk/debian/watch

Modified: packages/python-twitter/trunk/debian/changelog
===================================================================
--- packages/python-twitter/trunk/debian/changelog	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/changelog	2012-09-24 12:17:03 UTC (rev 22707)
@@ -1,15 +1,43 @@
 python-twitter (0.8.2-1) unstable; urgency=low
 
-  * New upstream release (Closes: #617983, #609041, #613698, #587749)
-  * New maintainer.
-  * Updated watch file.
-  * Add python-oauth2 to list of runtime dependencies
-  * Bump Standards-Version to 3.9.2 (no change)
-  * Convert copyright to DEP-5
-  * Change source format to 3.0(quilt)
+  * New maintainer (Closes: #688463)
+  * New upstream release (Closes: #587749)
+  * debian/compat
+    - up to 9
+  * debian/control
+    - update debhelper (>= 9.0.0)
+    - update Standards-Version to 3.9.4
+    - add dependencies: python-httplib2, python-oauth2
+  * debian/copyright
+    - change to machine readable format
+  * debian/doc-base
+    - add to support doc-base
+  * debian/rules
+    - use dh9
+  * debian/patches
+    - remove old style patches and use 3.0 quilt (Closes: #664376)
+    - add 10_fix_shebang.patch to remove version numbers on shebang from
+      executable scripts and remove shebangs on non-executable scripts
+  * debian/tweet.1
+    - fix spelling error: enviroment environment
+  * debian/watch
+    - fix the match pattern
+  
+ -- Koichi Akabe <vbkaisetsu at gmail.com>  Sun, 23 Sep 2012 17:10:25 +0900
 
- -- Andreas Noteng <andreas at noteng.no>  Sun, 19 Jun 2011 09:21:59 +0200
+python-twitter (0.6-1) unstable; urgency=low
 
+  * New upstream release (Closes: #527055)
+  * debian/patches:
+    - dropped: 10_correct-05-doc.dpatch since it was corrected by upstream.
+    - modified: 20_removes-hashbang.dpatch to work with this new release.
+    - added: 30_removes_hardcoded_interpreter.dpatch which removes a 
+	     hardcoded version of the Python interpreter.
+  * Now Suggests www-browser to read the (HTML) documentation correctly.
+  * Bumped Standard-Version to 3.8.2
+
+ -- Mauro Lizaur <mauro at cacavoladora.org>  Sat, 11 Jul 2009 18:45:16 -0300
+
 python-twitter (0.5-3) unstable; urgency=low
 
   * Now build-depends on dpatch.

Modified: packages/python-twitter/trunk/debian/compat
===================================================================
--- packages/python-twitter/trunk/debian/compat	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/compat	2012-09-24 12:17:03 UTC (rev 22707)
@@ -1 +1 @@
-8
+9

Modified: packages/python-twitter/trunk/debian/control
===================================================================
--- packages/python-twitter/trunk/debian/control	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/control	2012-09-24 12:17:03 UTC (rev 22707)
@@ -1,17 +1,20 @@
 Source: python-twitter
 Section: python
 Priority: optional
-Maintainer: Andreas Noteng <andreas at noteng.no>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 8), python (>= 2.6.6-3~), python-simplejson, python-oauth2, python-httplib2
-Standards-Version: 3.9.2
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Koichi Akabe <vbkaisetsu at gmail.com>
+Build-Depends: debhelper (>= 9.0.0), python (>= 2.6.6-3), python-setuptools, python-httplib2, python-simplejson, python-oauth2
+Standards-Version: 3.9.4
 Homepage: http://code.google.com/p/python-twitter/
-Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-twitter/trunk
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-easygui/trunk/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-twitter/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-twitter/trunk/
+X-Python-Version: >= 2.6
+DM-Upload-Allowed: yes
 
 Package: python-twitter
 Architecture: all
-Depends: ${python:Depends}, python-simplejson, python-oauth2, python-httplib2
+Depends: ${python:Depends}, ${misc:Depends}, python-simplejson (>= 2.0.9)
+Suggests: www-browser
 Description: Twitter API wrapper for Python
  This library provides a pure Python interface for the Twitter API.
  .

Modified: packages/python-twitter/trunk/debian/copyright
===================================================================
--- packages/python-twitter/trunk/debian/copyright	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/copyright	2012-09-24 12:17:03 UTC (rev 22707)
@@ -1,24 +1,15 @@
-Format: http://dep.debian.net/deps/dep5/
-Upstream-Name: Python-twitter
-Upstream-Contact: The Python-Twitter Developers <python-twitter at googlegroups.com>
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: python-twitter
 Source: http://code.google.com/p/python-twitter/
-License: Apache-2.0
 
 Files: *
-Copyright: 2007-2011 The Python-Twitter Developers <python-twitter at googlegroups.com>
-License: Apache-2.0
-
-Files: debian/*
-Copyright: 2008-2009 Mauro Lizaur <lavaramano at gmail.com>
-           2011 Andreas Noteng <andreas at noteng.no>
-License: GPL-2+
-
-License: Apache-2.0
+Copyright: 2007 The Python-Twitter Developers <python-twitter at googlegroups.com>
+License: Apache
  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
+    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,
@@ -29,24 +20,24 @@
  On Debian systems, a copy of the Apache License, Version 2.0 is available
  in /usr/share/common-licenses/Apache-2.0
 
+Files: debian/*
+Copyright: 2008 Mauro Lizaur <lavaramano at gmail.com>
+           2012 Koichi Akabe <vbkaisetsu at gmail.com>
 License: GPL-2+
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
  .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
  .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
+ You should have received a copy of the GNU General Public License with
+ the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2;
+ if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301, USA.
  .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ On Debian systems, the full text of the GPL can be found in
+ /usr/share/common-licenses/GPL-2

Added: packages/python-twitter/trunk/debian/dirs
===================================================================
--- packages/python-twitter/trunk/debian/dirs	                        (rev 0)
+++ packages/python-twitter/trunk/debian/dirs	2012-09-24 12:17:03 UTC (rev 22707)
@@ -0,0 +1 @@
+/usr/bin

Added: packages/python-twitter/trunk/debian/doc-base
===================================================================
--- packages/python-twitter/trunk/debian/doc-base	                        (rev 0)
+++ packages/python-twitter/trunk/debian/doc-base	2012-09-24 12:17:03 UTC (rev 22707)
@@ -0,0 +1,9 @@
+Document: python-twitter
+Title: Python module twitter
+Author: python-twitter at googlegroups.com
+Abstract: Manual for python-twitter
+Section: Network/Communication
+
+Format: HTML
+Index: /usr/share/doc/python-twitter/twitter.html
+Files: /usr/share/doc/python-twitter/*.html

Added: packages/python-twitter/trunk/debian/patches/10_fix_shebang.patch
===================================================================
--- packages/python-twitter/trunk/debian/patches/10_fix_shebang.patch	                        (rev 0)
+++ packages/python-twitter/trunk/debian/patches/10_fix_shebang.patch	2012-09-24 12:17:03 UTC (rev 22707)
@@ -0,0 +1,37 @@
+Description: fix shebang of python scripts
+ Scripts specify python2.4 as a shebang. This patch remove version
+ numbers from executable scripts and remove shebangs from non-executable
+ scripts.
+Last-Update: 2012-08-31
+
+--- python-twitter-0.8.2.orig/twitter.py
++++ python-twitter-0.8.2/twitter.py
+@@ -1,4 +1,3 @@
+-#!/usr/bin/python2.4
+ #
+ # Copyright 2007 The Python-Twitter Developers
+ #
+--- python-twitter-0.8.2.orig/setup.py
++++ python-twitter-0.8.2/setup.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python2.4
++#!/usr/bin/python
+ #
+ # Copyright 2007 The Python-Twitter Developers
+ #
+--- python-twitter-0.8.2.orig/examples/tweet.py
++++ python-twitter-0.8.2/examples/tweet.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python2.4
++#!/usr/bin/python
+ 
+ '''Post a message to twitter'''
+ 
+--- python-twitter-0.8.2.orig/examples/twitter-to-xhtml.py
++++ python-twitter-0.8.2/examples/twitter-to-xhtml.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python2.4
++#!/usr/bin/python
+ 
+ '''Load the latest update for a Twitter user and leave it in an XHTML fragment'''
+ 

Modified: packages/python-twitter/trunk/debian/patches/series
===================================================================
--- packages/python-twitter/trunk/debian/patches/series	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/patches/series	2012-09-24 12:17:03 UTC (rev 22707)
@@ -1,2 +1 @@
-remove_shebang.patch
-fix_documentation.patch
+10_fix_shebang.patch

Modified: packages/python-twitter/trunk/debian/rules
===================================================================
--- packages/python-twitter/trunk/debian/rules	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/rules	2012-09-24 12:17:03 UTC (rev 22707)
@@ -1,4 +1,13 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python2
+	dh "$@" --with python2 --buildsystem=python_distutils
+
+override_dh_auto_install:
+	dh_auto_install
+	install -m 755 $(CURDIR)/examples/tweet.py $(CURDIR)/debian/python-twitter/usr/bin/tweet
+	install -m 755 $(CURDIR)/examples/twitter-to-xhtml.py $(CURDIR)/debian/python-twitter/usr/bin/twitter-to-xhtml
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf $(CURDIR)/python_twitter.egg-info

Modified: packages/python-twitter/trunk/debian/tweet.1
===================================================================
--- packages/python-twitter/trunk/debian/tweet.1	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/tweet.1	2012-09-24 12:17:03 UTC (rev 22707)
@@ -26,7 +26,7 @@
 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
+If neither the command line flags nor the environment 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

Modified: packages/python-twitter/trunk/debian/watch
===================================================================
--- packages/python-twitter/trunk/debian/watch	2012-09-23 20:27:39 UTC (rev 22706)
+++ packages/python-twitter/trunk/debian/watch	2012-09-24 12:17:03 UTC (rev 22707)
@@ -1,3 +1,3 @@
 version=3
-opts=downloadurlmangle=s#.*(python-twitter-([\d.]+)\.tar\.gz).*#http://python-twitter.googlecode.com/files/$1#,filenamemangle=s#.*(python-twitter-([\d.]+)\.tar\.gz).*#$1# \
-    http://code.google.com/p/python-twitter/downloads/list ^.*detail\?name=python-twitter-([\d.]+)\.tar\.gz.*
+
+http://code.google.com/p/python-twitter/downloads/list?can=1 .*/python-twitter-(\d[\d.]*)\.tar\.gz




More information about the Python-modules-commits mailing list