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
commit342c12996a10667ae7a141af8f4a1a0713cbbf24 (patch)
tree07c26df860594ddd3ca519b7ec8e620713d3ca29 /dev-python/django-ldapdb
parentMask app-conky[hddtemp,xmms2,apcupsd] due to unsolved dependencies (diff)
downloadhistorical-342c12996a10667ae7a141af8f4a1a0713cbbf24.tar.gz
historical-342c12996a10667ae7a141af8f4a1a0713cbbf24.tar.bz2
historical-342c12996a10667ae7a141af8f4a1a0713cbbf24.zip
Initial commit, ebuild by idella4
Package-Manager: portage-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/Manifest14
-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, 95 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..1df739459e2b
--- /dev/null
+++ b/dev-python/django-ldapdb/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST django-ldapdb-0.1.0_p20120424.tar.bz2 12627 RMD160 93eef35c79df419421c2b1a80b40c2763f693288 SHA1 b410004cf0f7357bed8b0e24068514fd030052b9 SHA256 ff98287da2b564cea7d02b8757b60b1f2366da09a7d5abf736098d249795047a
+EBUILD django-ldapdb-0.1.0_p20120424.ebuild 1449 RMD160 a7f77a3dd27b8f31401b6717984c6f1a869321df SHA1 4429f0c4091c8d55f5444a02d422c6a5ed86d2f4 SHA256 d8d3202ac1377c3c9a096a7b79b8444cf6046538004d3ef335476a13852025a8
+MISC ChangeLog 419 RMD160 d5e900ed992c829a4a52ece2c745e05003349e4c SHA1 7ceaae5c64d26d5039d90696f522ce958e5ad431 SHA256 23d602d630453753eb1a91435370446a21f9d3561563dec049a507ad4519b87a
+MISC metadata.xml 354 RMD160 091888911fc3977462b1015a07a860a68ab6ee9e SHA1 dfd9a92e0cdac92fbeccaae8038db941a4273b09 SHA256 286b386bcfeeacbeace854ed0f9904d845b8397b957963d95bae64534a6decb2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEARECAAYFAk+YRi0ACgkQjDdoMVfcAHgglgCglKu+hkQ2toFzuiquEKnFe4mP
+H1UAoMtGNat1dOitEOO2Fj4uHLXodlvS
+=KQ2+
+-----END PGP SIGNATURE-----
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>
+