Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package python-softlayer

RC bug fix.  Requesting approval before upload since I propose including
also a fix for an important bug as well as changes related to the new
maintainer.  The last is administrative, but given I'm doing an upload it
seemed better to include it so Jessie users know who the maintainer is.
The important bug fix is just renaming the postinst/prerm so they acutally
get used.  There's no changes in the contents of the file.

unblock python-softlayer/3.2.0-2
diff -Nru python-softlayer-3.2.0/debian/changelog python-softlayer-3.2.0/debian/changelog
--- python-softlayer-3.2.0/debian/changelog	2014-09-11 11:07:04.000000000 -0400
+++ python-softlayer-3.2.0/debian/changelog	2015-02-13 16:23:07.000000000 -0500
@@ -1,3 +1,13 @@
+python-softlayer (3.2.0-2) unstable; urgency=medium
+
+  * Fix docopt version in requires to SL will start (Closes: #778344)
+  * Fix python-softlayer postinst/postrm file names to that alternatives works
+    and SL is properly provided by python-softlayer (Closes: #778279)
+  * Agreed maintainer change to Debian Python Modules Team (Closes: #777337)
+  * Add Vcs-* for DPMT repository
+
+ -- Scott Kitterman <[email protected]>  Fri, 13 Feb 2015 16:13:11 -0500
+
 python-softlayer (3.2.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru python-softlayer-3.2.0/debian/control python-softlayer-3.2.0/debian/control
--- python-softlayer-3.2.0/debian/control	2014-07-14 11:11:14.000000000 -0400
+++ python-softlayer-3.2.0/debian/control	2015-02-13 16:32:55.000000000 -0500
@@ -1,7 +1,8 @@
 Source: python-softlayer
 Section: python
 Priority: optional
-Maintainer: Alessio Treglia <[email protected]>
+Maintainer: Debian Python Modules Team <[email protected]>
+Uploaders: Scott Kitterman <[email protected]>
 Build-Depends:
  debhelper (>= 9~),
  dh-python,
@@ -13,8 +14,8 @@
 X-Python3-Version: >= 3.3
 Standards-Version: 3.9.5
 Homepage: http://github.com/softlayer/softlayer-api-python-client
-Vcs-Git: git://anonscm.debian.org/collab-maint/python-softlayer.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-softlayer.git
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-softlayer/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-softlayer/trunk/
 
 Package: python-softlayer
 Architecture: all
diff -Nru python-softlayer-3.2.0/debian/patches/docopt-versions.patch python-softlayer-3.2.0/debian/patches/docopt-versions.patch
--- python-softlayer-3.2.0/debian/patches/docopt-versions.patch	1969-12-31 19:00:00.000000000 -0500
+++ python-softlayer-3.2.0/debian/patches/docopt-versions.patch	2015-02-13 16:30:31.000000000 -0500
@@ -0,0 +1,17 @@
+Description: Fix docopt version in requires to SL will start (Closes: #778344)
+Author: Scott Kitterman <[email protected]>
+Bug-Debian: http://bugs.debian.org/778344
+Origin: vendor
+Forwarded: no
+
+--- python-softlayer-3.2.0.orig/setup.py
++++ python-softlayer-3.2.0/setup.py
+@@ -18,7 +18,7 @@ extra = {}
+ requires = [
+     'six >= 1.7.0',
+     'prettytable >= 0.7.0',
+-    'docopt == 0.6.1',
++    'docopt >= 0.6.1',
+     'requests',
+ ]
+ 
diff -Nru python-softlayer-3.2.0/debian/patches/series python-softlayer-3.2.0/debian/patches/series
--- python-softlayer-3.2.0/debian/patches/series	2014-07-14 09:35:36.000000000 -0400
+++ python-softlayer-3.2.0/debian/patches/series	2015-02-13 16:29:23.000000000 -0500
@@ -1,2 +1,3 @@
 1001-rename_sl.patch
 1002-longdesc.patch
+docopt-versions.patch
diff -Nru python-softlayer-3.2.0/debian/python2-softlayer.postinst python-softlayer-3.2.0/debian/python2-softlayer.postinst
--- python-softlayer-3.2.0/debian/python2-softlayer.postinst	2014-07-14 10:35:14.000000000 -0400
+++ python-softlayer-3.2.0/debian/python2-softlayer.postinst	1969-12-31 19:00:00.000000000 -0500
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-set -e
-
-PYTHONVER=2
-ALT_NAME=SL
-ALT_LINK="/usr/bin/${ALT_NAME}"
-ALT_PATH="/usr/lib/python${PYTHONVER}-softlayer/${ALT_NAME}"
-
-case "$1" in
-    configure)
-        update-alternatives --quiet --install \
-            "${ALT_LINK}" "${ALT_NAME}" "${ALT_PATH}" 25
-        ;;
-    abort-upgrade|abort-remove|abort-deconfigure)
-        ;;
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru python-softlayer-3.2.0/debian/python2-softlayer.prerm python-softlayer-3.2.0/debian/python2-softlayer.prerm
--- python-softlayer-3.2.0/debian/python2-softlayer.prerm	2014-07-14 10:35:33.000000000 -0400
+++ python-softlayer-3.2.0/debian/python2-softlayer.prerm	1969-12-31 19:00:00.000000000 -0500
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -e
-
-PYTHONVER=2
-ALT_NAME=SL
-ALT_LINK="/usr/bin/${ALT_NAME}"
-ALT_PATH="/usr/lib/python${PYTHONVER}-softlayer/${ALT_NAME}"
-
-case "$1" in
-    upgrade)
-        ;;
-    remove|failed-upgrade|deconfigure)
-        update-alternatives --remove "${ALT_NAME}" "${ALT_PATH}"
-        ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru python-softlayer-3.2.0/debian/python-softlayer.postinst python-softlayer-3.2.0/debian/python-softlayer.postinst
--- python-softlayer-3.2.0/debian/python-softlayer.postinst	1969-12-31 19:00:00.000000000 -0500
+++ python-softlayer-3.2.0/debian/python-softlayer.postinst	2015-02-13 16:36:39.000000000 -0500
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+PYTHONVER=2
+ALT_NAME=SL
+ALT_LINK="/usr/bin/${ALT_NAME}"
+ALT_PATH="/usr/lib/python${PYTHONVER}-softlayer/${ALT_NAME}"
+
+case "$1" in
+    configure)
+        update-alternatives --quiet --install \
+            "${ALT_LINK}" "${ALT_NAME}" "${ALT_PATH}" 25
+        ;;
+    abort-upgrade|abort-remove|abort-deconfigure)
+        ;;
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Nru python-softlayer-3.2.0/debian/python-softlayer.prerm python-softlayer-3.2.0/debian/python-softlayer.prerm
--- python-softlayer-3.2.0/debian/python-softlayer.prerm	1969-12-31 19:00:00.000000000 -0500
+++ python-softlayer-3.2.0/debian/python-softlayer.prerm	2015-02-13 16:36:48.000000000 -0500
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+PYTHONVER=2
+ALT_NAME=SL
+ALT_LINK="/usr/bin/${ALT_NAME}"
+ALT_PATH="/usr/lib/python${PYTHONVER}-softlayer/${ALT_NAME}"
+
+case "$1" in
+    upgrade)
+        ;;
+    remove|failed-upgrade|deconfigure)
+        update-alternatives --remove "${ALT_NAME}" "${ALT_PATH}"
+        ;;
+esac
+
+#DEBHELPER#
+
+exit 0

Reply via email to