summaryrefslogtreecommitdiff
path: root/dev-python/django-auth-ldap
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/django-auth-ldap')
-rw-r--r--dev-python/django-auth-ldap/Manifest8
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild43
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild41
-rw-r--r--dev-python/django-auth-ldap/files/docs.patch18
-rw-r--r--dev-python/django-auth-ldap/metadata.xml12
5 files changed, 122 insertions, 0 deletions
diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest
new file mode 100644
index 000000000000..5407de2ccb9a
--- /dev/null
+++ b/dev-python/django-auth-ldap/Manifest
@@ -0,0 +1,8 @@
+AUX docs.patch 697 SHA256 fbf3dffdd07c6844b496599647d21ee08978548fd45d309cfa00367cfa6a4587 SHA512 e9f0607d6f770d451c53e851d6141cd0cdd63ee59e654eab0c3454b9f724f36086115760614470dd42e8f8afc63b018bd695cd596d2ac71530e4a5eaab379779 WHIRLPOOL 797a4983fadae766f33332fcb7236f78135fd5090b153900477897be67f86d218a1e56b5c7c9778095bd2e3679ab0b063d97a385ffb92c726ee13285d574d4bc
+DIST django-auth-ldap-1.2.2.tar.gz 131086 SHA256 faa067b073f6ea73c1ceeb5e244187ae1b3cf4ec79846ff366fa996428434264 SHA512 676d1114faeb9a2956ed51c586afea7618c1bf62867d3525596599391f8327b8f22a075c4203311df88279c317ca37b9097b59e55a64330afee6eb1c5a9c9ac3 WHIRLPOOL ae84405b4855ad9701244ab6cbd5e5154d2e173e04896c27e0869680bb4e030b6847293bcc59ef4f7f56969778c7d403721bae0d7099e2f3724186908c7abbbd
+DIST django-auth-ldap-1.2.7.tar.gz 131431 SHA256 ff6af43d5429fbd918f62c25a07e2bff916b053b46990c1b60e60de63d5f3f80 SHA512 2ca29bdceb4b2540f7c90c9dfdfd7a02f91e72cd44ae062cebff84199dab737ee69ada56269189ec0dd70ee7916c3373acba50866280ad080c4c68dd69dffb09 WHIRLPOOL 785f1155e03f80e1c84f62bd565455c079ccf326210ff45c5597d7ac344e362b54ffb4196b1bbbdb5568a1288c053ae0dc2531489c33da95511323ea345be399
+EBUILD django-auth-ldap-1.2.2.ebuild 1098 SHA256 3e93ed555c8b0d163aeaabe8d5213bc3440f13421bdf2e7c742c81c96ddad87b SHA512 4134787e88469787de32e760c3a371f8e21e8e828ea85cf02b7942033da7801069f60f9ae85ee17c2ba19de294d3a8fe427ba5f25efc5111d0300594a2c14c34 WHIRLPOOL 5ca19a29c0260058181862aecf2975143c999bc5936afcd4e9a8e8e37e7e95fb3bebffda25000db7fd754a254948532be11faf186aff617cc6d150b7f78f7198
+EBUILD django-auth-ldap-1.2.7.ebuild 1056 SHA256 4c7d04d54a06a9eb3b13100961d8f0f1f6c896e7c59ec453a197000fd233561d SHA512 bb5c58793991539be1307f22b3fcea3089926929906a53097faca50cd8058fa1b0e2dd85f791f12b7b75224ea6bde2234b472f77c22166170e9e289bce5cdc2a WHIRLPOOL 8b541bf86e5cfb9d6d7ebee903ca24769d7cb18081af93875545e42382ab7eaa1fd2a674813757dec2412873fcaf89474543b627ac1c5bc152d10953a0c908fa
+MISC ChangeLog 3083 SHA256 c40c913494f680dbd12f313b820d0e711d9d7d3ef9119a5e840209d0127b6430 SHA512 5be47242f1735d1a3844c54445d70b58353647329cbc95bf3a22c9b87e229b14cc3f0743aa018c33d11196f8160cb707154ce6291d30566b555832d7a2eed29e WHIRLPOOL c58015ca25fc7c5bcd7840a2ef57a099b2307081334c89a03064741b143d305af7a5f563ff057acd8d87198c314a4b79652743911323b225a58c3283f3e66b6b
+MISC ChangeLog-2015 3425 SHA256 680d23c37b8aa8da5c55e86d0f060dbd21cfcafb99ffb8d89a5c8ccf3377b44d SHA512 124ba96ff2f5f1c8d0ceca8ba0fc240914c6be9fe80e37b8ed9a0d4ca23a1772aeed6736738816d201574a9389f867ea383f4ba308c222f9c5a82af993211a1c WHIRLPOOL 31e406feb35f4d1735e4667debf1c2270f6500968c25c11bb690a169300a97c26caba77e7294663d85eb4487b6bc89594c80288a2e52fc20e6759c6dbcd940e2
+MISC metadata.xml 398 SHA256 a1cec17ce077f5b772ef71c003146b4ffd9e8d4f42f89463e9656447458e571e SHA512 e3350f6ab3d2c07965eb2c6ba1d82a929bea8e9974d8a2cdc12acde88aab50f2c20105e90e847a23e5dea5f97a7ab6a7a0c9eb75e193eb90ea5453c53eb36d41 WHIRLPOOL 032abebdfa6ab809dcda3ecf94fa89d3f876f9e61ad86c48689f2d8087ab4aa2604ecbe202987aca499eb01a9da8b284a43a4d4658994cf75a56686c23ee2768
diff --git a/dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild
new file mode 100644
index 000000000000..017e164fbb9a
--- /dev/null
+++ b/dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# Although setup.py claims to support py3, python-ldap does not
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Django LDAP authentication backend"
+HOMEPAGE="https://pypi.python.org/pypi/django-auth-ldap https://bitbucket.org/psagers/django-auth-ldap/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+KEYWORDS="amd64 x86"
+IUSE="doc test"
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="dev-python/django[${PYTHON_USEDEP}]
+ >=dev-python/python-ldap-2.0[${PYTHON_USEDEP}]"
+DEPEND="app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ >=dev-python/mockldap-0.2[${PYTHON_USEDEP}] )
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+#S="${WORKDIR}"/psagers-${PN}-80379ce59e6b
+
+PATCHES=( "${FILESDIR}"/docs.patch )
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ PYTHONPATH=. "${PYTHON}" test/manage.py test || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/build/html/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild
new file mode 100644
index 000000000000..f19cc7804088
--- /dev/null
+++ b/dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# Although setup.py claims to support py3, python-ldap does not
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Django LDAP authentication backend"
+HOMEPAGE="https://pypi.python.org/pypi/django-auth-ldap https://bitbucket.org/psagers/django-auth-ldap/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="dev-python/django[${PYTHON_USEDEP}]
+ >=dev-python/python-ldap-2.0[${PYTHON_USEDEP}]"
+DEPEND="app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ >=dev-python/mockldap-0.2[${PYTHON_USEDEP}] )
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}"/docs.patch )
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ PYTHONPATH=. "${PYTHON}" test/manage.py test || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/build/html/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/django-auth-ldap/files/docs.patch b/dev-python/django-auth-ldap/files/docs.patch
new file mode 100644
index 000000000000..c4e918fac538
--- /dev/null
+++ b/dev-python/django-auth-ldap/files/docs.patch
@@ -0,0 +1,18 @@
+Avoid unwanted d'loading for un-needed ojects.inv files
+diff -ur django-auth-ldap-1.1.4.orig/docs/source/conf.py django-auth-ldap-1.1.4/docs/source/conf.py
+--- docs/source/conf.py 2013-03-10 06:01:09.000000000 +0800
++++ docs/source/conf.py 2013-05-18 23:14:35.761187583 +0800
+@@ -29,13 +29,6 @@
+ '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),
+-}
+-
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['../_templates']
+
diff --git a/dev-python/django-auth-ldap/metadata.xml b/dev-python/django-auth-ldap/metadata.xml
new file mode 100644
index 000000000000..cff59c60de52
--- /dev/null
+++ b/dev-python/django-auth-ldap/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">django-auth-ldap</remote-id>
+ <remote-id type="bitbucket">psagers/django-auth-ldap</remote-id>
+ </upstream>
+</pkgmetadata>