Package: gedit-plugins Version: 3.18.0-1 Severity: important Tags: patch Currently, gedit-plugins gets python3 interpreter depends like this (when built with python3.4 as default python3):
python3 (<< 3.5), python3 (>= 3.4~), python3.4 As a result, gedit-plugins became uninstallable once the default was updated to python3.5. While a binNMU corrected this, it's entirely unnecessary. I looked and there's no compiled python extensions in the plugins, it's all arch all python that does not need rebuilding when the version changes. Ths problem is that because dh_python3 was being called for all plugins, some of which are compiled, dh_python treated them as python3 extensions for dependency calculation. Please see the attached patch that addresses this issue. With it the python3 interpreter depend is: python3:any (>= 3.3.2-2~) No more trouble during transitions, the package is always installable. This fixes the exact problem that led to #810866 being filed. Scott K
diff -Nru gedit-plugins-3.18.0/debian/changelog gedit-plugins-3.18.0/debian/changelog --- gedit-plugins-3.18.0/debian/changelog 2015-09-27 04:17:15.000000000 -0400 +++ gedit-plugins-3.18.0/debian/changelog 2016-01-15 08:21:48.000000000 -0500 @@ -1,3 +1,11 @@ +gedit-plugins (3.18.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax excessively tight python interpreter depends for gedit-plugins + - Only run dh_python3 for plugins with actual python content + + -- Scott Kitterman <sc...@kitterman.com> Fri, 15 Jan 2016 08:14:53 -0500 + gedit-plugins (3.18.0-1) unstable; urgency=medium * New upstream release. (Closes: #800053) diff -Nru gedit-plugins-3.18.0/debian/rules gedit-plugins-3.18.0/debian/rules --- gedit-plugins-3.18.0/debian/rules 2015-09-27 04:13:33.000000000 -0400 +++ gedit-plugins-3.18.0/debian/rules 2016-01-15 08:36:17.000000000 -0500 @@ -24,6 +24,22 @@ binary-install/gedit-plugins:: find debian/$(cdbs_curpkg) -name '*.la' -delete - dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) --no-ext-rename /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins - dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) --no-ext-rename /usr/share/gedit/plugins + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/colorpicker.py + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/terminal.py + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/git/ + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/codecomment.py + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/colorschemer/ + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/charmap/ + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/dashboard/ + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/multiedit/ + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/bracketcompletion.py + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/commander/ + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/synctex/ + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/joinlines.py + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/gpdefs.py + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/textsize + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/smartspaces.py + rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/*.pyc + rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins/*.pyo + dh_python3 --shebang=/usr/bin/python3 -p$(cdbs_curpkg) /usr/share/gedit/plugins