aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <della5@iinet.com.au>2012-04-30 16:37:07 +0800
committerIan Delaney <della5@iinet.com.au>2012-04-30 16:37:07 +0800
commitbf4bdeef92d4058a225e29d334d7060059f64ab9 (patch)
tree70a10d88e2da3c64f16330f9ae1b8ca5b2022869
parent[dev-python/[django-appconf,django-evolution]] Re-added && updated (diff)
downloadimprovise-bf4bdeef92d4058a225e29d334d7060059f64ab9.tar.gz
improvise-bf4bdeef92d4058a225e29d334d7060059f64ab9.tar.bz2
improvise-bf4bdeef92d4058a225e29d334d7060059f64ab9.zip
[dev-python/django-auth-ldap] Re-added, test updated
(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)
-rw-r--r--dev-python/django-auth-ldap/ChangeLog14
-rw-r--r--dev-python/django-auth-ldap/Manifest1
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild50
-rw-r--r--dev-python/django-auth-ldap/metadata.xml14
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-python/django-auth-ldap/ChangeLog b/dev-python/django-auth-ldap/ChangeLog
new file mode 100644
index 0000000..630bdad
--- /dev/null
+++ b/dev-python/django-auth-ldap/ChangeLog
@@ -0,0 +1,14 @@
+# 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.2 2012/04/25 12:55:49 tampakrap Exp $
+
+ 25 Apr 2012; Theo Chatzimichos <tampakrap@gentoo.org>
+ django-auth-ldap-1.0.19.ebuild:
+ Added condition to report effective testing()
+
+*django-auth-ldap-1.0.19 (18 Apr 2012)
+
+ 18 Apr 2012; Theo Chatzimichos <tampakrap@gentoo.org>
+ +django-auth-ldap-1.0.19.ebuild, +metadata.xml:
+ Initial commit, ebuild by idella4
+
diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest
new file mode 100644
index 0000000..67ecd7d
--- /dev/null
+++ b/dev-python/django-auth-ldap/Manifest
@@ -0,0 +1 @@
+DIST django-auth-ldap-1.0.19.tar.gz 31549 SHA256 db9ba2d367f7a39e8e6474440cf4ef0290ea51c87116ba8d59191051a46fe462 SHA512 5440e47513b0e80a2a409efc88388866b98c387ec86dd94802679ee1d4310a2a55ca2cc9319b17f489db1479fb90e9e9d7e9740b1bd7b888c802e5408a54b6ce WHIRLPOOL dffcfb8c27657f8dd4da584fbeec35671a0e1b1980882c98263d358c8bb04f7f0aa0125f8c759e5ac303ceba408e9c7a56297bd5a5ce53d08e2eb75e8c399e5f
diff --git a/dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild
new file mode 100644
index 0000000..ce836c4
--- /dev/null
+++ b/dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild
@@ -0,0 +1,50 @@
+# 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.0.19.ebuild,v 1.2 2012/04/25 12:55:49 tampakrap Exp $
+
+EAPI=4
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="3.*"
+inherit distutils
+
+DESCRIPTION="A flexible and capable API layer for Django utilising serialisers"
+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=""
+DEPEND="${RDEPEND} >=dev-python/django-1.0
+ dev-python/python-ldap
+ doc? ( dev-python/sphinx )"
+
+src_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+ # Since python3 not supported, this works for python2 && pypy
+ # Tested, django_auth_ldap/tests.py IS being run
+ testing() {
+ PYTHONPATH=. "$(PYTHON)" django_auth_ldap/tests.py
+ einfo "tests completed for python"$(python_get_version)
+ }
+ python_execute_function testing
+}
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ emake -C docs html
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/_build/html/*
+ fi
+}
diff --git a/dev-python/django-auth-ldap/metadata.xml b/dev-python/django-auth-ldap/metadata.xml
new file mode 100644
index 0000000..472ba46
--- /dev/null
+++ b/dev-python/django-auth-ldap/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>johneed@hotmail.com</email>
+ <name>Ian Delaney</name>
+ </maintainer>
+ <maintainer>
+ <email>tampakrap@gentoo.org</email>
+ <name>Theo Chatzimichos</name>
+ </maintainer>
+ <herd>python</herd>
+</pkgmetadata>
+