summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-08-19 13:05:41 +0000
committerAli Polatel <hawking@gentoo.org>2008-08-19 13:05:41 +0000
commit503a4e29857fc6b6f2a32c80762272443a808c57 (patch)
tree69c44f7017b45fa64dc1d72bd860f21986399434 /dev-python/ldaptor
parentVersion bump (bug #235102 by Vladimir), PS3 drivers have been merged (diff)
downloadhistorical-503a4e29857fc6b6f2a32c80762272443a808c57.tar.gz
historical-503a4e29857fc6b6f2a32c80762272443a808c57.tar.bz2
historical-503a4e29857fc6b6f2a32c80762272443a808c57.zip
Use python_get_sitedir, quoting, keyword ~amd64, set PYTHONPATH=. for src_test.
Package-Manager: portage--svn.wrabbit
Diffstat (limited to 'dev-python/ldaptor')
-rw-r--r--dev-python/ldaptor/ChangeLog6
-rw-r--r--dev-python/ldaptor/Manifest12
-rw-r--r--dev-python/ldaptor/ldaptor-0.0.42.ebuild16
3 files changed, 19 insertions, 15 deletions
diff --git a/dev-python/ldaptor/ChangeLog b/dev-python/ldaptor/ChangeLog
index 9bbde4f22c1b..7f5bed8a7000 100644
--- a/dev-python/ldaptor/ChangeLog
+++ b/dev-python/ldaptor/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/ldaptor
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.20 2008/08/06 20:16:53 neurogeek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.21 2008/08/19 13:05:41 hawking Exp $
+
+ 19 Aug 2008; Ali Polatel <hawking@gentoo.org> ldaptor-0.0.42.ebuild:
+ Use python_get_sitedir, quoting, keyword ~amd64, set PYTHONPATH=. for
+ src_test.
06 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> metadata.xml,
ldaptor-0.0.6.ebuild, ldaptor-0.0.42.ebuild:
diff --git a/dev-python/ldaptor/Manifest b/dev-python/ldaptor/Manifest
index 4fc634644df3..675d0e6d92c1 100644
--- a/dev-python/ldaptor/Manifest
+++ b/dev-python/ldaptor/Manifest
@@ -5,14 +5,14 @@ AUX ldaptor-0.0.42-trial-2.1-compat.patch 794 RMD160 68f9c8e6dd4dc0dfe128dac5729
DIST ldaptor-0.0.42-dia-pictures.tar.gz 74408 RMD160 5940aea2fa95174bf8c997213de21e8264b38cfd SHA1 1d187242f337e04056316e395f99873c0497dfe6 SHA256 17b60874e9b5d6d6bf50f6a72a1a6b5b253d469df50b1bbcdd9100147329ef60
DIST ldaptor_0.0.42.tar.gz 203500 RMD160 0d52d998333842680978be9792a4079e9a7ac96b SHA1 6254af3de12b58cfab76fc9dcaebf5fdd2438093 SHA256 152b389914108c213c2ff625f3ecfef6056b84472d50dca1486bd9c706cf2cbe
DIST ldaptor_0.0.6.tar.gz 63278 RMD160 2bba29f38388f37d62e9625bbcda39c3428be901 SHA1 83b5291e8ccbbd768c55335eb24926dff3a07156 SHA256 a77f15d6a6f50f13943a17c12c879a82752697586e9e90683b47d81b74b97dc4
-EBUILD ldaptor-0.0.42.ebuild 2071 RMD160 ead812171f9f07e31743673c9f6757ef22e59987 SHA1 49000fc4e7cd4df67433113b9c9a99c21257b915 SHA256 8af9ee2d2c2840312d725153fd1d19cff982ce8526b18bbf7c9b1d4d8acf5839
+EBUILD ldaptor-0.0.42.ebuild 2080 RMD160 3982c3f2aced1c9483f121222227bfa2c946962d SHA1 fa5e112a6e6ed0467abe5a2f0b31c248bcaabf6b SHA256 fadcc71b81a5e29880153304cec43a2506a8ac93e225cdf302c37d03a5650407
EBUILD ldaptor-0.0.6.ebuild 1259 RMD160 59a25fc8a0e3f31c23d96095a135f2f7810b6a5b SHA1 e0accde0ee0069042006709c862c4672267b0507 SHA256 a27461ee379b221fd6077786995693637ff3de48a649f77b40bdc827dab01ab3
-MISC ChangeLog 2639 RMD160 5d333681403f2cc31b402b4bee64b97d34761c74 SHA1 ace956d8021a0f2f06d4c4244abe4356ce6d6abf SHA256 2749378150431801af62aedeb5259b7a93d3a82f4b88015492f1ee9f7a0e2bbf
+MISC ChangeLog 2793 RMD160 19dadd7370d6f2ce7cda906d49a8aa9760868026 SHA1 d7dfd17b38c78f062c3e2e15aa1f7f000c8b915c SHA256 f34db52808b151a4231e326c7b78ddc5e4e811dfe0f599f5608a7abd76e39f59
MISC metadata.xml 270 RMD160 7a98f8f507fd60d0ccf93eb274c53a6f11fe3e1e SHA1 5ba78e176fd70696b16ce2eb0262a876e8b5ae1b SHA256 51e81eb0c3b15224e9a0a3e25ed53c2b8bf379ae0e004cf33f4f6391c6161a47
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFImga7dIssYB9vBoMRAtZJAJ42fH0skeUS5bZlo49FRoZpyIcyAQCfR3ey
-EGgs5oCzl1J41SWjWgBQ1gQ=
-=A6Hk
+iEYEARECAAYFAkiqxS0ACgkQQU4yORhF8iD6RACgjG726cUjzWUGQOQvPWmEzDQz
+4L4AnR5rsVhnOnxPZgvw2jKvGjUWD+/C
+=zZEf
-----END PGP SIGNATURE-----
diff --git a/dev-python/ldaptor/ldaptor-0.0.42.ebuild b/dev-python/ldaptor/ldaptor-0.0.42.ebuild
index 1d276ef2e996..aca517bd3e8d 100644
--- a/dev-python/ldaptor/ldaptor-0.0.42.ebuild
+++ b/dev-python/ldaptor/ldaptor-0.0.42.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.42.ebuild,v 1.6 2008/08/06 20:16:53 neurogeek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.42.ebuild,v 1.7 2008/08/19 13:05:41 hawking Exp $
inherit distutils eutils
@@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/l/ldaptor/${PN}_${PV}.tar.gz
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha ~ia64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
IUSE="web doc samba"
DEPEND=">=dev-python/twisted-2
@@ -34,8 +34,10 @@ DOCS="README TODO ldaptor.schema"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-trial-2.1-compat.patch"
- cp "${WORKDIR}/ldaptor-pictures/"*.dia.png doc/
+ epatch "${FILESDIR}"/${P}-trial-2.1-compat.patch
+ if use doc; then
+ cp "${WORKDIR}"/ldaptor-pictures/*.dia.png doc/
+ fi
}
src_compile() {
@@ -56,11 +58,9 @@ src_compile() {
src_install() {
distutils_src_install
- python_version
-
if ! use web; then
rm "${D}"/usr/bin/ldaptor-webui || die "couldn't rm ldaptor-webui"
- rm -rf "${D}"/usr/lib/python${PYVER}/site-packages/ldaptor/apps/webui || die "couldn't prune webui"
+ rm -rf "${D}"/$(python_get_sitedir)/ldaptor/apps/webui || die "couldn't prune webui"
fi
# install examples
@@ -78,5 +78,5 @@ src_test() {
if ! has_version ">=dev-python/twisted-2.1"; then
trialopts=-R
fi
- trial ${trialopts} ldaptor || die "test failed"
+ PYTHONPATH=. trial ${trialopts} ldaptor || die "test failed"
}