From 871dba3ef4543b4fca3d511f183259041f900450 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 13 May 2012 13:38:21 -0400 Subject: [PATCH] Add live ebuild for dev-python/python-ldap. --- dev-python/python-ldap/ChangeLog | 429 ++++++++++++++++++ dev-python/python-ldap/Manifest | 3 + dev-python/python-ldap/metadata.xml | 12 + .../python-ldap/python-ldap-9999.ebuild | 85 ++++ 4 files changed, 529 insertions(+) create mode 100644 dev-python/python-ldap/ChangeLog create mode 100644 dev-python/python-ldap/Manifest create mode 100644 dev-python/python-ldap/metadata.xml create mode 100644 dev-python/python-ldap/python-ldap-9999.ebuild diff --git a/dev-python/python-ldap/ChangeLog b/dev-python/python-ldap/ChangeLog new file mode 100644 index 0000000..d95de05 --- /dev/null +++ b/dev-python/python-ldap/ChangeLog @@ -0,0 +1,429 @@ +# ChangeLog for dev-python/python-ldap +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.107 2012/03/09 09:25:39 patrick Exp $ + +*python-ldap-9999 (13 May 2012) + + 13 May 2012; W. Trevor King +python-ldap-9999.ebuild: + Branched live ebuild off from python-ldap-2.4.8.ebuild. + +*python-ldap-2.4.8 (09 Mar 2012) + + 09 Mar 2012; Patrick Lauer +python-ldap-2.4.8.ebuild: + Bump + + 04 Sep 2011; Robin H. Johnson python-ldap-2.3.9.ebuild, + python-ldap-2.3.13.ebuild, python-ldap-2.4.3.ebuild: + Leave a documentation comment for the Python team in the ebuilds, per request + from djc in IRC. + + 04 Sep 2011; Robin H. Johnson +python-ldap-2.3.9.ebuild: + Re-add python-ldap-2.3.9 as it was the last python-ldap release to support + the openldap-2.3.x series. Please do NOT remove it from the tree until + OpenLDAP 2.3.x is removed. + + 27 Aug 2011; Jesus Rivero python-ldap-2.3.13.ebuild, + python-ldap-2.4.3.ebuild: + Change to generic license + +*python-ldap-2.4.3 (12 Aug 2011) + + 12 Aug 2011; Dirkjan Ochtman +python-ldap-2.4.3.ebuild: + Version bump to 2.4.3. + + 12 Aug 2011; Dirkjan Ochtman -python-ldap-2.3.9.ebuild: + Remove old version. + + 29 Apr 2011; Samuli Suominen + python-ldap-2.3.13.ebuild: + ppc64 stable wrt #360355 + + 14 Apr 2011; Brent Baude python-ldap-2.3.13.ebuild: + stable ppc, bug 360355 + + 04 Apr 2011; Jeroen Roovers python-ldap-2.3.13.ebuild: + Stable for HPPA (bug #360355). + + 02 Apr 2011; Raúl Porcel python-ldap-2.3.13.ebuild: + ia64/sparc stable wrt #360355 + + 28 Mar 2011; Pawel Hajdan jr + python-ldap-2.3.13.ebuild: + x86 stable wrt bug #360355 + + 27 Mar 2011; Tobias Klausmann + python-ldap-2.3.13.ebuild: + Stable on alpha, bug #360355 + + 24 Mar 2011; Christoph Mende python-ldap-2.3.13.ebuild: + Stable on amd64 wrt bug #360355 + +*python-ldap-2.3.13 (19 Feb 2011) + + 19 Feb 2011; Arfrever Frehtes Taifersar Arahesis + +python-ldap-2.3.13.ebuild: + Version bump. + + 31 Dec 2010; Arfrever Frehtes Taifersar Arahesis + -python-ldap-2.3.11.ebuild: + Delete. + + 27 Dec 2010; Brent Baude python-ldap-2.3.12.ebuild: + Marking python-ldap-2.3.12 ppc64 for bug 341337 + + 23 Oct 2010; Raúl Porcel python-ldap-2.3.12.ebuild: + alpha/ia64/sparc stable wrt #341337 + + 21 Oct 2010; Jeroen Roovers python-ldap-2.3.12.ebuild: + Stable for HPPA (bug #341337). + + 21 Oct 2010; Christian Faulhammer + python-ldap-2.3.12.ebuild: + stable x86, bug 341337 + + 20 Oct 2010; Brent Baude python-ldap-2.3.12.ebuild: + stable ppc, bug 341337 + + 18 Oct 2010; Markos Chandras + python-ldap-2.3.12.ebuild: + Stable on amd64 wrt bug #341337 + +*python-ldap-2.3.12 (15 Sep 2010) + + 15 Sep 2010; Arfrever Frehtes Taifersar Arahesis + +python-ldap-2.3.12.ebuild: + Version bump. + + 15 Sep 2010; Arfrever Frehtes Taifersar Arahesis + python-ldap-2.3.9.ebuild, python-ldap-2.3.11.ebuild: + Use PyPI mirrors. + + 16 Aug 2010; Fabian Groffen + python-ldap-2.3.11.ebuild: + Fix for Prefix, raise EAPI to 3, marked ~x86-solaris + + 23 May 2010; Pacho Ramos python-ldap-2.3.11.ebuild: + stable amd64, bug 313149 + + 11 May 2010; Brent Baude python-ldap-2.3.11.ebuild: + stable ppc64, bug 313149 + + 09 May 2010; Raúl Porcel python-ldap-2.3.11.ebuild: + alpha/ia64/sparc stable wrt #313149 + + 04 May 2010; Jeroen Roovers python-ldap-2.3.11.ebuild: + Stable for HPPA (bug #313149). + + 21 Apr 2010; Christian Faulhammer + python-ldap-2.3.11.ebuild: + stable x86, bug 313149 + + 18 Apr 2010; python-ldap-2.3.11.ebuild: + ppc stable #313149 + + 04 Mar 2010; Robin H. Johnson + +python-ldap-2.3.9.ebuild: + Re-add python-2.3.9 as the last python-ldap version that works with + openldap-2.3.x. + +*python-ldap-2.3.11 (02 Mar 2010) + + 02 Mar 2010; Arfrever Frehtes Taifersar Arahesis + -python-ldap-2.3.9.ebuild, +python-ldap-2.3.11.ebuild: + Version bump. + + 10 Jan 2010; Brent Baude python-ldap-2.3.10.ebuild: + stable ppc64, bug 295694 + + 29 Dec 2009; Raúl Porcel python-ldap-2.3.10.ebuild: + alpha/ia64/sparc stable wrt #295694 + + 16 Dec 2009; Markus Meier python-ldap-2.3.10.ebuild: + amd64/x86 stable, bug #295694 + + 09 Dec 2009; nixnut python-ldap-2.3.10.ebuild: + ppc stable #295694 + + 08 Dec 2009; Jeroen Roovers python-ldap-2.3.10.ebuild: + Stable for HPPA (bug #295694). + + 03 Nov 2009; Arfrever Frehtes Taifersar Arahesis + python-ldap-2.3.10.ebuild: + Update dependencies (bug #291671). + +*python-ldap-2.3.10 (01 Nov 2009) + + 01 Nov 2009; Arfrever Frehtes Taifersar Arahesis + -python-ldap-2.2.1.ebuild, +python-ldap-2.3.10.ebuild: + Version bump. + + 05 Oct 2009; Raúl Porcel python-ldap-2.3.9.ebuild: + ia64/sparc stable wrt #284973 + + 01 Oct 2009; Tobias Klausmann + python-ldap-2.3.9.ebuild: + Stable on alpha, bug #284973 + + 27 Sep 2009; nixnut python-ldap-2.3.9.ebuild: + ppc stable #284973 + + 26 Sep 2009; Brent Baude python-ldap-2.3.9.ebuild: + Marking python-ldap-2.3.9 ppc64 for bug 284973 + + 22 Sep 2009; Jeroen Roovers python-ldap-2.3.9.ebuild: + Stable for HPPA (bug #284973). + + 18 Sep 2009; Markus Meier python-ldap-2.3.9.ebuild: + amd64 stable, bug #284973 + + 16 Sep 2009; Christian Faulhammer + python-ldap-2.3.9.ebuild: + stable x86, bug 284973 + + 06 Sep 2009; Christian Ruppert + -files/python-ldap-2.3.5-gcc44.patch: + Remove unused patch. + + 04 Sep 2009; Patrick Lauer -python-ldap-2.3.1.ebuild, + -python-ldap-2.3.5.ebuild: + Remove old + +*python-ldap-2.3.9 (05 Aug 2009) + + 05 Aug 2009; Arfrever Frehtes Taifersar Arahesis + +python-ldap-2.3.9.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. + + 10 May 2009; Samuli Suominen + python-ldap-2.3.5.ebuild, +files/python-ldap-2.3.5-gcc44.patch: + Fix compile with GCC 4.4 wrt #264543, thanks to Daniel J. + +*python-ldap-2.3.5 (10 Jul 2008) + + 10 Jul 2008; Krzysiek Pawlik + +python-ldap-2.3.5.ebuild: + Version bump, see bug #231378. + +*python-ldap-2.3.1 (15 Aug 2007) + + 15 Aug 2007; Tiziano Müller + -python-ldap-2.3.ebuild, +python-ldap-2.3.1.ebuild: + Version bump, dropped old version. + + 24 Jun 2007; Tiziano Müller + -python-ldap-2.0.11.ebuild, python-ldap-2.2.1.ebuild: + Fixed $ROOT abuse (bug #167271), dropped old version. + + 15 Jun 2007; Raúl Porcel python-ldap-2.2.1.ebuild: + alpha stable wrt #172535 + + 02 Apr 2007; Tobias Scherbaum + python-ldap-2.2.1.ebuild: + ppc stable, bug #172535 + + 02 Apr 2007; Raúl Porcel python-ldap-2.2.1.ebuild: + ia64 stable wrt bug 172535 + + 28 Mar 2007; Christian Faulhammer + python-ldap-2.2.1.ebuild: + stable x86, bug 172535 + +*python-ldap-2.3 (28 Mar 2007) + + 28 Mar 2007; Tiziano Müller + +python-ldap-2.3.ebuild: + Version bump (bug #172470, thanks to Ken Garland) + + 28 Mar 2007; Gustavo Zacarias + python-ldap-2.2.1.ebuild: + Stable on sparc wrt #172535 + + 17 Mar 2007; Steve Dibb python-ldap-2.2.1.ebuild: + amd64 stable + + 22 Feb 2007; Piotr Jaroszyński ChangeLog: + Transition to Manifest2. + + 04 Feb 2007; Markus Rothe python-ldap-2.2.1.ebuild: + Stable on ppc64; bug #164978 + + 18 Jan 2007; Jeroen Roovers python-ldap-2.2.1.ebuild: + Stable for HPPA (bug #147751). + +*python-ldap-2.2.1 (30 Dec 2006) + + 30 Dec 2006; Tiziano Müller + -python-ldap-2.2.0.ebuild, +python-ldap-2.2.1.ebuild: + Version bump, fixed bug #137503 and possible others. Dropped old version. + + 22 Dec 2006; Markus Rothe python-ldap-2.2.0.ebuild: + Added ~ppc64; bug #158855 + +*python-ldap-2.2.0 (01 May 2006) + + 01 May 2006; Carsten Lohrke -python-ldap-2.0.6.ebuild, + -python-ldap-2.0.10.ebuild, +python-ldap-2.2.0.ebuild: + Version bump. + + 30 Apr 2006; Simon Stelling python-ldap-2.0.11.ebuild: + stable on amd64 + + 12 Apr 2006; Bryan Østergaard + python-ldap-2.0.11.ebuild: + Stable on sparc wrt #123706 + + 23 Feb 2006; Joshua Jackson python-ldap-2.0.11.ebuild: + stable on x86 for bug #123706 + + 22 Feb 2006; python-ldap-2.0.11.ebuild: + Stable on ppc. bug 123706 + + 22 Feb 2006; Aron Griffis python-ldap-2.0.11.ebuild: + Mark 2.0.11 stable on ia64. #123706 + +*python-ldap-2.0.11 (01 Dec 2005) + + 01 Dec 2005; Carsten Lohrke +python-ldap-2.0.11.ebuild: + version bump + + 30 Sep 2005; Carsten Lohrke + -python-ldap-2.0.0_pre05-r1.ebuild, -python-ldap-2.0.0_pre06.ebuild, + -python-ldap-2.0.0_pre13.ebuild, -python-ldap-2.0.0_pre15.ebuild, + -python-ldap-2.0.1.ebuild, -python-ldap-2.0.7.ebuild, + -python-ldap-2.0.8.ebuild, +python-ldap-2.0.10.ebuild: + clean up + +*python-ldap-2.0.10 (30 Sep 2005) + + 30 Sep 2005; Carsten Lohrke +python-ldap-2.0.10.ebuild: + version bump + + 26 Aug 2005; Aron Griffis python-ldap-2.0.8.ebuild: + add ~ia64 + + 14 Jul 2005; Simon Stelling python-ldap-2.0.8.ebuild: + added ~amd64 keyword + + 02 Jul 2005; Bryan Østergaard + python-ldap-2.0.6.ebuild: + Stable on alpha. + +*python-ldap-2.0.8 (27 Jun 2005) + + 27 Jun 2005; Carsten Lohrke +python-ldap-2.0.8.ebuild: + version bump + + 17 Jun 2005; Michael Hanselmann + python-ldap-2.0.6.ebuild: + Stable on ppc. + + 22 May 2005; Jason Wever python-ldap-2.0.6.ebuild: + Stable on SPARC. + +*python-ldap-2.0.7 (15 May 2005) + + 15 May 2005; Bryan Østergaard + python-ldap-2.0.6.ebuild, +python-ldap-2.0.7.ebuild: + Version bump + x86 stable bump. + + 03 Jan 2005; Gustavo Zacarias + python-ldap-2.0.1.ebuild: + Stable on sparc + + 31 Dec 2004; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + + 21 Dec 2004; Bryan Østergaard + python-ldap-2.0.1.ebuild: + Stable on alpha. + + 14 Dec 2004; Carsten Lohrke python-ldap-2.0.6.ebuild: + err, whitespace + +*python-ldap-2.0.6 (14 Dec 2004) + + 14 Dec 2004; Carsten Lohrke python-ldap-2.0.1.ebuild, + +python-ldap-2.0.6.ebuild: + stable on x86, version bump + + 03 Nov 2004; python-ldap-2.0.1.ebuild: + added ppc keyword + + 04 Jul 2004; David Holm python-ldap-2.0.1.ebuild: + Added to ~ppc. + +*python-ldap-2.0.1 (03 Jul 2004) + + 03 Jul 2004; Bryan Østergaard +python-ldap-2.0.1.ebuild: + Version bump. + + 03 Jun 2004; Bryan Østergaard + python-ldap-2.0.0_pre15.ebuild: + Stable on alpha. + + 04 May 2004; Bryan Østergaard + python-ldap-2.0.0_pre05-r1.ebuild: + Add missing IUSE. + + 26 Feb 2004; Sven Blumenstein + python-ldap-2.0.0_pre13.ebuild: + Stable on sparc. + + 23 Nov 2003; Alastair Tse + python-ldap-2.0.0_pre05-r1.ebuild, python-ldap-2.0.0_pre06.ebuild, + python-ldap-2.0.0_pre13.ebuild, python-ldap-2.0.0_pre15.ebuild: + fix license. it isn't public-domain + +*python-ldap-2.0.0_pre15 (13 Nov 2003) + + 13 Nov 2003; Alastair Tse + python-ldap-2.0.0_pre13.ebuild, python-ldap-2.0.0_pre15.ebuild: + version bump + + 12 Oct 2003; Alastair Tse + python-ldap-2.0.0_pre13.ebuild: + fix sasl header (#25693), updated compile/optimise options, made compatible + with python-2.3 + + 03 Sep 2003; Alastair Tse + python-ldap-2.0.0_pre13.ebuild: + added sasl dep and tweaked the usage of ldap and ldap_r in mylibs (#25143) + +*python-ldap-2.0.0_pre13 (01 Jul 2003) + + 01 Jul 2003; Alastair Tse + python-ldap-2.0.0_pre13.ebuild: + version bump. adds sasl and ssl USE flags to correspond with openldap's USE + flags + + 22 May 2003; Alastair Tse + python-ldap-2.0.0_pre06.ebuild: + uses distutils, dynamically patch setup.cfg + +*python-ldap-2.0.0_pre06 (15 Mar 2003) + + 15 Mar 2003; Alastair Tse + python-ldap-2.0.0_pre06.ebuild: + version bump. thanks to Andy Dustman. #17519. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*python-ldap-2.0.0_pre05-r1 (24 Sep 2002) + 24 Sep 2002; Jon Nelson python-ldap-2.0.0_pre05-r1.ebuild: + Fix for bug 8275 + Thanks to jason at penguinsolutions.com (Jason Jeremias) + +*python-ldap-2.0.0_pre05 (1 Aug 2002) + + 1 Aug 2002; Jon Nelson python-ldap-2.0.0pre05.ebuild: + Update to pre05 and fix repoman errors in *this* release + +*python-ldap-2.0.0pre04 (3 Apr 2002) + + 3 Apr 2002; Bruce A. Locke python-ldap-2.0.0pre04.ebuild : + + Initial Version diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest new file mode 100644 index 0000000..1148305 --- /dev/null +++ b/dev-python/python-ldap/Manifest @@ -0,0 +1,3 @@ +EBUILD python-ldap-9999.ebuild 2431 RMD160 fdfdea2fba16d43e42350196e334281437e688e3 SHA1 d77abaaa707c56c118a55d4824df3fd932fb783a SHA256 26c65bec771c640ee528c197a0deaf742149abc2ea5add61eae3f93656b46c6a +MISC ChangeLog 13827 RMD160 e3185bcc871c5795f8d05cbf31932f75c747b4e3 SHA1 6af8120fbd2a00daed99e866b64ae958f17274d5 SHA256 ab0d608bffef37a17336f3e215ec02c13e48a26ccf51e31fb82e6611cf662848 +MISC metadata.xml 321 RMD160 44e1fa78dd3d6e6f1eaa2c928c62040af415be25 SHA1 d2a3d8be4e7791cc6cc5467a142835fc037a471c SHA256 02ca87160208a35cfcaeb6c7400be5c89d519c4f40e6f846bb7f18c281368dc2 diff --git a/dev-python/python-ldap/metadata.xml b/dev-python/python-ldap/metadata.xml new file mode 100644 index 0000000..a71ea79 --- /dev/null +++ b/dev-python/python-ldap/metadata.xml @@ -0,0 +1,12 @@ + + + + + + wking@tremily.us + W. Trevor King + + + python-ldap + + diff --git a/dev-python/python-ldap/python-ldap-9999.ebuild b/dev-python/python-ldap/python-ldap-9999.ebuild new file mode 100644 index 0000000..d2c0c91 --- /dev/null +++ b/dev-python/python-ldap/python-ldap-9999.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.8.ebuild,v 1.1 2012/03/09 09:25:39 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils multilib + +DOC_P="${PN}-docs-html-${PV}" + +DESCRIPTION="Various LDAP-related Python modules" +HOMEPAGE="http://python-ldap.sourceforge.net/ http://pypi.python.org/pypi/python-ldap" +if [[ "${PV}" == "9999" ]]; then + inherit cvs + ECVS_SERVER="${PN}.cvs.sourceforge.net:/cvsroot/${PN}" + ECVS_MODULE="${PN}" + ECVS_BRANCH="HEAD" + ECVS_AUTH="pserver" + ECVS_USER="anonymous" + ECVS_PASS="" + S="${WORKDIR}/${PN}" + SRC_URI="" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +# doc? ( http://www.python-ldap.org/doc/${DOC_P}.tar.gz )" #gone +fi + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solaris" +IUSE="examples sasl ssl" + +# If you need support for openldap-2.3.x, please use python-ldap-2.3.9. +# python team: Please do not remove python-ldap-2.3.9 from the tree. +RDEPEND=">=net-nds/openldap-2.4 + sasl? ( dev-libs/cyrus-sasl )" +DEPEND="${DEPEND} + dev-python/setuptools" + +DOCS="CHANGES README" +PYTHON_MODNAME="dsml.py ldapurl.py ldif.py ldap" + +src_unpack() { + if [[ "${PV}" == "9999" ]]; then + cvs_src_unpack + else + unpack "${A}$" + fi + cd "${S}" +} + +src_prepare() { + local rpath= + # sloppy logic, maybe better check if compiler links with GNU-ld + [[ ${CHOST} != *-darwin* ]] && rpath="-Wl,-rpath=${EPREFIX}/usr/$(get_libdir)/sasl2" + # Note: we can't add /usr/lib and /usr/lib/sasl2 to library_dirs due to a bug in py2.4 + sed -e "s:^library_dirs =.*:library_dirs =:" \ + -e "s:^include_dirs =.*:include_dirs = ${EPREFIX}/usr/include ${EPREFIX}/usr/include/sasl:" \ + -e "s:\(extra_compile_args =\).*:\1\nextra_link_args = ${rpath}:" \ + -i setup.cfg || die "error fixing setup.cfg" + + local mylibs="ldap" + if use sasl; then + use ssl && mylibs="ldap_r" + mylibs="${mylibs} sasl2" + fi + use ssl && mylibs="${mylibs} ssl crypto" + + sed -e "s:^libs = .*:libs = lber resolv ${mylibs}:" \ + -e "s:^compile.*:compile = 0:" \ + -e "s:^optimize.*:optimize = 0:" \ + -i setup.cfg || die "error setting up libs in setup.cfg" +} + +src_install() { + distutils_src_install + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r Demo || die "doins failed" + fi +} -- 2.26.2