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

xnox at users.alioth.debian.org xnox at users.alioth.debian.org
Mon Jul 7 22:37:27 UTC 2014


    Date: Monday, July 7, 2014 @ 22:37:26
  Author: xnox
Revision: 29686

* Team upload
* Bump Standards-Version to 3.9.5 (with no changes)
* Drop obsolete debian/pycompat
* Switch to dh-python / pybuild
* Bump debhelper compat to 9
* Add python3-oauthlib package with help of 2to3
* Switch to 3.0 (quilt) format for above patch
* Trim template text from debian/watch

Added:
  packages/python-oauth/trunk/debian/patches/
  packages/python-oauth/trunk/debian/patches/2to3.patch
  packages/python-oauth/trunk/debian/patches/series
  packages/python-oauth/trunk/debian/source/
  packages/python-oauth/trunk/debian/source/format
Modified:
  packages/python-oauth/trunk/debian/changelog
  packages/python-oauth/trunk/debian/compat
  packages/python-oauth/trunk/debian/control
  packages/python-oauth/trunk/debian/rules
  packages/python-oauth/trunk/debian/watch
Deleted:
  packages/python-oauth/trunk/debian/pycompat

Modified: packages/python-oauth/trunk/debian/changelog
===================================================================
--- packages/python-oauth/trunk/debian/changelog	2014-07-07 22:30:39 UTC (rev 29685)
+++ packages/python-oauth/trunk/debian/changelog	2014-07-07 22:37:26 UTC (rev 29686)
@@ -1,7 +1,18 @@
 python-oauth (1.0.1-4) UNRELEASED; urgency=low
 
+  [ Jakub Wilk ]
   * Add Vcs-* fields.
 
+  [ Dimitri John Ledkov ]
+  * Team upload
+  * Bump Standards-Version to 3.9.5 (with no changes)
+  * Drop obsolete debian/pycompat
+  * Switch to dh-python / pybuild
+  * Bump debhelper compat to 9
+  * Add python3-oauthlib package with help of 2to3
+  * Switch to 3.0 (quilt) format for above patch
+  * Trim template text from debian/watch
+
  -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:03:01 +0200
 
 python-oauth (1.0.1-3) unstable; urgency=low

Modified: packages/python-oauth/trunk/debian/compat
===================================================================
--- packages/python-oauth/trunk/debian/compat	2014-07-07 22:30:39 UTC (rev 29685)
+++ packages/python-oauth/trunk/debian/compat	2014-07-07 22:37:26 UTC (rev 29686)
@@ -1 +1 @@
-7
+9

Modified: packages/python-oauth/trunk/debian/control
===================================================================
--- packages/python-oauth/trunk/debian/control	2014-07-07 22:30:39 UTC (rev 29685)
+++ packages/python-oauth/trunk/debian/control	2014-07-07 22:37:26 UTC (rev 29686)
@@ -1,13 +1,15 @@
 Source: python-oauth
 Section: python
-Priority: extra
+Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: TANIGUCHI Takaki <takaki at debian.org>
-Build-Depends: debhelper (>= 7), python-all, python-setuptools
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9), python-all, python-setuptools, python3-all, dh-python, python3-setuptools
+Standards-Version: 3.9.5
 Homepage: http://code.google.com/p/oauth
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-oauth/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-oauth/trunk/
+X-Python-Versions: >= 2.6
+X-Python3-Versions: >= 3.3
 
 Package: python-oauth
 Architecture: all
@@ -17,3 +19,11 @@
  python-oauth implements OAuth, which is an open protocol to allow API
  authentication in a simple and standard method from desktop and web
  applications. 
+
+Package: python3-oauth
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python 3 library implementing of the OAuth protocol
+ python-oauth implements OAuth, which is an open protocol to allow API
+ authentication in a simple and standard method from desktop and web
+ applications for Python 3.

Added: packages/python-oauth/trunk/debian/patches/2to3.patch
===================================================================
--- packages/python-oauth/trunk/debian/patches/2to3.patch	                        (rev 0)
+++ packages/python-oauth/trunk/debian/patches/2to3.patch	2014-07-07 22:37:26 UTC (rev 29686)
@@ -0,0 +1,14 @@
+Description: use 2to3 to generate python3 module
+Author: Dimitri John Ledkov <xnox at ubuntu.com>
+
+--- a/setup.py
++++ b/setup.py
+@@ -9,5 +9,6 @@
+       author_email="leah.culver at gmail.com",
+       url="http://code.google.com/p/oauth",
+       packages = find_packages(),
++      use_2to3 = True,
+       license = "MIT License",
+-      zip_safe = True)
+\ No newline at end of file
++      zip_safe = True)

Added: packages/python-oauth/trunk/debian/patches/series
===================================================================
--- packages/python-oauth/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-oauth/trunk/debian/patches/series	2014-07-07 22:37:26 UTC (rev 29686)
@@ -0,0 +1 @@
+2to3.patch

Deleted: packages/python-oauth/trunk/debian/pycompat
===================================================================
--- packages/python-oauth/trunk/debian/pycompat	2014-07-07 22:30:39 UTC (rev 29685)
+++ packages/python-oauth/trunk/debian/pycompat	2014-07-07 22:37:26 UTC (rev 29686)
@@ -1 +0,0 @@
-2

Modified: packages/python-oauth/trunk/debian/rules
===================================================================
--- packages/python-oauth/trunk/debian/rules	2014-07-07 22:30:39 UTC (rev 29685)
+++ packages/python-oauth/trunk/debian/rules	2014-07-07 22:37:26 UTC (rev 29686)
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+export PYBUILD_NAME=oauth
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild

Added: packages/python-oauth/trunk/debian/source/format
===================================================================
--- packages/python-oauth/trunk/debian/source/format	                        (rev 0)
+++ packages/python-oauth/trunk/debian/source/format	2014-07-07 22:37:26 UTC (rev 29686)
@@ -0,0 +1 @@
+3.0 (quilt)

Modified: packages/python-oauth/trunk/debian/watch
===================================================================
--- packages/python-oauth/trunk/debian/watch	2014-07-07 22:30:39 UTC (rev 29685)
+++ packages/python-oauth/trunk/debian/watch	2014-07-07 22:37:26 UTC (rev 29686)
@@ -1,24 +1,2 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# See uscan(1) for format
-
-# Compulsory line, this is a version 3 file
 version=3
-
-# Uncomment to examine a Webpage
-# <Webpage URL> <string match>
-#http://www.example.com/downloads.php python-oauth-(.*)\.tar\.gz
-
-# Uncomment to examine a Webserver directory
-#http://www.example.com/pub/python-oauth-(.*)\.tar\.gz
 http://pypi.python.org/packages/source/o/oauth/oauth-(.*).tar.gz
-
-# Uncommment to examine a FTP server
-#ftp://ftp.example.com/pub/python-oauth-(.*)\.tar\.gz debian uupdate
-
-# Uncomment to find new files on sourceforge, for devscripts >= 2.9
-# http://sf.net/python-oauth/python-oauth-(.*)\.tar\.gz
-
-# Uncomment to find new files on GooglePages
-# http://example.googlepages.com/foo.html python-oauth-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list