[Python-modules-commits] [django-auth-ldap] 06/08: merge patched into master
Michael Fladischer
fladi at moszumanska.debian.org
Fri May 12 13:37:44 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 82ecf9eb7c1331e596fb6d4a1c7255bca3f30952
Merge: 2aba756 4969741
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Fri May 12 15:02:16 2017 +0200
merge patched into master
CHANGES | 8 ++
PKG-INFO | 13 ++-
README | 2 +-
debian/.git-dpm | 6 +-
...3-Use-pyldap-for-both-Python2-and-Python3.patch | 8 +-
debian/patches/docs-do_not_install_archive.patch | 4 +-
.../docs-use_local_intersphinx_mapping.patch | 4 +-
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 +++++++--------------
14 files changed, 98 insertions(+), 86 deletions(-)
diff --cc debian/.git-dpm
index 9313115,0000000..306217a
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
+# see git-dpm(1) from git-dpm package
- 19e6f4f1a8014ada6b079683e2f997506a52c6b9
- 19e6f4f1a8014ada6b079683e2f997506a52c6b9
- 041fe276d3d9753ff0a455423ca517459335477e
++4969741b48239ef38e47c0bc07b0dd4b42920f70
++4969741b48239ef38e47c0bc07b0dd4b42920f70
++e944abf68173525807ce321f7d446b6d306cab92
+e944abf68173525807ce321f7d446b6d306cab92
+django-auth-ldap_1.2.11+dfsg.orig.tar.gz
+1f89d7a2e85856b69f5f7ffe9edadfe4ba893fe5
+102456
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --cc debian/patches/0003-Use-pyldap-for-both-Python2-and-Python3.patch
index d7bed8c,0000000..c7a3c52
mode 100644,000000..100644
--- a/debian/patches/0003-Use-pyldap-for-both-Python2-and-Python3.patch
+++ b/debian/patches/0003-Use-pyldap-for-both-Python2-and-Python3.patch
@@@ -1,32 -1,0 +1,32 @@@
- From 19e6f4f1a8014ada6b079683e2f997506a52c6b9 Mon Sep 17 00:00:00 2001
++From 4969741b48239ef38e47c0bc07b0dd4b42920f70 Mon Sep 17 00:00:00 2001
+From: Michael Fladischer <FladischerMichael at fladi.at>
+Date: Fri, 17 Mar 2017 20:24:08 +0100
+Subject: Use pyldap for both Python2 and Python3.
+
+---
+ setup.py | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/setup.py b/setup.py
- index 732b9f7..8575f63 100644
++index 7ce54de..362fad8 100644
+--- a/setup.py
++++ b/setup.py
+@@ -5,9 +5,6 @@ import sys
+ from setuptools import setup
+
+
+-PY3 = (sys.version_info[0] == 3)
+-
+-
+ setup(
+ name="django-auth-ldap",
- version="1.2.10",
- @@ -40,7 +37,7 @@ setup(
++ version="1.2.11",
++@@ -49,7 +46,7 @@ setup(
+ keywords=["django", "ldap", "authentication", "auth"],
+ install_requires=[
+ "django",
+- "pyldap" if PY3 else "python-ldap >= 2.0",
++ "pyldap",
+ ],
+ setup_requires=[
+ "setuptools >= 0.6c11",
diff --cc debian/patches/docs-do_not_install_archive.patch
index 66611f5,0000000..14bd809
mode 100644,000000..100644
--- a/debian/patches/docs-do_not_install_archive.patch
+++ b/debian/patches/docs-do_not_install_archive.patch
@@@ -1,29 -1,0 +1,29 @@@
- From 7a9e01fa1cec966bacc8d343c7442b5d7438c62c Mon Sep 17 00:00:00 2001
++From 7ba29999f50cdfb164ff8f2bff3bc00b54723a91 Mon Sep 17 00:00:00 2001
+From: Michael Fladischer <fladi at debian.org>
+Date: Thu, 8 Oct 2015 08:49:53 -0700
+Subject: Do not include a static copy of "archive"
+
+ Upstream configured sphinx to do a static copy of the "archive" directory,
+ which is useless in the contet of the Debian package as it only contains
+ outdated versions of the documentation.
+Last-Update: 2013-11-26
+Forwarded: not-needed
+
+Patch-Name: docs-do_not_install_archive.patch
+---
+ docs/source/conf.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/docs/source/conf.py b/docs/source/conf.py
- index cfc6f62..7a84377 100644
++index a4aad5d..022233b 100644
+--- a/docs/source/conf.py
++++ b/docs/source/conf.py
+@@ -134,7 +134,7 @@ html_theme_options = {
+ # Add any paths that contain custom static files (such as style sheets) here,
+ # relative to this directory. They are copied after the builtin static files,
+ # so a file named "default.css" will overwrite the builtin "default.css".
+-html_static_path = ['../archive']
++#html_static_path = ['../archive']
+
+ # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+ # using the given strftime format.
diff --cc debian/patches/docs-use_local_intersphinx_mapping.patch
index 4ba2bb5,0000000..29ad9ec
mode 100644,000000..100644
--- a/debian/patches/docs-use_local_intersphinx_mapping.patch
+++ b/debian/patches/docs-use_local_intersphinx_mapping.patch
@@@ -1,50 -1,0 +1,50 @@@
- From 5437a45614c0b188c091afa0ee62e070ee3f1636 Mon Sep 17 00:00:00 2001
++From 94b772a294474acdb1d113ddc8d62645962909c5 Mon Sep 17 00:00:00 2001
+From: Michael Fladischer <fladi at debian.org>
+Date: Thu, 8 Oct 2015 08:49:54 -0700
+Subject: use local objects.inv where possible
+
+ Upstream uses intersphinx mappings that fetch the objects.inv for python and
+ python-django by HTTP from a remote host. Using the local objects.inv from
+ python and kombu enables the package to build without network connection.
+Last-Update: 2013-11-26
+Forwarded: not-needed
+
+Patch-Name: docs-use_local_intersphinx_mapping.patch
+---
+ docs/source/conf.py | 23 +++++++++++++++++------
+ 1 file changed, 17 insertions(+), 6 deletions(-)
+
+diff --git a/docs/source/conf.py b/docs/source/conf.py
- index 7a84377..29455ba 100644
++index 022233b..3e9c8db 100644
+--- a/docs/source/conf.py
++++ b/docs/source/conf.py
+@@ -29,12 +29,23 @@ extensions = [
+ 'daldocs',
+ ]
+
+-intersphinx_mapping = {
+- 'python': ('http://docs.python.org/', None),
+- 'django': ('https://docs.djangoproject.com/en/dev/',
+- 'https://docs.djangoproject.com/en/dev/_objects/'),
+- 'pythonldap': ('http://python-ldap.org/doc/html/', None),
+-}
++def check_object_path(key, url, path):
++ if os.path.isfile(path):
++ return {key: (url, path)}
++ return {}
++
++intersphinx_mapping = {}
++intersphinx_mapping.update(check_object_path('python',
++ 'http://docs.python.org/',
++ '/usr/share/doc/python'
++ + '.'.join([str(x) for x in sys.version_info[0:2]])
++ + '/html/objects.inv'))
++intersphinx_mapping.update(check_object_path('django',
++ 'https://docs.djangoproject.com/en/dev/',
++ '/usr/share/doc/python-django-doc/html/objects.inv'))
++intersphinx_mapping.update(check_object_path('pythonldap',
++ 'http://python-ldap.org/doc/html/',
++ ''))
+
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['../_templates']
--
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