summaryrefslogtreecommitdiff
path: root/debian/control
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2019-08-30 15:54:31 +0100
committerSimon McVittie <smcv@debian.org>2019-08-31 11:19:32 +0100
commit88f69c41fd100138c9b47d7d07bb351fc3c26744 (patch)
tree77287a930f4a95d02c947c022908e3bf480a22ad /debian/control
parent91d4020069a86d9e3711f08b9b188adbe43a6bbd (diff)
Add a build-profile to disable Python 2 packages
We can't remove them yet (see the blocking bugs of #936371) but at least we can start to clear a path to doing so.
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control13
1 files changed, 9 insertions, 4 deletions
diff --git a/debian/control b/debian/control
index 83cea70..05b9906 100644
--- a/debian/control
+++ b/debian/control
@@ -14,13 +14,15 @@ Build-Depends:
dbus (>= 1.8),
debhelper (>= 11~),
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,
- python2-dev,
- python-gi,
- python-tap,
+ python2-dbg <!pkg.dbus-python.nopython2>,
+ python2-dev <!pkg.dbus-python.nopython2>,
+ python-gi <!pkg.dbus-python.nopython2>,
+ python-tap <!pkg.dbus-python.nopython2>,
python3-all-dbg,
python3-all-dev,
python3-gi,
@@ -38,6 +40,7 @@ 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:
@@ -69,6 +72,7 @@ Description: simple interprocess messaging system (Python interface)
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:
@@ -118,6 +122,7 @@ Description: Documentation for the D-Bus Python interface
python-dbus and python3-dbus packages.
Package: python-dbus-tests
+Build-Profiles: <!pkg.dbus-python.nopython2>
Section: python
Architecture: any
Depends: