Fix dbus dep wrt bug #154521.
authorPiotr Jaroszyński <peper@gentoo.org>
Mon, 20 Nov 2006 18:03:33 +0000 (18:03 +0000)
committerPiotr Jaroszyński <peper@gentoo.org>
Mon, 20 Nov 2006 18:03:33 +0000 (18:03 +0000)
Package-Manager: portage-2.1.2_rc2

dev-python/telepathy-python/Manifest
dev-python/telepathy-python/telepathy-python-0.13.3.ebuild

index 29a4134525fcc41f005541b2cc9d07c751dd608f..2ec63ca6a85feba55628b5b808c8d5d1b00e45c8 100644 (file)
@@ -2,10 +2,10 @@
 Hash: SHA1
 
 DIST telepathy-python-0.13.3.tar.gz 51339 RMD160 0c883134f4bf23b0e82424a1f3919692ea59f850 SHA1 fd9024d2909f5964b7680967579b9d984a52f704 SHA256 4006e61aaed38cc6e0eaac52162d6e616a114b1148cf1f9ca5e70fab299e90a8
-EBUILD telepathy-python-0.13.3.ebuild 680 RMD160 f5e0d252da50f91ab50a4b91e4c234446594a156 SHA1 effbcaa0320ecc9111dc2e7a06445f41cb0f752b SHA256 f394ea2b123e3d41655d893d28f62f78c98fbac945530db4bd93cc01054406ed
-MD5 650b4fc47806497ce15cb1eca1aabfff telepathy-python-0.13.3.ebuild 680
-RMD160 f5e0d252da50f91ab50a4b91e4c234446594a156 telepathy-python-0.13.3.ebuild 680
-SHA256 f394ea2b123e3d41655d893d28f62f78c98fbac945530db4bd93cc01054406ed telepathy-python-0.13.3.ebuild 680
+EBUILD telepathy-python-0.13.3.ebuild 885 RMD160 f2e310ee01a6070dc82d8cebc208851fe3b69dcd SHA1 775f880dd8cef2d5609cb1b9e0f00b1558cd5c7e SHA256 96364bf6abf755fb91e8f501f13b6a19bbf22a4df6b914f74d70df2022a93469
+MD5 330195f27504cb6ba257886a948dbff9 telepathy-python-0.13.3.ebuild 885
+RMD160 f2e310ee01a6070dc82d8cebc208851fe3b69dcd telepathy-python-0.13.3.ebuild 885
+SHA256 96364bf6abf755fb91e8f501f13b6a19bbf22a4df6b914f74d70df2022a93469 telepathy-python-0.13.3.ebuild 885
 MISC ChangeLog 518 RMD160 7c1ddc6c3eaadd22c925bc7df94a9822b753f279 SHA1 ed8026323879fea05277912e9a06f948db6426f8 SHA256 b79978bd2d39e39c1061a4e0473e28cb3943685b7ce316958df21ff0032a7942
 MD5 870ec49ba680493cf9380c7ddec19123 ChangeLog 518
 RMD160 7c1ddc6c3eaadd22c925bc7df94a9822b753f279 ChangeLog 518
@@ -20,7 +20,7 @@ SHA256 e97513dd15e59051323f83bedb34c5793644015eab4fb66b850342270a0b8b6b files/di
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFYepoppoStNGKGywRAuCSAKCdZ/uOO4cwi+cQJrbxN+f4h0hvnwCgnSAb
-R7LijcoFVVdYwDIUDAgawLs=
-=n+z8
+iD8DBQFFYe38ppoStNGKGywRAvMcAJ9P/E6U2WGcsdU10I8gXoWyTMJPrQCfcsxX
+AItWaBf4ksqonG6nFbh+BoM=
+=kmdH
 -----END PGP SIGNATURE-----
index a6236a5d66c04323dcf1942fcf8d55288781aadb..4d5b1e4ac136ea6d76644c029c24f8387757fb0a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/telepathy-python/telepathy-python-0.13.3.ebuild,v 1.2 2006/11/20 17:48:17 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/telepathy-python/telepathy-python-0.13.3.ebuild,v 1.3 2006/11/20 18:03:33 peper Exp $
 
 inherit distutils
 
@@ -17,3 +17,12 @@ DEPEND="|| ( >=dev-libs/dbus-python-0.71
                ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.34 ) )"
 
 RDEPEND="${DEPEND}"
+
+pkg_setup() {
+       if has_version <sys-apps/dbus-0.90; then
+               if ! built_with_use sys-apps/dbus python; then
+                       eerror "You need to build dbus with USE=python."
+                       die "dbus needs python bindings"
+               fi
+       fi
+}