[Python-modules-commits] [django-auth-ldap] 01/08: Import django-auth-ldap_1.2.11+dfsg.orig.tar.gz

Michael Fladischer fladi at moszumanska.debian.org
Fri May 12 13:37:43 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 e944abf68173525807ce321f7d446b6d306cab92
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Fri May 12 15:01:43 2017 +0200

    Import django-auth-ldap_1.2.11+dfsg.orig.tar.gz
---
 CHANGES                            |   8 +++
 PKG-INFO                           |  13 ++++-
 README                             |   2 +-
 django_auth_ldap.egg-info/PKG-INFO |  13 ++++-
 django_auth_ldap/__init__.py       |   2 +-
 django_auth_ldap/config.py         |   6 +++
 docs/source/conf.py                |   2 +-
 setup.py                           |  11 +++-
 test/urls.py                       |   5 +-
 tox.ini                            | 100 +++++++++++++------------------------
 10 files changed, 87 insertions(+), 75 deletions(-)

diff --git a/CHANGES b/CHANGES
index 721c122..fe813c1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,11 @@
+v1.2.11 - 2017-04-22 - Testing and debugging cleanup
+----------------------------------------------------
+
+- Some more descriptive object representations.
+
+- Improved tox.ini organization.
+
+
 v1.2.9 - 2017-02-14 - Fix python-ldap incompatibility
 -----------------------------------------------------
 
diff --git a/PKG-INFO b/PKG-INFO
index 6643b4f..9d03581 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-auth-ldap
-Version: 1.2.10
+Version: 1.2.11
 Summary: Django LDAP authentication backend
 Home-page: http://bitbucket.org/psagers/django-auth-ldap/
 Author: Peter Sagerson
@@ -11,7 +11,7 @@ Description: This is a Django authentication backend that authenticates against
         but there are many rich configuration options for working with users, groups,
         and permissions.
         
-        This version is supported on Python 2.6, 2.7, 3.3, and 3.4; and Django >= 1.3.
+        This version is supported on Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6; and Django >= 1.3.
         Under Python 2, it requires `python-ldap
         <https://pypi.python.org/pypi/python-ldap>`_ >= 2.0; under Python 3, it uses
         `pyldap <https://pypi.python.org/pypi/pyldap>`_.
@@ -84,7 +84,16 @@ Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Framework :: Django
+Classifier: Framework :: Django :: 1.4
+Classifier: Framework :: Django :: 1.5
+Classifier: Framework :: Django :: 1.6
+Classifier: Framework :: Django :: 1.7
+Classifier: Framework :: Django :: 1.8
+Classifier: Framework :: Django :: 1.9
+Classifier: Framework :: Django :: 1.10
+Classifier: Framework :: Django :: 1.11
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: System Administrators
 Classifier: License :: OSI Approved :: BSD License
diff --git a/README b/README
index 4fe162f..8bd1948 100644
--- a/README
+++ b/README
@@ -3,7 +3,7 @@ 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 version is supported on Python 2.6, 2.7, 3.3, and 3.4; and Django >= 1.3.
+This version is supported on Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6; and Django >= 1.3.
 Under Python 2, it requires `python-ldap
 <https://pypi.python.org/pypi/python-ldap>`_ >= 2.0; under Python 3, it uses
 `pyldap <https://pypi.python.org/pypi/pyldap>`_.
diff --git a/django_auth_ldap.egg-info/PKG-INFO b/django_auth_ldap.egg-info/PKG-INFO
index 6643b4f..9d03581 100644
--- a/django_auth_ldap.egg-info/PKG-INFO
+++ b/django_auth_ldap.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-auth-ldap
-Version: 1.2.10
+Version: 1.2.11
 Summary: Django LDAP authentication backend
 Home-page: http://bitbucket.org/psagers/django-auth-ldap/
 Author: Peter Sagerson
@@ -11,7 +11,7 @@ Description: This is a Django authentication backend that authenticates against
         but there are many rich configuration options for working with users, groups,
         and permissions.
         
-        This version is supported on Python 2.6, 2.7, 3.3, and 3.4; and Django >= 1.3.
+        This version is supported on Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6; and Django >= 1.3.
         Under Python 2, it requires `python-ldap
         <https://pypi.python.org/pypi/python-ldap>`_ >= 2.0; under Python 3, it uses
         `pyldap <https://pypi.python.org/pypi/pyldap>`_.
@@ -84,7 +84,16 @@ Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Framework :: Django
+Classifier: Framework :: Django :: 1.4
+Classifier: Framework :: Django :: 1.5
+Classifier: Framework :: Django :: 1.6
+Classifier: Framework :: Django :: 1.7
+Classifier: Framework :: Django :: 1.8
+Classifier: Framework :: Django :: 1.9
+Classifier: Framework :: Django :: 1.10
+Classifier: Framework :: Django :: 1.11
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: System Administrators
 Classifier: License :: OSI Approved :: BSD License
diff --git a/django_auth_ldap/__init__.py b/django_auth_ldap/__init__.py
index 4d81c7f..a158771 100644
--- a/django_auth_ldap/__init__.py
+++ b/django_auth_ldap/__init__.py
@@ -1,2 +1,2 @@
-version = (1, 2, 10)
+version = (1, 2, 11)
 version_string = '.'.join(map(str, version))
diff --git a/django_auth_ldap/config.py b/django_auth_ldap/config.py
index 7702714..b57f052 100644
--- a/django_auth_ldap/config.py
+++ b/django_auth_ldap/config.py
@@ -116,6 +116,9 @@ class LDAPSearch(object):
         self.attrlist = attrlist
         self.ldap = _LDAPConfig.get_ldap()
 
+    def __repr__(self):
+        return "<{}: {}>".format(self.__class__.__name__, self.base_dn)
+
     def search_with_additional_terms(self, term_dict, escape=True):
         """
         Returns a new search object with additional search terms and-ed to the
@@ -455,6 +458,9 @@ class MemberDNGroupType(LDAPGroupType):
 
         super(MemberDNGroupType, self).__init__(name_attr)
 
+    def __repr__(self):
+        return "<{}: {}>".format(self.__class__.__name__, self.member_attr)
+
     def user_groups(self, ldap_user, group_search):
         search = group_search.search_with_additional_terms({self.member_attr: ldap_user.dn})
         groups = search.execute(ldap_user.connection)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index cfc6f62..a4aad5d 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -59,7 +59,7 @@ copyright = u'2009, Peter Sagerson'
 # The short X.Y version.
 version = '1.1'
 # The full version, including alpha/beta/rc tags.
-release = '1.2.10'
+release = '1.2.11'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/setup.py b/setup.py
index 732b9f7..7ce54de 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ PY3 = (sys.version_info[0] == 3)
 
 setup(
     name="django-auth-ldap",
-    version="1.2.10",
+    version="1.2.11",
     description="Django LDAP authentication backend",
     long_description=open('README').read(),
     url="http://bitbucket.org/psagers/django-auth-ldap/",
@@ -29,7 +29,16 @@ setup(
         "Programming Language :: Python :: 3.3",
         "Programming Language :: Python :: 3.4",
         "Programming Language :: Python :: 3.5",
+        "Programming Language :: Python :: 3.6",
         "Framework :: Django",
+        "Framework :: Django :: 1.4",
+        "Framework :: Django :: 1.5",
+        "Framework :: Django :: 1.6",
+        "Framework :: Django :: 1.7",
+        "Framework :: Django :: 1.8",
+        "Framework :: Django :: 1.9",
+        "Framework :: Django :: 1.10",
+        "Framework :: Django :: 1.11",
         "Intended Audience :: Developers",
         "Intended Audience :: System Administrators",
         "License :: OSI Approved :: BSD License",
diff --git a/test/urls.py b/test/urls.py
index 3c299bd..e467fd7 100644
--- a/test/urls.py
+++ b/test/urls.py
@@ -1,4 +1,7 @@
-from django.conf.defaults import patterns
+try:
+    from django.conf.defaults import patterns
+except ImportError:
+    patterns = list
 
 
 urlpatterns = patterns('')
diff --git a/tox.ini b/tox.ini
index 79d2f7d..5c97066 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,74 +6,42 @@ max-line-length = 120
 
 
 [tox]
-envlist = py26-django13,
-          py26-django14,
-          py27-django15,
-          py27-django16,
-          py27-django17,
-          py27-django18,
-          py33-django16,
-          py34-django17,
-          py34-django18,
-          py35-django18,
-          py35-django19,
+envlist = py36-static,
+          py26-django{13,14,15},
+          py27-django15
+          py{27,33}-django{15,16},
+          py{27,33,34}-django17
+          py{27,34,35}-django{18,19,110,111},
+          py36-django111,
+
 
 [testenv]
 changedir = test
 commands = {envpython} manage.py test django_auth_ldap
 deps = mockldap>=0.2.7
-
-[testenv:py26-django13]
-basepython = python2.6
-deps = {[testenv]deps}
-       django<1.4
-
-[testenv:py26-django14]
-basepython = python2.6
-deps = {[testenv]deps}
-       django<1.5
-
-[testenv:py27-django15]
-basepython = python2.7
-deps = {[testenv]deps}
-       django<1.6
-
-[testenv:py27-django16]
-basepython = python2.7
-deps = {[testenv]deps}
-       django<1.7
-
-[testenv:py27-django17]
-basepython = python2.7
-deps = {[testenv]deps}
-       django<1.8
-
-[testenv:py27-django18]
-basepython = python2.7
-deps = {[testenv]deps}
-       django<1.9
-
-[testenv:py33-django16]
-basepython = python3.3
-deps = {[testenv]deps}
-       django<1.7
-
-[testenv:py34-django17]
-basepython = python3.4
-deps = {[testenv]deps}
-       django<1.8
-
-[testenv:py34-django18]
-basepython = python3.4
-deps = {[testenv]deps}
-       django<1.9
-
-[testenv:py35-django18]
-basepython = python3.5
-deps = {[testenv]deps}
-       django<1.9
-
-[testenv:py35-django19]
-basepython = python3.5
-deps = {[testenv]deps}
-       django>=1.9a1,<1.10
+       django13: Django>=1.3,<1.4
+       django14: Django>=1.4,<1.5
+       django15: Django>=1.5,<1.6
+       django16: Django>=1.6,<1.7
+       django17: Django>=1.7,<1.8
+       django18: Django>=1.8,<1.9
+       django19: Django>=1.9,<1.10
+       django110: Django>=1.10,<1.11
+       django111: Django>=1.11,<2.0
+
+basepython =
+    py26: python2.6
+    py27: python2.7
+    py33: python3.3
+    py34: python3.4
+    py35: python3.5
+    py36: python3.6
+
+
+[testenv:py36-static]
+changedir =
+deps = pycodestyle==2.3.1
+       frosted==1.4.1
+commands =
+    {envbindir}/pycodestyle django_auth_ldap
+    {envbindir}/frosted -r django_auth_ldap

-- 
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