summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2005-07-04 16:01:15 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2005-07-04 16:01:15 +0000
commitd97200c6f5c2790456f118a5d2538e1678ab52ea (patch)
tree5155a1eee064783b2a533d1790b85e94a34de387 /dev-python/ldaptor
parentadded dev-python/ldaptor:web local use flag (diff)
downloadgentoo-2-d97200c6f5c2790456f118a5d2538e1678ab52ea.tar.gz
gentoo-2-d97200c6f5c2790456f118a5d2538e1678ab52ea.tar.bz2
gentoo-2-d97200c6f5c2790456f118a5d2538e1678ab52ea.zip
update; fixes bug 83182 (credits see ChangeLog)
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-python/ldaptor')
-rw-r--r--dev-python/ldaptor/ChangeLog9
-rw-r--r--dev-python/ldaptor/Manifest7
-rw-r--r--dev-python/ldaptor/files/digest-ldaptor-0.0.411
-rw-r--r--dev-python/ldaptor/ldaptor-0.0.41.ebuild75
4 files changed, 89 insertions, 3 deletions
diff --git a/dev-python/ldaptor/ChangeLog b/dev-python/ldaptor/ChangeLog
index 815bbe4254b9..20839cdf3ce1 100644
--- a/dev-python/ldaptor/ChangeLog
+++ b/dev-python/ldaptor/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/ldaptor
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.9 2005/04/24 03:28:06 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.10 2005/07/04 16:01:15 lordvan Exp $
+
+*ldaptor-0.0.41 (04 Jul 2005)
+
+ 04 Jul 2005; Thomas Raschbacher <lordvan@gentoo.org>
+ +ldaptor-0.0.41.ebuild:
+ Updated version for twisted-2.
+ Fixes Bug #83182; Thanks to Marien Zwart <m_zwart@123mail.org>
24 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> ldaptor-0.0.6.ebuild:
Stable on ppc.
diff --git a/dev-python/ldaptor/Manifest b/dev-python/ldaptor/Manifest
index ecb22667c630..6fe6f36f0e59 100644
--- a/dev-python/ldaptor/Manifest
+++ b/dev-python/ldaptor/Manifest
@@ -1,4 +1,7 @@
-MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
-MD5 d9424afb64b5a242d8487888ada09328 ChangeLog 877
+MD5 e3b7545ff7fc65ced6d1327feb92bf06 ldaptor-0.0.41.ebuild 1881
MD5 aae0dd5d3095b7b8bfec24b3e981aa82 ldaptor-0.0.6.ebuild 1253
+MD5 d9424afb64b5a242d8487888ada09328 ChangeLog 877
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 c7a2715448d6a5dfd5400eb2d7055c61 files/ldaptor-0.0.35-svn-update.patch 1351
+MD5 f1a50bdcead4cc02050cb4bcc614b1a0 files/digest-ldaptor-0.0.41 66
MD5 43feb7d34a8c766f9dc97801fb2a7ce5 files/digest-ldaptor-0.0.6 64
diff --git a/dev-python/ldaptor/files/digest-ldaptor-0.0.41 b/dev-python/ldaptor/files/digest-ldaptor-0.0.41
new file mode 100644
index 000000000000..57d21afa676d
--- /dev/null
+++ b/dev-python/ldaptor/files/digest-ldaptor-0.0.41
@@ -0,0 +1 @@
+MD5 f995e37ee84e35f64a0f75eb9d1ffbd1 ldaptor_0.0.41.tar.gz 201131
diff --git a/dev-python/ldaptor/ldaptor-0.0.41.ebuild b/dev-python/ldaptor/ldaptor-0.0.41.ebuild
new file mode 100644
index 000000000000..edd55adc87e0
--- /dev/null
+++ b/dev-python/ldaptor/ldaptor-0.0.41.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.41.ebuild,v 1.1 2005/07/04 16:01:15 lordvan Exp $
+
+inherit distutils
+
+DESCRIPTION="set of LDAP utilities for use from the command line"
+HOMEPAGE="http://www.inoi.fi/open/trac/ldaptor"
+SRC_URI="http://ftp.debian.org/debian/pool/main/l/ldaptor/${PN}_${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="web doc samba"
+
+DEPEND=">=dev-python/twisted-2
+ dev-python/twisted-names
+ dev-python/twisted-mail
+ dev-python/pyparsing
+ web? ( >=dev-python/nevow-0.3 )
+ doc? (
+ dev-python/epydoc
+ app-office/dia
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ )
+ samba? ( dev-python/pycrypto )"
+
+DOCS="README TODO ldaptor.schema"
+
+src_unpack() {
+ unpack ${A}
+ if [ -f ${FILESDIR}/${P}-svn-update.patch ]; then
+ epatch ${FILESDIR}/${P}-svn-update.patch
+ fi
+}
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ cd doc
+ # skip the slides generation because it doesn't work
+ sed -e "/\$(SLIDES:%\.xml=%\/index\.html) /d" -i Makefile
+ # replace the docbook.xsl with something that exists
+ stylesheet=$(portageq best_version / app-text/docbook-xsl-stylesheets)
+ stylesheet=${stylesheet#app-text/docbook-}
+ sed -e "s#stylesheet/xsl/nwalsh#${stylesheet}#" -i Makefile
+ emake || die "make failed"
+ cd ..
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ python_version
+
+ if ! use web; then
+ rm ${D}/usr/bin/ldaptor-webui || die "couldn't rm ldaptor-webui"
+ rm -rf ${D}/usr/lib/python${PYVER}/site-packages/ldaptor/apps/webui || die "couldn't prune webui"
+ fi
+
+ # install examples
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins -r doc/api doc/ldap-intro doc/examples
+ if use web; then
+ doins -r doc/examples.webui
+ fi
+ fi
+}
+
+src_test() {
+ trial -R ldaptor || die "test failed"
+}