summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2012-05-19 13:47:56 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2012-05-19 13:47:56 +0000
commit807a79549c1628669236b9675a91e3a352793fcf (patch)
tree8e7b7ae910e3a10c2c76097139b9e8132e286326 /dev-python/django-auth-ldap
parentStable for amd64, wrt bug #416119 (diff)
downloadgentoo-2-807a79549c1628669236b9675a91e3a352793fcf.tar.gz
gentoo-2-807a79549c1628669236b9675a91e3a352793fcf.tar.bz2
gentoo-2-807a79549c1628669236b9675a91e3a352793fcf.zip
Version bump, build & install of docs simplified, test phase cleanup. All done by idella4
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/django-auth-ldap')
-rw-r--r--dev-python/django-auth-ldap/ChangeLog9
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild49
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/django-auth-ldap/ChangeLog b/dev-python/django-auth-ldap/ChangeLog
index 16e497b6cf56..c52f1d3677a7 100644
--- a/dev-python/django-auth-ldap/ChangeLog
+++ b/dev-python/django-auth-ldap/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/django-auth-ldap
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/ChangeLog,v 1.3 2012/05/04 08:07:57 iksaif Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/ChangeLog,v 1.4 2012/05/19 13:47:56 tampakrap Exp $
+
+*django-auth-ldap-1.1 (19 May 2012)
+
+ 19 May 2012; Theo Chatzimichos <tampakrap@gentoo.org>
+ +django-auth-ldap-1.1.ebuild:
+ Version bump, build & install of docs simplified, test phase cleanup. All done
+ by idella4
04 May 2012; Corentin Chary <iksaif@gentoo.org>
django-auth-ldap-1.0.19.ebuild:
diff --git a/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild
new file mode 100644
index 000000000000..bea2f12c2477
--- /dev/null
+++ b/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild,v 1.1 2012/05/19 13:47:56 tampakrap Exp $
+
+EAPI=4
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Django LDAP authentication backend"
+HOMEPAGE="http://pypi.python.org/pypi/django-auth-ldap http://bitbucket.org/psagers/django-auth-ldap/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+LICENSE="BSD"
+SLOT="0"
+PYTHON_MODNAME="django_auth_ldap"
+
+RDEPEND=">=dev-python/django-1.0"
+DEPEND="${RDEPEND}
+ dev-python/python-ldap
+ doc? ( dev-python/sphinx )"
+
+src_compile() {
+ distutils_src_compile
+
+ use doc && emake -C docs html
+}
+
+src_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+
+ # Python.[56] trigger a harmless deprecation warning
+ testing() {
+ "$(PYTHON)" -m django_auth_ldap.tests
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/_build/html/
+ fi
+}