summaryrefslogtreecommitdiff
path: root/debian/control
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2020-07-16 17:23:38 +0100
committerSimon McVittie <smcv@debian.org>2020-07-16 17:34:46 +0100
commit9b213a1bc537f1c94e694d42cd74a355a262fbf1 (patch)
tree19c8bd17f514a48e1eefe1d79df0f9d9e75c62a0 /debian/control
parent4c8daaa5c658037ed6d533ccc6fb6cf578766e93 (diff)
Build without Python 2 support
Closes: #936371, #942941
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control77
1 files changed, 8 insertions, 69 deletions
diff --git a/debian/control b/debian/control
index d7f33c0..d83f82e 100644
--- a/debian/control
+++ b/debian/control
@@ -14,13 +14,10 @@ Build-Depends:
dbus (>= 1.8),
debhelper-compat (= 12),
dh-python,
- dh-sequence-python2 <!pkg.dbus-python.nopython2>,
dh-sequence-python3,
dpkg-dev (>= 1.16.1),
libdbus-1-dev (>= 1.8),
libglib2.0-dev (>= 2.40),
- python2-dbg <!pkg.dbus-python.nopython2>,
- python2-dev <!pkg.dbus-python.nopython2>,
python3-all-dbg,
python3-all-dev,
python3-gi,
@@ -36,60 +33,23 @@ Vcs-Git: https://salsa.debian.org/debian/dbus-python.git
Vcs-Browser: https://salsa.debian.org/debian/dbus-python
Testsuite: autopkgtest-pkg-python
-Package: python-dbus
-Build-Profiles: <!pkg.dbus-python.nopython2>
-Section: python
-Architecture: any
-Depends:
- ${misc:Depends},
- ${python:Depends},
- ${shlibs:Depends},
-Recommends:
- python-gi,
-Suggests:
- python-dbus-dbg,
- python-dbus-doc,
-Provides:
- ${python:Provides},
-Description: simple interprocess messaging system (Python interface)
- D-Bus is a message bus, used for sending messages between applications.
- Conceptually, it fits somewhere in between raw sockets and CORBA in
- terms of complexity.
- .
- This package provides a Python interface to D-Bus.
- .
- See the dbus description for more information about D-Bus in general.
-
-Package: python-dbus-dbg
-Build-Profiles: <!pkg.dbus-python.nopython2>
-Section: debug
-Architecture: any
-Depends:
- python-dbus (= ${binary:Version}),
- python2-dbg,
- ${misc:Depends},
- ${python:Depends},
- ${shlibs:Depends},
-Description: debug build of the D-Bus Python 2 interface
- This package provides a version of the python-dbus package built for
- debugging versions of Python 2, and debug symbols for python-dbus.
-
Package: python-dbus-dev
Section: python
Architecture: all
Depends:
libdbus-1-dev (>= 1.6),
${misc:Depends},
-Description: main loop integration development files for python-dbus
+Description: main loop integration development files for python3-dbus
D-Bus is a message bus, used for sending messages between applications.
Conceptually, it fits somewhere in between raw sockets and CORBA in
terms of complexity.
.
This package provides development files required to compile main-loop
- integration modules for python-dbus, such as dbus.mainloop.pyqt5 provided
- by PyQt. It is Python-version-independent: packages that build-depend
- on python-dbus-dev should also build-depend on python-dbus,
- python3-dbus, python-dbus-dbg and/or python3-dbus-dbg.
+ integration modules for python3-dbus, such as dbus.mainloop.pyqt5 provided
+ by PyQt. It is Python-version-independent, and was shared between Python 3
+ and Python 2 when Python 2 was supported in Debian, so packages that
+ build-depend on python-dbus-dev should also build-depend on python3-dbus
+ and/or python3-dbus-dbg.
Package: python-dbus-doc
Section: doc
@@ -100,31 +60,10 @@ Depends:
${misc:Depends},
${sphinxdoc:Depends},
Suggests:
- python-dbus | python3-dbus,
+ python3-dbus,
Description: Documentation for the D-Bus Python interface
This package provides text and HTML documentation, and examples, for the
- python-dbus and python3-dbus packages.
-
-Package: python-dbus-tests
-Build-Profiles: <!pkg.dbus-python.nopython2>
-Section: python
-Architecture: any
-Depends:
- dbus,
- python-dbus,
- ${misc:Depends},
- ${python:Depends},
- ${shlibs:Depends},
-Recommends:
- gnome-desktop-testing,
- python-gi,
-Description: simple interprocess messaging system (Python interface - tests)
- D-Bus is a message bus, used for sending messages between applications.
- .
- This package contains automated tests for the "dbus" Python bindings for
- the reference D-Bus implementation, to be run under Python 2.
- .
- See the dbus description for more information about D-Bus in general.
+ python3-dbus package.
Package: python3-dbus
Section: python