debian: add packaging for python 3 (#41222)
This commit is contained in:
parent
62cd8c8057
commit
248924132c
|
@ -1 +1 @@
|
|||
7
|
||||
9
|
||||
|
|
|
@ -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), dh-python
|
||||
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}
|
||||
Depends: ${misc:Depends}, ${python:Depends}, python-ldap, python-six
|
||||
Description: helper library for python-ldap and openldap
|
||||
|
||||
Package: python3-ldaptools
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python3:Depends}, python3-ldap, python-six
|
||||
Description: helper library for python-ldap and openldap
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_DISABLE=test
|
||||
export PYBUILD_NAME=ldaptools
|
||||
|
||||
%:
|
||||
dh $@ --with python2
|
||||
dh $@ --with python2,python3 --buildsystem=pybuild
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue