diff options
author | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-30 06:08:15 +0000 |
---|---|---|
committer | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-30 06:08:15 +0000 |
commit | 19880156898cc783bcf7003268887be2a40b74c5 (patch) | |
tree | 024796bc54c68b0bb2af01daa92238ab6f259d9e | |
parent | new version (diff) | |
download | gentoo-2-19880156898cc783bcf7003268887be2a40b74c5.tar.gz gentoo-2-19880156898cc783bcf7003268887be2a40b74c5.tar.bz2 gentoo-2-19880156898cc783bcf7003268887be2a40b74c5.zip |
Initial import. Basically a fork of python-ldap to be used with python2.1
5 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/python-ldap-py21/ChangeLog b/dev-python/python-ldap-py21/ChangeLog new file mode 100644 index 000000000000..84fd0d9b7924 --- /dev/null +++ b/dev-python/python-ldap-py21/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/python-ldap-py21 +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap-py21/ChangeLog,v 1.1 2003/03/30 06:08:15 kutsuya Exp $ + +*python-ldap-py21-2.0.0_pre06 (29 Mar 2003) + + 29 Mar 2003; Jason Shoemaker <kutsuya@gentoo.org> + python-ldap-py21-2.0.0_pre05-r1.ebuild, python-ldap-py21-2.0.0_pre06.ebuild: + Initial import. Basically a fork of python-ldap that is for python2.1 + diff --git a/dev-python/python-ldap-py21/files/digest-python-ldap-py21-2.0.0_pre05-r1 b/dev-python/python-ldap-py21/files/digest-python-ldap-py21-2.0.0_pre05-r1 new file mode 100644 index 000000000000..a0023f32cbb7 --- /dev/null +++ b/dev-python/python-ldap-py21/files/digest-python-ldap-py21-2.0.0_pre05-r1 @@ -0,0 +1 @@ +MD5 8de6fb19e415a84e1cfc73264c0573df python-ldap-2.0.0pre05.tar.gz 46111 diff --git a/dev-python/python-ldap-py21/files/digest-python-ldap-py21-2.0.0_pre06 b/dev-python/python-ldap-py21/files/digest-python-ldap-py21-2.0.0_pre06 new file mode 100644 index 000000000000..9beaadea3d2f --- /dev/null +++ b/dev-python/python-ldap-py21/files/digest-python-ldap-py21-2.0.0_pre06 @@ -0,0 +1 @@ +MD5 7b0f7ff30bca97f7e9540ca9758961c2 python-ldap-2.0.0pre06.tar.gz 59668 diff --git a/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre05-r1.ebuild b/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre05-r1.ebuild new file mode 100644 index 000000000000..8308994f44f8 --- /dev/null +++ b/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre05-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre05-r1.ebuild,v 1.1 2003/03/30 06:08:15 kutsuya Exp $ + +PYTHON_SLOT_VERSION=2.1 + +inherit distutils +P_NEW="${PN%-py21}-${PV/_pre/pre}" +S=${WORKDIR}/${P_NEW} + +DESCRIPTION="Various LDAP-related Python modules" +SRC_URI="mirror://sourceforge/python-ldap/${P_NEW}.tar.gz" +HOMEPAGE="http://python-ldap.sourceforge.net/" + +DEPEND="${DEPEND} + >=net-nds/openldap-2.0.11" +SLOT="0" +LICENSE="public-domain" # NOTE: win32 section is under questionable license +KEYWORDS="~x86" +IUSE="" + +src_compile() { + mv setup.cfg setup.cfg.orig + sed -e "s|/usr/local/openldap2/lib|/usr/lib|" \ + -e "s|/usr/local/openldap2/include|/usr/include|" \ + -e "s|libs = ldap lber|libs = ldap lber resolv|" \ + setup.cfg.orig > setup.cfg || die + + distutils_src_compile +} diff --git a/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre06.ebuild b/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre06.ebuild new file mode 100644 index 000000000000..bd50f4beed3b --- /dev/null +++ b/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre06.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap-py21/python-ldap-py21-2.0.0_pre06.ebuild,v 1.1 2003/03/30 06:08:15 kutsuya Exp $ + +PYTHON_SLOT_VERSION=2.1 + +inherit distutils +P_NEW="${PN%-py21}-${PV/_pre/pre}" +S=${WORKDIR}/${P_NEW} + +DESCRIPTION="Various LDAP-related Python modules" +SRC_URI="mirror://sourceforge/python-ldap/${P_NEW}.tar.gz" +HOMEPAGE="http://python-ldap.sourceforge.net/" + +DEPEND="${DEPEND} + >=net-nds/openldap-2.0.11" +SLOT="0" +LICENSE="public-domain" # NOTE: win32 section is under questionable license +KEYWORDS="~x86" +IUSE="" + +src_compile() { + mv setup.cfg setup.cfg.orig + sed -e "s|/usr/local/openldap2/lib|/usr/lib|" \ + -e "s|/usr/local/openldap2/include|/usr/include|" \ + -e "s|libs = ldap lber|libs = ldap lber resolv|" \ + setup.cfg.orig > setup.cfg || die + + distutils_src_compile +} |