1 |
arfrever 10/03/02 18:56:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: python-ldap-2.3.11.ebuild |
5 |
Removed: python-ldap-2.3.9.ebuild |
6 |
Log: |
7 |
Version bump. Delete older ebuild. |
8 |
(Portage version: 15515-svn/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.76 dev-python/python-ldap/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.76&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.76&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/ChangeLog?r1=1.75&r2=1.76 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v |
20 |
retrieving revision 1.75 |
21 |
retrieving revision 1.76 |
22 |
diff -u -r1.75 -r1.76 |
23 |
--- ChangeLog 10 Jan 2010 17:41:52 -0000 1.75 |
24 |
+++ ChangeLog 2 Mar 2010 18:56:29 -0000 1.76 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/python-ldap |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.75 2010/01/10 17:41:52 ranger Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.76 2010/03/02 18:56:29 arfrever Exp $ |
30 |
+ |
31 |
+*python-ldap-2.3.11 (02 Mar 2010) |
32 |
+ |
33 |
+ 02 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 |
+ -python-ldap-2.3.9.ebuild, +python-ldap-2.3.11.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
10 Jan 2010; Brent Baude <ranger@g.o> python-ldap-2.3.10.ebuild: |
38 |
stable ppc64, bug 295694 |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/python-ldap/python-ldap-2.3.11.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.11.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-ldap/python-ldap-2.3.11.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: python-ldap-2.3.11.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 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.11.ebuild,v 1.1 2010/03/02 18:56:29 arfrever Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
PYTHON_DEPEND="2" |
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/ http://pypi.python.org/pypi/python-ldap" |
65 |
|
66 |
SLOT="0" |
67 |
LICENSE="PYTHON" |
68 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
69 |
IUSE="doc examples sasl ssl" |
70 |
|
71 |
RDEPEND=">=net-nds/openldap-2.4 |
72 |
sasl? ( dev-libs/cyrus-sasl )" |
73 |
DEPEND="${DEPEND} |
74 |
dev-python/setuptools" |
75 |
RESTRICT_PYTHON_ABIS="3.*" |
76 |
|
77 |
DOCS="CHANGES README" |
78 |
PYTHON_MODNAME="dsml.py ldapurl.py ldif.py ldap" |
79 |
|
80 |
src_prepare() { |
81 |
# Note: we can't add /usr/lib and /usr/lib/sasl2 to library_dirs due to a bug in py2.4 |
82 |
sed -e "s:^library_dirs =.*:library_dirs =:" \ |
83 |
-e "s:^include_dirs =.*:include_dirs = /usr/include /usr/include/sasl:" \ |
84 |
-e "s:\(extra_compile_args =\).*:\1\nextra_link_args = -Wl,-rpath=/usr/$(get_libdir) -Wl,-rpath=/usr/$(get_libdir)/sasl2:" \ |
85 |
-i setup.cfg || die "error fixing setup.cfg" |
86 |
|
87 |
local mylibs="ldap" |
88 |
if use sasl; then |
89 |
use ssl && mylibs="ldap_r" |
90 |
mylibs="${mylibs} sasl2" |
91 |
fi |
92 |
use ssl && mylibs="${mylibs} ssl crypto" |
93 |
|
94 |
sed -e "s:^libs = .*:libs = lber resolv ${mylibs}:" \ |
95 |
-e "s:^compile.*:compile = 0:" \ |
96 |
-e "s:^optimize.*:optimize = 0:" \ |
97 |
-i setup.cfg || die "error setting up libs in setup.cfg" |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
distutils_src_install |
102 |
|
103 |
use doc && dohtml -r "${WORKDIR}/${DOC_P}"/* |
104 |
if use examples; then |
105 |
insinto /usr/share/doc/${PF} |
106 |
doins -r Demo |
107 |
fi |
108 |
} |