1 |
patrick 13/06/03 06:18:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: python-ldap-2.4.12.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.124 dev-python/python-ldap/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.124&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-ldap/ChangeLog?rev=1.124&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-ldap/ChangeLog?r1=1.123&r2=1.124 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v |
20 |
retrieving revision 1.123 |
21 |
retrieving revision 1.124 |
22 |
diff -u -r1.123 -r1.124 |
23 |
--- ChangeLog 6 Apr 2013 00:50:31 -0000 1.123 |
24 |
+++ ChangeLog 3 Jun 2013 06:18:37 -0000 1.124 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/python-ldap |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.123 2013/04/06 00:50:31 naota Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.124 2013/06/03 06:18:37 patrick Exp $ |
30 |
+ |
31 |
+*python-ldap-2.4.12 (03 Jun 2013) |
32 |
+ |
33 |
+ 03 Jun 2013; Patrick Lauer <patrick@g.o> +python-ldap-2.4.12.ebuild: |
34 |
+ Bump |
35 |
|
36 |
06 Apr 2013; Naohiro Aota <naota@g.o> python-ldap-2.4.10-r1.ebuild: |
37 |
Add ~x86-fbsd. |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/python-ldap/python-ldap-2.4.12.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.12.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.12.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: python-ldap-2.4.12.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.4.12.ebuild,v 1.1 2013/06/03 06:18:37 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
# pypy: bug #458558 (wrong linker options due to not respecting CC) |
55 |
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
56 |
|
57 |
inherit distutils-r1 multilib |
58 |
|
59 |
DESCRIPTION="Various LDAP-related Python modules" |
60 |
HOMEPAGE="http://www.python-ldap.org http://pypi.python.org/pypi/python-ldap" |
61 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="PSF-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris" |
66 |
IUSE="doc examples sasl ssl" |
67 |
|
68 |
# If you need support for openldap-2.3.x, please use python-ldap-2.3.9. |
69 |
# python team: Please do not remove python-ldap-2.3.9 from the tree. |
70 |
RDEPEND=">=net-nds/openldap-2.4 |
71 |
dev-python/pyasn1[${PYTHON_USEDEP}] |
72 |
sasl? ( dev-libs/cyrus-sasl )" |
73 |
DEPEND="${RDEPEND} |
74 |
dev-python/setuptools[${PYTHON_USEDEP}] |
75 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
76 |
|
77 |
python_prepare_all() { |
78 |
sed -e "s:^library_dirs =.*:library_dirs = /usr/$(get_libdir) /usr/$(get_libdir)/sasl2:" \ |
79 |
-e "s:^include_dirs =.*:include_dirs = ${EPREFIX}/usr/include ${EPREFIX}/usr/include/sasl:" \ |
80 |
-i setup.cfg || die "error fixing setup.cfg" |
81 |
|
82 |
local mylibs="ldap" |
83 |
if use sasl; then |
84 |
use ssl && mylibs="ldap_r" |
85 |
mylibs="${mylibs} sasl2" |
86 |
else |
87 |
sed -e 's/HAVE_SASL//g' -i setup.cfg || die |
88 |
fi |
89 |
use ssl && mylibs="${mylibs} ssl crypto" |
90 |
use elibc_glibc && mylibs="${mylibs} resolv" |
91 |
|
92 |
sed -e "s:^libs = .*:libs = lber ${mylibs}:" \ |
93 |
-i setup.cfg || die "error setting up libs in setup.cfg" |
94 |
|
95 |
distutils-r1_python_prepare_all |
96 |
} |
97 |
|
98 |
python_compile_all() { |
99 |
if use doc; then |
100 |
cd Doc || die |
101 |
sphinx-build -b html -d _build/doctrees . _build/html || die |
102 |
fi |
103 |
} |
104 |
|
105 |
python_test() { |
106 |
# XXX: the tests supposedly can start local slapd |
107 |
# but it requires some manual config, it seems. |
108 |
|
109 |
"${PYTHON}" Tests/t_ldapurl.py || die "Tests fail with ${EPYTHON}" |
110 |
} |
111 |
|
112 |
python_install_all() { |
113 |
use doc && local HTML_DOCS=( Doc/_build/html/. ) |
114 |
|
115 |
distutils-r1_python_install_all |
116 |
|
117 |
if use examples; then |
118 |
dodoc -r Demo |
119 |
docompress -x /usr/share/doc/${FP}/Demo |
120 |
fi |
121 |
} |