diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-05-13 14:58:34 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2007-05-13 14:58:34 +0000 |
commit | ae8ed7daca3bebad6360a7e9d20afe0c7b7970d9 (patch) | |
tree | 7cb90dc8a76515ea29a7fc52bc82286b79881779 /dev-python/dbus-python/dbus-python-0.81.0.ebuild | |
parent | Add 2.6.22 patch (diff) | |
download | gentoo-2-ae8ed7daca3bebad6360a7e9d20afe0c7b7970d9.tar.gz gentoo-2-ae8ed7daca3bebad6360a7e9d20afe0c7b7970d9.tar.bz2 gentoo-2-ae8ed7daca3bebad6360a7e9d20afe0c7b7970d9.zip |
rev bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-python/dbus-python/dbus-python-0.81.0.ebuild')
-rw-r--r-- | dev-python/dbus-python/dbus-python-0.81.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/dbus-python/dbus-python-0.81.0.ebuild b/dev-python/dbus-python/dbus-python-0.81.0.ebuild new file mode 100644 index 000000000000..5d1286143f75 --- /dev/null +++ b/dev-python/dbus-python/dbus-python-0.81.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.81.0.ebuild,v 1.1 2007/05/13 14:58:34 cardoe Exp $ + +inherit distutils + +DESCRIPTION="Python bindings for the D-Bus messagebus." +HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings \ +http://dbus.freedesktop.org/doc/dbus-python/" +SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="|| ( GPL-2 AFL-2.1 )" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" + +RDEPEND=">=dev-lang/python-2.4 + >=dev-python/pyrex-0.9.3-r2 + >=dev-libs/dbus-glib-0.71 + >=sys-apps/dbus-0.91" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_compile() { + econf --docdir=/usr/share/doc/dbus-python-${PV} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" +} + +pkg_postrm() { + python_mod_cleanup "${ROOT}"/usr/lib/python*/site-packages/dbus +} + +pkg_postinst() { + python_mod_optimize "${ROOT}"/usr/lib/python*/site-packages/dbus +} |