debian: add packaging for python 3 (#41222)

This commit is contained in:
Benjamin Dauvergne 2020-04-02 12:36:45 +02:00
parent 62cd8c8057
commit a947ef04bf
2 changed files with 8 additions and 5 deletions

11
debian/control vendored
View File

@ -2,13 +2,16 @@ Source: python-ldaptools
Section: python
Priority: optional
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), debhelper (>= 7.4.3)
Standards-Version: 3.9.1
X-Python-Version: >= 2.7
Build-Depends: python3-setuptools, python3-all, python-setuptools, python-all, debhelper (>= 9)
Standards-Version: 3.9.6
Homepage: http://dev.entrouvert.org/projects/ldaptools/
Package: python-ldaptools
Architecture: all
Depends: ${python:Depends}
XB-Python-Version: ${python:Versions}
Description: helper library for python-ldap and openldap
Package: python3-ldaptools
Architecture: all
Depends: ${python3:Depends}
Description: helper library for python-ldap and openldap

2
debian/rules vendored
View File

@ -1,6 +1,6 @@
#!/usr/bin/make -f
%:
dh $@ --with python2
dh $@ --with python3,systemd --buildsystem=pybuild