Bug#938629: taurus: Python2 removal in sid/bullseye

Andreas Henriksson andreas at fatal.se
Fri Sep 6 22:34:57 BST 2019


Control: tags -1 + patch

Hello,

The python-taurus package seems to only have a single reverse
dependency, python-sardana, which is already RC-buggy, deprecated and
destined for removal. Thus there doesn't seem to be any blockers for
just dropping python-taurus and getting rid of the python2 dependency.

Debdiff attached.

Regards,
Andreas Henriksson
-------------- next part --------------
diff -Nru taurus-4.6.1+dfsg/debian/changelog taurus-4.6.1+dfsg/debian/changelog
--- taurus-4.6.1+dfsg/debian/changelog	2019-08-27 21:04:54.000000000 +0200
+++ taurus-4.6.1+dfsg/debian/changelog	2019-09-06 23:03:18.000000000 +0200
@@ -1,3 +1,10 @@
+taurus (4.6.1+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python-taurus because of python2 removal (Closes: #938629)
+
+ -- Andreas Henriksson <andreas at fatal.se>  Fri, 06 Sep 2019 23:03:18 +0200
+
 taurus (4.6.1+dfsg-1) unstable; urgency=medium
 
   [ Carlos Pascual ]
diff -Nru taurus-4.6.1+dfsg/debian/control taurus-4.6.1+dfsg/debian/control
--- taurus-4.6.1+dfsg/debian/control	2019-08-27 21:04:54.000000000 +0200
+++ taurus-4.6.1+dfsg/debian/control	2019-09-06 23:02:37.000000000 +0200
@@ -6,24 +6,6 @@
 Build-Depends: debhelper-compat (= 9),
                dh-python,
                graphviz,
-               python-all,
-               python-click,
-	       python-enum34,
-               python-future,
-               python-guiqwt,
-               python-h5py,
-               python-lxml,
-               python-numpy,
-	       python-pint,
-               python-ply,
-               python-pymca5,
-               python-pyqt5,
-               python-pyqt5.qtopengl,
-	       python-setuptools,
-               python-sphinx,
-	       python-sphinx-rtd-theme,
-               python-spyder,
-               python-tango,
                python3-all,
                python3-click,
                python3-future,
@@ -52,38 +34,6 @@
 Vcs-Git: https://salsa.debian.org/science-team/taurus.git
 Homepage: http://www.taurus-scada.org
 
-Package: python-taurus
-Architecture: all
-Section: python
-Depends: ${misc:Depends},
-         ${python:Depends},
-         python-click,
-         python-enum34,
-         python-future,
-         python-guiqwt,
-         python-h5py,
-         python-lxml,
-         python-numpy,
-         python-pint,
-         python-ply,
-         python-pyqt5,
-         python-pyqt5.qtopengl,
-         python-setuptools,
-         python-spyder,
-         python-tango
-Recommends: python-pymca5,
-            qttools5-dev-tools
-Suggests: python-taurus-doc
-Breaks: python-sardana (<< 1.4.0-1~)
-Provides: ${python:Provides}
-Description: Framework for scientific/industrial CLIs and GUIs - Python2
- Taurus is a Python framework for control and data acquisition CLIs
- and GUIs in scientific/industrial environments. It supports multiple
- control systems or data sources: Tango, EPICS, ...  New control
- system libraries can be integrated through plugins.
- .
- This is the Python 2 version of the package.
-
 Package: python3-taurus
 Architecture: all
 Section: python
@@ -104,7 +54,7 @@
          python3-tango
 Recommends: python3-pymca5,
             qttools5-dev-tools,
-            python
+            python3
 Suggests: python-taurus-doc
 Provides: ${python3:Provides}
 Description: Framework for scientific/industrial CLIs and GUIs - Python3
diff -Nru taurus-4.6.1+dfsg/debian/python-taurus.links taurus-4.6.1+dfsg/debian/python-taurus.links
--- taurus-4.6.1+dfsg/debian/python-taurus.links	2019-08-27 21:04:54.000000000 +0200
+++ taurus-4.6.1+dfsg/debian/python-taurus.links	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/share/python-taurus/scripts/taurus usr/bin/taurus-py2
diff -Nru taurus-4.6.1+dfsg/debian/rules taurus-4.6.1+dfsg/debian/rules
--- taurus-4.6.1+dfsg/debian/rules	2019-08-27 21:04:54.000000000 +0200
+++ taurus-4.6.1+dfsg/debian/rules	2019-09-06 23:03:18.000000000 +0200
@@ -1,12 +1,11 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=taurus
-export PYBUILD_AFTER_INSTALL=dh_numpy
+export PYBUILD_AFTER_INSTALL=dh_numpy3
 export PYBUILD_DISABLE=test
-export PYBUILD_INSTALL_ARGS_python2=--install-scripts=/usr/share/python-taurus/scripts/
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))


More information about the debian-science-maintainers mailing list