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.9.ebuild |
Date: | Wed, 05 Aug 2009 00:27:24 |
Message-Id: | E1MYULe-0001RO-Ri@stork.gentoo.org |
1 | arfrever 09/08/05 00:27:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: python-ldap-2.3.9.ebuild |
5 | Log: |
6 | Version bump. Set SUPPORT_PYTHON_ABIS. |
7 | (Portage version: 13912-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.59 dev-python/python-ldap/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.59&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.59&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?r1=1.58&r2=1.59 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v |
19 | retrieving revision 1.58 |
20 | retrieving revision 1.59 |
21 | diff -u -r1.58 -r1.59 |
22 | --- ChangeLog 10 May 2009 16:15:15 -0000 1.58 |
23 | +++ ChangeLog 5 Aug 2009 00:27:18 -0000 1.59 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/python-ldap |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.58 2009/05/10 16:15:15 ssuominen Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.59 2009/08/05 00:27:18 arfrever Exp $ |
29 | + |
30 | +*python-ldap-2.3.9 (05 Aug 2009) |
31 | + |
32 | + 05 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +python-ldap-2.3.9.ebuild: |
34 | + Version bump. Set SUPPORT_PYTHON_ABIS. |
35 | |
36 | 10 May 2009; Samuli Suominen <ssuominen@g.o> |
37 | python-ldap-2.3.5.ebuild, +files/python-ldap-2.3.5-gcc44.patch: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/python-ldap/python-ldap-2.3.9.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.9.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.9.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: python-ldap-2.3.9.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.9.ebuild,v 1.1 2009/08/05 00:27:18 arfrever Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | NEED_PYTHON="2.4" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | |
57 | inherit distutils eutils multilib |
58 | |
59 | DOC_P="${PN}-docs-html-2.3.7" |
60 | |
61 | DESCRIPTION="Various LDAP-related Python modules" |
62 | SRC_URI="http://pypi.python.org/packages/source/p/python-ldap/${P}.tar.gz |
63 | doc? ( http://www.python-ldap.org/doc/${DOC_P}.tar.gz )" |
64 | HOMEPAGE="http://python-ldap.sourceforge.net/" |
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 | |
75 | RESTRICT_PYTHON_ABIS="3*" |
76 | |
77 | src_prepare() { |
78 | # Note: we can't add /usr/lib and /usr/lib/sasl2 to library_dirs due to a bug in py2.4 |
79 | sed -e "s:^library_dirs =.*:library_dirs =:" \ |
80 | -e "s:^include_dirs =.*:include_dirs = /usr/include /usr/include/sasl:" \ |
81 | -e "s:\(extra_compile_args =\).*:\1\nextra_link_args = -Wl,-rpath=/usr/$(get_libdir) -Wl,-rpath=/usr/$(get_libdir)/sasl2:" \ |
82 | -i setup.cfg || die "error fixing setup.cfg" |
83 | |
84 | local mylibs="ldap" |
85 | if use sasl; then |
86 | use ssl && mylibs="ldap_r" |
87 | mylibs="${mylibs} sasl2" |
88 | fi |
89 | use ssl && mylibs="${mylibs} ssl crypto" |
90 | |
91 | sed -e "s:^libs = .*:libs = lber resolv ${mylibs}:" \ |
92 | -e "s:^compile.*:compile = 0:" \ |
93 | -e "s:^optimize.*:optimize = 0:" \ |
94 | -i setup.cfg || die "error setting up libs in setup.cfg" |
95 | } |
96 | |
97 | src_install() { |
98 | distutils_src_install |
99 | use doc && dohtml -r "${WORKDIR}/${DOC_P}"/* |
100 | if use examples; then |
101 | insinto /usr/share/doc/${PF} |
102 | doins -r Demo |
103 | fi |
104 | } |
105 | |
106 | pkg_postinst() { |
107 | python_mod_optimize dsml.py ldapurl.py ldif.py ldap |
108 | } |
109 | |
110 | pkg_postrm() { |
111 | python_mod_cleanup |
112 | } |