1 |
neurogeek 08/08/22 00:01:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ldaptor-0.0.43.ebuild |
5 |
Log: |
6 |
Version bump. Bug #167164 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 dev-python/ldaptor/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 19 Aug 2008 13:05:41 -0000 1.21 |
23 |
+++ ChangeLog 22 Aug 2008 00:01:12 -0000 1.22 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-python/ldaptor |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.21 2008/08/19 13:05:41 hawking Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.22 2008/08/22 00:01:12 neurogeek Exp $ |
29 |
+ |
30 |
+*ldaptor-0.0.43 (21 Aug 2008) |
31 |
+ |
32 |
+ 21 Aug 2008; Jesus Rivero <neurogeek@g.o> |
33 |
+ +files/ldaptor-0.0.43-usage-exception.patch, |
34 |
+ +files/ldaptor-0.0.43-zope_interface.patch, +ldaptor-0.0.43.ebuild: |
35 |
+ Version bump. Bug #167164 |
36 |
|
37 |
19 Aug 2008; Ali Polatel <hawking@g.o> ldaptor-0.0.42.ebuild: |
38 |
Use python_get_sitedir, quoting, keyword ~amd64, set PYTHONPATH=. for |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/ldaptor/ldaptor-0.0.43.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.43.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.43.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: ldaptor-0.0.43.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.43.ebuild,v 1.1 2008/08/22 00:01:12 neurogeek Exp $ |
52 |
|
53 |
inherit distutils |
54 |
|
55 |
DESCRIPTION="set of LDAP utilities for use from the command line" |
56 |
HOMEPAGE="http://www.inoi.fi/open/trac/ldaptor" |
57 |
SRC_URI="mirror://debian/pool/main/l/ldaptor/${PN}_${PV}.orig.tar.gz |
58 |
doc? ( mirror://gentoo/${PN}-0.0.42-dia-pictures.tar.gz )" |
59 |
|
60 |
|
61 |
LICENSE="LGPL-2.1" |
62 |
SLOT="0" |
63 |
KEYWORDS="~x86" |
64 |
IUSE="web doc samba" |
65 |
|
66 |
DEPEND=">=dev-python/twisted-2 |
67 |
dev-python/twisted-names |
68 |
dev-python/twisted-mail |
69 |
dev-python/pyparsing |
70 |
web? ( |
71 |
dev-python/webut |
72 |
>=dev-python/nevow-0.3 |
73 |
dev-python/twisted-web |
74 |
) |
75 |
doc? ( |
76 |
dev-python/epydoc |
77 |
dev-libs/libxslt |
78 |
app-text/docbook-xsl-stylesheets |
79 |
) |
80 |
samba? ( dev-python/pycrypto )" |
81 |
|
82 |
DOCS="README TODO ldaptor.schema" |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${A} |
86 |
cd "${S}" |
87 |
epatch "${FILESDIR}/${P}-zope_interface.patch" |
88 |
epatch "${FILESDIR}/${P}-usage-exception.patch" |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
distutils_src_compile |
93 |
if use doc; then |
94 |
cp "${WORKDIR}/ldaptor-pictures/"*.dia.png doc/ |
95 |
cd doc |
96 |
# skip the slides generation because it doesn't work |
97 |
sed -e "/\$(SLIDES:%\.xml=%\/index\.html) /d" -i Makefile |
98 |
# replace the docbook.xsl with something that exists |
99 |
stylesheet='xsl-stylesheets' |
100 |
sed -e "s#stylesheet/xsl/nwalsh#${stylesheet}#" -i Makefile |
101 |
emake || die "make failed" |
102 |
cd .. |
103 |
fi |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
distutils_src_install |
108 |
|
109 |
if ! use web; then |
110 |
rm "${D}"/usr/bin/ldaptor-webui || die "couldn't rm ldaptor-webui" |
111 |
rm -rf "${D}"/$(python_get_sitedir)/ldaptor/apps/webui || die "couldn't prune webui" |
112 |
else |
113 |
cp ldaptor/apps/webui/skin-default.html "${D}"/$(python_get_sitedir)/ldaptor/apps/webui \ |
114 |
|| die "couldn't copy default skin" |
115 |
fi |
116 |
|
117 |
# install examples |
118 |
if use doc; then |
119 |
insinto /usr/share/doc/${PF} |
120 |
doins -r doc/api doc/ldap-intro doc/examples |
121 |
if use web; then |
122 |
doins -r doc/examples.webui |
123 |
fi |
124 |
fi |
125 |
} |
126 |
|
127 |
src_test() { |
128 |
local trialopts |
129 |
if ! has_version ">=dev-python/twisted-2.1"; then |
130 |
trialopts=-R |
131 |
fi |
132 |
PYTHONPATH=. trial ${trialopts} ldaptor || die "test failed" |
133 |
} |