Drop python2 support; Closes: #938073
[debian-pylibacl.git] / debian / rules
index 8cd7d33051b9a49c843d295a00fb13510cce4f97..a8be67f4fbac654f6c664ffcd94feed30d15a629 100755 (executable)
@@ -14,7 +14,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
 %:
-       dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+       dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 # Also build the documentation
 override_dh_auto_build:
@@ -27,11 +27,9 @@ override_dh_auto_clean:
        $(MAKE) clean
 
 override_dh_strip:
-       dh_strip -ppython-pylibacl --dbg-package=python-pylibacl-dbg
        dh_strip -ppython3-pylibacl --dbg-package=python3-pylibacl-dbg
 
 override_dh_installdocs:
-       dh_installdocs --link-doc=python-pylibacl -ppython-pylibacl-dbg
        dh_installdocs --link-doc=python3-pylibacl -ppython3-pylibacl-dbg
        dh_installdocs -A --remaining-packages README.rst