From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/python-ldap: ChangeLog python-ldap-2.3.10.ebuild python-ldap-2.2.1.ebuild |
Date: | Sun, 01 Nov 2009 02:04:52 |
Message-Id: | E1N4PoI-0006JW-Fw@stork.gentoo.org |
1 | arfrever 09/11/01 02:04:50 |
2 | |
3 | Modified: ChangeLog |
4 | Added: python-ldap-2.3.10.ebuild |
5 | Removed: python-ldap-2.2.1.ebuild |
6 | Log: |
7 | Version bump. |
8 | (Portage version: 14770-svn/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.69 dev-python/python-ldap/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.69&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.69&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?r1=1.68&r2=1.69 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v |
20 | retrieving revision 1.68 |
21 | retrieving revision 1.69 |
22 | diff -u -r1.68 -r1.69 |
23 | --- ChangeLog 5 Oct 2009 16:39:56 -0000 1.68 |
24 | +++ ChangeLog 1 Nov 2009 02:04:49 -0000 1.69 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/python-ldap |
27 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.68 2009/10/05 16:39:56 armin76 Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.69 2009/11/01 02:04:49 arfrever Exp $ |
30 | + |
31 | +*python-ldap-2.3.10 (01 Nov 2009) |
32 | + |
33 | + 01 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 | + -python-ldap-2.2.1.ebuild, +python-ldap-2.3.10.ebuild: |
35 | + Version bump. |
36 | |
37 | 05 Oct 2009; Raúl Porcel <armin76@g.o> python-ldap-2.3.9.ebuild: |
38 | ia64/sparc stable wrt #284973 |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/python-ldap/python-ldap-2.3.10.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.10.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.10.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: python-ldap-2.3.10.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.10.ebuild,v 1.1 2009/11/01 02:04:49 arfrever Exp $ |
52 | |
53 | EAPI="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | |
56 | inherit distutils eutils multilib |
57 | |
58 | DOC_P="${PN}-docs-html-2.3.7" |
59 | |
60 | DESCRIPTION="Various LDAP-related Python modules" |
61 | SRC_URI="http://pypi.python.org/packages/source/p/python-ldap/${P}.tar.gz |
62 | doc? ( http://www.python-ldap.org/doc/${DOC_P}.tar.gz )" |
63 | HOMEPAGE="http://python-ldap.sourceforge.net/ http://pypi.python.org/pypi/python-ldap" |
64 | |
65 | SLOT="0" |
66 | LICENSE="PYTHON" |
67 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
68 | IUSE="doc examples sasl ssl" |
69 | |
70 | RDEPEND=">=net-nds/openldap-2.3 |
71 | sasl? ( dev-libs/cyrus-sasl )" |
72 | DEPEND="${DEPEND} |
73 | dev-python/setuptools" |
74 | RESTRICT_PYTHON_ABIS="3.*" |
75 | |
76 | DOCS="CHANGES README" |
77 | |
78 | src_prepare() { |
79 | # Note: we can't add /usr/lib and /usr/lib/sasl2 to library_dirs due to a bug in py2.4 |
80 | sed -e "s:^library_dirs =.*:library_dirs =:" \ |
81 | -e "s:^include_dirs =.*:include_dirs = /usr/include /usr/include/sasl:" \ |
82 | -e "s:\(extra_compile_args =\).*:\1\nextra_link_args = -Wl,-rpath=/usr/$(get_libdir) -Wl,-rpath=/usr/$(get_libdir)/sasl2:" \ |
83 | -i setup.cfg || die "error fixing setup.cfg" |
84 | |
85 | local mylibs="ldap" |
86 | if use sasl; then |
87 | use ssl && mylibs="ldap_r" |
88 | mylibs="${mylibs} sasl2" |
89 | fi |
90 | use ssl && mylibs="${mylibs} ssl crypto" |
91 | |
92 | sed -e "s:^libs = .*:libs = lber resolv ${mylibs}:" \ |
93 | -e "s:^compile.*:compile = 0:" \ |
94 | -e "s:^optimize.*:optimize = 0:" \ |
95 | -i setup.cfg || die "error setting up libs in setup.cfg" |
96 | } |
97 | |
98 | src_install() { |
99 | distutils_src_install |
100 | |
101 | use doc && dohtml -r "${WORKDIR}/${DOC_P}"/* |
102 | if use examples; then |
103 | insinto /usr/share/doc/${PF} |
104 | doins -r Demo |
105 | fi |
106 | } |
107 | |
108 | pkg_postinst() { |
109 | python_mod_optimize dsml.py ldapurl.py ldif.py ldap |
110 | } |
111 | |
112 | pkg_postrm() { |
113 | python_mod_cleanup |
114 | } |