[diffoscope] 01/01: Drop dependency on python3-distutils, not present in stretch as it's part of the core python distribution

Mattia Rizzolo mattia at debian.org
Tue May 15 10:09:32 CEST 2018


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

mattia pushed a commit to annotated tag 94_bpo9+2
in repository diffoscope.

commit cee4987649966de05bbd8c0e617fdcce7ff12efc
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue May 15 10:00:42 2018 +0200

    Drop dependency on python3-distutils, not present in stretch as it's part of the core python distribution
    
    Closes: #898683
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/changelog | 7 +++++++
 debian/control   | 1 -
 debian/rules     | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 874b9d3..9de5692 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+diffoscope (94~bpo9+2) stretch-backports; urgency=medium
+
+  * Drop dependency on python3-distutils, not present in stretch as it's part
+    of the core python distribution.  Closes: #898683
+
+ -- Mattia Rizzolo <mattia at debian.org>  Tue, 15 May 2018 10:00:03 +0200
+
 diffoscope (94~bpo9+1) stretch-backports; urgency=medium
 
   * Rebuild for stretch-backports.
diff --git a/debian/control b/debian/control
index 2fe3d21..4586902 100644
--- a/debian/control
+++ b/debian/control
@@ -89,7 +89,6 @@ Breaks:
 Replaces:
  debbindiff (<< 29),
 Depends:
- python3-distutils,
  python3-pkg-resources,
  ${misc:Depends},
  ${python3:Depends},
diff --git a/debian/rules b/debian/rules
index 467cf2c..91d700d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ PY_VERSION := $(shell awk '/^VERSION = / {gsub(/"/, "", $$3); print $$3}' diffos
 ifneq ($(DEB_VERSION),$(PY_VERSION))
  ifneq ($(DEB_DISTRIBUTION),UNRELEASED)
   ifneq (,$(filter %-backports,$(DEB_DISTRIBUTION)))
-    ifeq ($(DEB_VERSION:~bpo9+1=),$(PY_VERSION))
+    ifeq ($(DEB_VERSION:~bpo9+2=),$(PY_VERSION))
      $(info Building a Debian backport, accepting version mismatch $(PY_VERSION) <-> $(DEB_VERSION))
     else
      $(error Version in debian/changelog does not match diffoscope version or backport policy)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the rb-commits mailing list