Ubuntu Pastebin

Paste from jamespage at Tue, 12 Dec 2017 12:11:03 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff -Nru autodep8-0.10/debian/changelog autodep8-0.10ubuntu1/debian/changelog
--- autodep8-0.10/debian/changelog	2017-09-12 15:38:05.000000000 +0100
+++ autodep8-0.10ubuntu1/debian/changelog	2017-12-12 12:08:28.000000000 +0000
@@ -1,3 +1,10 @@
+autodep8 (0.10ubuntu1) UNRELEASED; urgency=medium
+
+  * support/python/generate: Remap oslo.* module names to oslo_*, resolving
+    autopkgtest-pkg-python failures with python{3}-oslo.* packages.
+
+ -- James Page <james.page@ubuntu.com>  Tue, 12 Dec 2017 12:08:28 +0000
+
 autodep8 (0.10) unstable; urgency=medium
 
   * Team upload.
diff -Nru autodep8-0.10/debian/control autodep8-0.10ubuntu1/debian/control
--- autodep8-0.10/debian/control	2017-09-12 15:38:05.000000000 +0100
+++ autodep8-0.10ubuntu1/debian/control	2017-12-12 12:08:28.000000000 +0000
@@ -1,7 +1,8 @@
 Source: autodep8
 Section: devel
 Priority: optional
-Maintainer: Autopkgtest team <autopkgtest-devel@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Autopkgtest team <autopkgtest-devel@lists.alioth.debian.org>
 Uploaders: Antonio Terceiro <terceiro@debian.org>, Martin Pitt <mpitt@debian.org>
 Build-Depends: debhelper (>= 9), dctrl-tools, shunit2, python3
 Standards-Version: 4.1.0
diff -Nru autodep8-0.10/support/python/generate autodep8-0.10ubuntu1/support/python/generate
--- autodep8-0.10/support/python/generate	2017-09-01 15:55:23.000000000 +0100
+++ autodep8-0.10ubuntu1/support/python/generate	2017-12-12 12:07:23.000000000 +0000
@@ -56,7 +56,7 @@
     fi
 fi
 
-module=$(echo "$module" | sed 's/-/_/g')
+module=$(echo "$module" | sed -e 's/-/_/g' -e 's/oslo\./oslo_/g')
 
 # Python2
 if [ -n "$py2_package" ]; then
Download as text