summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2012-04-25 18:42:04 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2012-04-25 18:42:04 +0000
commitbd2e2e2fffffb9ac652427b865d4449d698d4089 (patch)
tree9cf054593b185e5ccd4acd401df1f2c5915c19ec /dev-python/django-ldapdb
parentMask app-conky[hddtemp,xmms2,apcupsd] due to unsolved dependencies (diff)
downloadgentoo-2-bd2e2e2fffffb9ac652427b865d4449d698d4089.tar.gz
gentoo-2-bd2e2e2fffffb9ac652427b865d4449d698d4089.tar.bz2
gentoo-2-bd2e2e2fffffb9ac652427b865d4449d698d4089.zip
Initial commit, ebuild by idella4
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/django-ldapdb')
-rw-r--r--dev-python/django-ldapdb/ChangeLog10
-rw-r--r--dev-python/django-ldapdb/Manifest3
-rw-r--r--dev-python/django-ldapdb/django-ldapdb-0.1.0_p20120424.ebuild57
-rw-r--r--dev-python/django-ldapdb/metadata.xml14
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/django-ldapdb/ChangeLog b/dev-python/django-ldapdb/ChangeLog
new file mode 100644
index 000000000000..0893e633750c
--- /dev/null
+++ b/dev-python/django-ldapdb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/django-ldapdb
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-ldapdb/ChangeLog,v 1.1 2012/04/25 18:42:04 tampakrap Exp $
+
+*django-ldapdb-0.1.0_p20120424 (25 Apr 2012)
+
+ 25 Apr 2012; Theo Chatzimichos <tampakrap@gentoo.org>
+ +django-ldapdb-0.1.0_p20120424.ebuild, +metadata.xml:
+ Initial commit, ebuild by idella4
+
diff --git a/dev-python/django-ldapdb/Manifest b/dev-python/django-ldapdb/Manifest
new file mode 100644
index 000000000000..5a94ccfef2e4
--- /dev/null
+++ b/dev-python/django-ldapdb/Manifest
@@ -0,0 +1,3 @@
+DIST django-ldapdb-0.1.0_p20120424.tar.bz2 12627 RMD160 93eef35c79df419421c2b1a80b40c2763f693288 SHA1 b410004cf0f7357bed8b0e24068514fd030052b9 SHA256 ff98287da2b564cea7d02b8757b60b1f2366da09a7d5abf736098d249795047a
+EBUILD django-ldapdb-0.1.0_p20120424.ebuild 1323 RMD160 4dd465e853eb1d30ada2807364a133f1067acb6b SHA1 bfca8f20afc444a4394069fec809a788aca3cc5f SHA256 d3ee010f7bce1ba253e99f329c76f3fbef63ce2f6661933209d3d959ab4fefd4
+MISC metadata.xml 354 RMD160 091888911fc3977462b1015a07a860a68ab6ee9e SHA1 dfd9a92e0cdac92fbeccaae8038db941a4273b09 SHA256 286b386bcfeeacbeace854ed0f9904d845b8397b957963d95bae64534a6decb2
diff --git a/dev-python/django-ldapdb/django-ldapdb-0.1.0_p20120424.ebuild b/dev-python/django-ldapdb/django-ldapdb-0.1.0_p20120424.ebuild
new file mode 100644
index 000000000000..ba3a71a31a20
--- /dev/null
+++ b/dev-python/django-ldapdb/django-ldapdb-0.1.0_p20120424.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-ldapdb/django-ldapdb-0.1.0_p20120424.ebuild,v 1.1 2012/04/25 18:42:04 tampakrap Exp $
+
+EAPI=4
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="3.*"
+inherit distutils
+
+DESCRIPTION="an LDAP database backend for Django"
+HOMEPAGE="http://opensource.bolloretelecom.eu/projects/django-ldapdb/"
+SRC_URI="http://dev.gentoo.org/~tampakrap/tarballs/${P}.tar.bz2"
+
+KEYWORDS="~amd64"
+IUSE="examples test"
+LICENSE="MIT"
+SLOT="0"
+PYTHON_MODNAME="ldapdb"
+S="${WORKDIR}/${PN}"
+
+REDEPEND=""
+DEPEND="${REDEPEND}
+ dev-python/setuptools
+ dev-python/django
+ test? ( dev-python/python-ldap )"
+
+src_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+ testing() {
+ PYTHONPATH=. "$(PYTHON)" examples/tests.py
+ if [[ $? ]]; then
+ einfo "All examples tests completed successfully with python"$(python_get_version)
+ einfo ""
+ fi
+
+ PYTHONPATH="build-$(python_get_version)/lib/" \
+ "$(PYTHON)" ${PYTHON_MODNAME}/tests.py
+ if [[ $? ]]; then
+ einfo "All tests under ldapdb completed successfully with python"$(python_get_version)
+ einfo ""
+ fi
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ samples() {
+ insinto $(python_get_libdir)/site-packages/${PYTHON_MODNAME}/
+ doins -r examples/
+ }
+
+ if use examples; then
+ python_execute_function samples
+ fi
+}
diff --git a/dev-python/django-ldapdb/metadata.xml b/dev-python/django-ldapdb/metadata.xml
new file mode 100644
index 000000000000..472ba4684030
--- /dev/null
+++ b/dev-python/django-ldapdb/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>
+