[Python-modules-commits] r23290 - in packages/python-launchpadlib/trunk/debian (8 files)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Sat Jan 12 14:31:23 UTC 2013


    Date: Saturday, January 12, 2013 @ 14:31:20
  Author: stefanor
Revision: 23290

* New upstream release.
  - Supports disabling SSL validation, by exporting
    LP_DISABLE_SSL_CERTIFICATE_VALIDATION=1.
* Refresh patches.
* Repack to drop eggs directory (Filed LP#1098878)
* Bump Standards-Version to 3.9.4.
  - Bump debhelper dependency to 8.1 for build-{arch,indep} support.
* Add autopkgtest to run test suite.

Added:
  packages/python-launchpadlib/trunk/debian/tests/
  packages/python-launchpadlib/trunk/debian/tests/control
  packages/python-launchpadlib/trunk/debian/tests/unittests
Modified:
  packages/python-launchpadlib/trunk/debian/changelog
  packages/python-launchpadlib/trunk/debian/control
  packages/python-launchpadlib/trunk/debian/patches/auth_message.patch
  packages/python-launchpadlib/trunk/debian/rules
  packages/python-launchpadlib/trunk/debian/watch

Modified: packages/python-launchpadlib/trunk/debian/changelog
===================================================================
--- packages/python-launchpadlib/trunk/debian/changelog	2013-01-11 16:43:11 UTC (rev 23289)
+++ packages/python-launchpadlib/trunk/debian/changelog	2013-01-12 14:31:20 UTC (rev 23290)
@@ -1,3 +1,16 @@
+python-launchpadlib (1.10.2+ds-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+    - Supports disabling SSL validation, by exporting
+      LP_DISABLE_SSL_CERTIFICATE_VALIDATION=1.
+  * Refresh patches.
+  * Repack to drop eggs directory (Filed LP#1098878)
+  * Bump Standards-Version to 3.9.4.
+    - Bump debhelper dependency to 8.1 for build-{arch,indep} support.
+  * Add autopkgtest to run test suite.
+
+ -- Stefano Rivera <stefanor at debian.org>  Sat, 12 Jan 2013 15:41:40 +0200
+
 python-launchpadlib (1.9.12-2) unstable; urgency=low
 
   * New maintainer.

Modified: packages/python-launchpadlib/trunk/debian/control
===================================================================
--- packages/python-launchpadlib/trunk/debian/control	2013-01-11 16:43:11 UTC (rev 23289)
+++ packages/python-launchpadlib/trunk/debian/control	2013-01-12 14:31:20 UTC (rev 23290)
@@ -5,7 +5,7 @@
 Uploaders:
  Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends:
- debhelper (>= 7.3.0~),
+ debhelper (>= 8.1),
  python-all (>= 2.6.6-3~),
  python-keyring (>= 0.5),
  python-lazr.restfulclient (>= 0.11.2),
@@ -15,11 +15,12 @@
  python-testresources,
  python-unittest2,
  python-wadllib
-Standards-Version: 3.9.3
+Standards-Version: 3.9.4
 Homepage: https://launchpad.net/launchpadlib
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-launchpadlib/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-launchpadlib/trunk/
 X-Python-Version: >= 2.6
+XS-Testsuite: autopkgtest
 
 Package: python-launchpadlib
 Architecture: all

Modified: packages/python-launchpadlib/trunk/debian/patches/auth_message.patch
===================================================================
--- packages/python-launchpadlib/trunk/debian/patches/auth_message.patch	2013-01-11 16:43:11 UTC (rev 23289)
+++ packages/python-launchpadlib/trunk/debian/patches/auth_message.patch	2013-01-12 14:31:20 UTC (rev 23290)
@@ -15,7 +15,7 @@
  import time
  from urllib import urlencode
  from urlparse import urljoin
-@@ -530,7 +532,10 @@
+@@ -553,7 +555,10 @@
      themselves.
      """
  
@@ -27,7 +27,7 @@
  
      def __init__(self, service_root, application_name, consumer_name=None,
                   credential_save_failed=None, allow_access_levels=None):
-@@ -566,8 +571,15 @@
+@@ -589,8 +594,15 @@
          """Have the end-user authorize the token in their browser."""
  
          authorization_url = self.authorization_url(request_token)

Modified: packages/python-launchpadlib/trunk/debian/rules
===================================================================
--- packages/python-launchpadlib/trunk/debian/rules	2013-01-11 16:43:11 UTC (rev 23289)
+++ packages/python-launchpadlib/trunk/debian/rules	2013-01-12 14:31:20 UTC (rev 23290)
@@ -21,3 +21,14 @@
 
 override_dh_python2:
 	dh_python2 --no-guessing-deps
+
+get-packaged-orig-source:
+	set -e; \
+	VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p'); \
+	uscan --noconf --download-current-version --destdir=. --rename; \
+	tar -xf python-launchpadlib_$$VER.orig.tar.gz; \
+	rm python-launchpadlib_$$VER.orig.tar.gz; \
+	rm -r launchpadlib-$$VER/eggs; \
+	GZIP=--best tar -cz --owner root --group root --mode a+rX \
+	                -f python-launchpadlib_$$VER+ds.orig.tar.gz launchpadlib-$$VER; \
+	rm -r launchpadlib-$$VER

Added: packages/python-launchpadlib/trunk/debian/tests/control
===================================================================
--- packages/python-launchpadlib/trunk/debian/tests/control	                        (rev 0)
+++ packages/python-launchpadlib/trunk/debian/tests/control	2013-01-12 14:31:20 UTC (rev 23290)
@@ -0,0 +1,2 @@
+Tests: unittests
+Depends: @, python-nose, python-all, python-unittest2

Added: packages/python-launchpadlib/trunk/debian/tests/unittests
===================================================================
--- packages/python-launchpadlib/trunk/debian/tests/unittests	                        (rev 0)
+++ packages/python-launchpadlib/trunk/debian/tests/unittests	2013-01-12 14:31:20 UTC (rev 23290)
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -efu
+
+pythons="$(pyversions -rv)"
+cd "$ADTTMP"
+for py in $pythons; do
+	echo "=== python$py ==="
+	nosetests-$py launchpadlib.tests 2>&1
+done


Property changes on: packages/python-launchpadlib/trunk/debian/tests/unittests
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/python-launchpadlib/trunk/debian/watch
===================================================================
--- packages/python-launchpadlib/trunk/debian/watch	2013-01-11 16:43:11 UTC (rev 23289)
+++ packages/python-launchpadlib/trunk/debian/watch	2013-01-12 14:31:20 UTC (rev 23290)
@@ -1,2 +1,3 @@
 version=3
+opts=dversionmangle=s/\+ds// \
 https://launchpad.net/launchpadlib/+download .*/launchpadlib-(.+).tar.gz




More information about the Python-modules-commits mailing list