[Python-modules-commits] [python-future] 01/01: d/python{, 3}-future.postrm: Removed to fix lintian warnings. This duplicates functionality in the .prerm anyway, which is where lintian recommends the calls should go.

Barry Warsaw barry at moszumanska.debian.org
Tue Sep 15 23:14:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-future.

commit f3894ffa2dce5c93bd8cd3dfcc7efcfbb4182831
Author: Barry Warsaw <barry at python.org>
Date:   Tue Sep 15 19:14:14 2015 -0400

    d/python{,3}-future.postrm: Removed to fix lintian warnings.  This duplicates functionality in the .prerm anyway, which is where lintian recommends the calls should go.
---
 debian/changelog             |  3 +++
 debian/python-future.postrm  | 12 ------------
 debian/python3-future.postrm | 12 ------------
 3 files changed, 3 insertions(+), 24 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 730e530..3c40f80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ python-future (0.15.2-1) UNRELEASED; urgency=medium
   * d/copyright: Fix multiple lintian warnings.
   * d/watch: Use pypi.debian.net redirector.
   * d/gbp.conf: Removed.
+  * d/python{,3}-future.postrm: Removed to fix lintian warnings.  This
+    duplicates functionality in the .prerm anyway, which is where lintian
+    recommends the calls should go.
   * Converted to git-dpm as per DPMT (upcoming) standard.
 
  -- Barry Warsaw <barry at debian.org>  Tue, 15 Sep 2015 18:15:08 -0400
diff --git a/debian/python-future.postrm b/debian/python-future.postrm
deleted file mode 100644
index f79ad97..0000000
--- a/debian/python-future.postrm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
-	update-alternatives --remove futurize /usr/bin/python2-futurize
-	update-alternatives --remove pasteurize /usr/bin/python2-pasteurize
-fi
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/python3-future.postrm b/debian/python3-future.postrm
deleted file mode 100644
index 3c5883d..0000000
--- a/debian/python3-future.postrm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
-	update-alternatives --remove futurize /usr/bin/python3-futurize
-	update-alternatives --remove pasteurize /usr/bin/python3-pasteurize
-fi
-
-#DEBHELPER#
-
-exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-future.git



More information about the Python-modules-commits mailing list