[Python-modules-commits] [django-auth-ldap] 17/20: Add Python3 support through a separate binary package.

Michael Fladischer fladi at moszumanska.debian.org
Sun Mar 19 08:08:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository django-auth-ldap.

commit ba1454ccbf0f80e1c8cf1e5406a12fdc9b52b349
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Sun Mar 19 08:57:13 2017 +0100

    Add Python3 support through a separate binary package.
---
 debian/changelog |  1 +
 debian/control   | 26 ++++++++++++++++++++++++--
 debian/rules     |  2 +-
 3 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 54961ac..b03f73d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ django-auth-ldap (1.2.10+dfsg-1~exp1) UNRELEASED; urgency=low
     picked up automatically instead.
   * Remove version constraint from python-django in Depends, no longer
     necessary.
+  * Add Python3 support through a separate binary package.
 
  -- Michael Fladischer <fladi at debian.org>  Fri, 17 Mar 2017 20:25:01 +0100
 
diff --git a/debian/control b/debian/control
index c324c50..18ca67a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,9 +12,15 @@ Build-Depends: debhelper (>= 9),
                python-pyldap,
                python-mockldap (>= 0.2.7~),
                python-setuptools,
-               python-sphinx
+               python-sphinx,
+               python3-all,
+               python3-django,
+               python3-pyldap,
+               python3-mockldap (>= 0.2.7~),
+               python3-setuptools
 Standards-Version: 3.9.8
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
 Homepage: https://pypi.python.org/pypi/django-auth-ldap/
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-auth-ldap.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-auth-ldap.git
@@ -25,11 +31,27 @@ Depends: python-django,
          ${misc:Depends},
          ${python:Depends}
 Suggests: python-django-auth-ldap-doc
-Description: Django LDAP authentication backend
+Description: Django LDAP authentication backend (Python2 version)
  Django authentication backend that authenticates against an LDAP
  service. Configuration can be as simple as a single distinguished
  name template, but there are many rich configuration options for
  working with users, groups, and permissions.
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-django-auth-ldap
+Architecture: all
+Depends: python3-django,
+         ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-django-auth-ldap-doc
+Description: Django LDAP authentication backend (Python3 version)
+ Django authentication backend that authenticates against an LDAP
+ service. Configuration can be as simple as a single distinguished
+ name template, but there are many rich configuration options for
+ working with users, groups, and permissions.
+ .
+ This package contains the Python 3 version of the library.
 
 Package: python-django-auth-ldap-doc
 Section: doc
diff --git a/debian/rules b/debian/rules
index 7e80e61..341ebdc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
 export PYBUILD_NAME=django-auth-ldap
 
 %:
-	dh $@ --with=python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with=python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-auth-ldap.git



More information about the Python-modules-commits mailing list