debian/: Use `dh_python2' for packaging.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 16 Aug 2017 04:03:58 +0000 (05:03 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 24 Dec 2018 15:50:54 +0000 (15:50 +0000)
debian/control
debian/rules

index 5952862..9aaa629 100644 (file)
@@ -3,12 +3,12 @@ Section: net
 Priority: extra
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
 XS-Python-Version: >= 2.4
-Build-Depends: debhelper (>= 9), pkg-config, curl, rsync, python-central,
+Build-Depends: debhelper (>= 9), pkg-config, curl, rsync,
        tshark, wireshark-dev (>= 1.12.1),
+       python (>= 2.6.6-3~),
        mlib-dev (>= 2.2.2),
        catacomb-dev (>= 2.4.0), catacomb-bin (>= 2.1.4)
-Build-Depends-Indep: python,
-       python-cdb, python-gtk2,
+Build-Depends-Indep: python-cdb, python-gtk2,
        python-mlib (>= 1.0.2), python-catacomb (>= 1.2.0)
 Standards-Version: 3.1.1
 
index 01625b2..6507ea2 100755 (executable)
@@ -50,9 +50,9 @@ dh-clean-hook::
 ### Other things.
 
 ## Python stuff.
-DH_OPTIONS             += --with=python-central
-OVERRIDES              += pycentral
-dh_pycentral_OPTS      += -ppython-tripe
+DH_OPTIONS             += --with=python2
+OVERRIDES              += python2
+dh_python2_OPTS                += -ppython-tripe
 
 ## The peer database.
 OVERRIDES              += install