Package: src:cinnamon-screensaver
Version: 3.2.13-4
Severity: important
Tags: patch

cinnamon-screensaver build-depends on python3 dev packages even though it has
no arch:any Python3 content.  This is not needed and complicates transition
trackinig for us, the python maintainers, (which is why I'm filing this as
important) [1].  As you can see, the package shows up as affected by the
transition when, in fact, it isn't.

Please see the attached patch.  I have verified that all the needed python
related dependencies are still present.  I have written the debian/
changelog in the NMU form, but have no immediate intent to NMU.  If you
would rather I do so, please let me know and I will.  Otherwise, I'll
leave it to you.

Scott K


[1] https://release.debian.org/transitions/html/python3.6.html
diff -Nru cinnamon-screensaver-3.2.13/debian/changelog cinnamon-screensaver-3.2.13/debian/changelog
--- cinnamon-screensaver-3.2.13/debian/changelog	2017-05-20 06:55:14.000000000 -0400
+++ cinnamon-screensaver-3.2.13/debian/changelog	2017-06-29 12:11:59.000000000 -0400
@@ -1,3 +1,10 @@
+cinnamon-screensaver (3.2.13-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix Python3 related depends/build-depends to match Python policy
+
+ -- Scott Kitterman <[email protected]>  Thu, 29 Jun 2017 12:11:21 -0400
+
 cinnamon-screensaver (3.2.13-4) unstable; urgency=medium
 
   * Cherry pick: "mediaPlayerWatcher.py: catch SyntaxError exception when
diff -Nru cinnamon-screensaver-3.2.13/debian/control cinnamon-screensaver-3.2.13/debian/control
--- cinnamon-screensaver-3.2.13/debian/control	2017-05-20 06:55:14.000000000 -0400
+++ cinnamon-screensaver-3.2.13/debian/control	2017-06-29 12:14:24.000000000 -0400
@@ -22,9 +22,8 @@
  libpam0g-dev,
  librsvg2-bin,
  libxext-dev,
- python,
  python-rsvg,
- python3:any | python3-all:any | python3-dev:any | python3-all-dev:any,
+ python3,
 Standards-Version: 3.9.8
 Homepage: http://cinnamon.linuxmint.com/
 Vcs-Browser: https://anonscm.debian.org/git/pkg-cinnamon/cinnamon-screensaver.git
@@ -50,7 +49,6 @@
  python3-xlib,
  ${misc:Depends},
  ${python3:Depends},
- ${python:Depends},
  ${shlibs:Depends},
 Recommends: cinnamon-screensaver-x-plugin
 Suggests: cinnamon-screensaver-webkit-plugin
@@ -63,11 +61,9 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends:
  cinnamon-screensaver (>= 3.1.0),
- python3,
  xscreensaver-data,
  ${misc:Depends},
  ${python3:Depends},
- ${python:Depends},
 Recommends: xscreensaver-data-extra, xscreensaver-gl, xscreensaver-gl-extra
 Description: XScreensaver plugin for cinnamon-screensaver
  cinnamon-screensaver is a screen saver and locker that aims to have simple,
@@ -81,7 +77,6 @@
 Depends:
  cinnamon-screensaver (>= 3.1.0),
  gir1.2-webkit2-4.0 | gir1.2-webkit2-3.0,
- python3,
  ${misc:Depends},
  ${python3:Depends},
  ${python:Depends},
diff -Nru cinnamon-screensaver-3.2.13/debian/rules cinnamon-screensaver-3.2.13/debian/rules
--- cinnamon-screensaver-3.2.13/debian/rules	2017-05-20 06:55:14.000000000 -0400
+++ cinnamon-screensaver-3.2.13/debian/rules	2017-06-29 12:15:13.000000000 -0400
@@ -4,7 +4,7 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-	dh $@ --parallel --with=autoreconf,python2,python3,gir
+	dh $@ --parallel --with=autoreconf,python3,gir
 
 override_dh_autoreconf:
 	NOCONFIGURE=1 dh_autoreconf --as-needed ./autogen.sh

Reply via email to