diff options
Diffstat (limited to '')
-rw-r--r-- | dev-python/ldaptor/ldaptor-0.0.42.ebuild | 80 | ||||
-rw-r--r-- | dev-python/ldaptor/ldaptor-0.0.42.ebuild.diff | 15 |
2 files changed, 0 insertions, 95 deletions
diff --git a/dev-python/ldaptor/ldaptor-0.0.42.ebuild b/dev-python/ldaptor/ldaptor-0.0.42.ebuild deleted file mode 100644 index 6c248a9..0000000 --- a/dev-python/ldaptor/ldaptor-0.0.42.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.42.ebuild,v 1.5 2006/02/13 23:02:32 marienz Exp $ - -inherit distutils eutils - -DESCRIPTION="set of LDAP utilities for use from the command line" -HOMEPAGE="http://www.inoi.fi/open/trac/ldaptor" -SRC_URI="mirror://debian/pool/main/l/ldaptor/${PN}_${PV}.tar.gz - doc? ( mirror://gentoo/${P}-dia-pictures.tar.gz )" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~ia64 ~sparc ~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 - dev-python/twisted-web - ) - doc? ( - dev-python/epydoc - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - ) - samba? ( dev-python/pycrypto )" - -DOCS="README TODO ldaptor.schema" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-trial-2.1-compat.patch" - cp "${WORKDIR}/ldaptor-pictures/"*.dia.png doc/ -} - -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 - - if ! use web; then - rm ${D}/usr/bin/ldaptor-webui || die "couldn't rm ldaptor-webui" - rm -rf ${D}$(python_get_sitedir)/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() { - local trialopts - if ! has_version ">=dev-python/twisted-2.1"; then - trialopts=-R - fi - trial ${trialopts} ldaptor || die "test failed" -} diff --git a/dev-python/ldaptor/ldaptor-0.0.42.ebuild.diff b/dev-python/ldaptor/ldaptor-0.0.42.ebuild.diff deleted file mode 100644 index d60f41c..0000000 --- a/dev-python/ldaptor/ldaptor-0.0.42.ebuild.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- /usr/portage/dev-python/ldaptor/ldaptor-0.0.42.ebuild 2006-02-14 00:05:38.000000000 +0100 -+++ ldaptor-0.0.42.ebuild 2008-08-02 00:34:31.000000000 +0200 -@@ -56,11 +56,9 @@ - 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" -+ rm -rf ${D}$(python_get_sitedir)/ldaptor/apps/webui || die "couldn't prune webui" - fi - - # install examples |