# Template file for 'dbus-python'
pkgname=dbus-python
version=1.1.0
revision=1
build_style=gnu-configure
makedepends="pkg-config dbus-devel glib-devel dbus-glib-devel python-devel"
short_desc="D-Bus Python bindings"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz"
checksum=2dc30b53cdb2e20f8d0265af3be878e9da68745cf9ccc72f75de869094c4fc60
long_desc="
 This package provides Python bindings for D-BUS."

post_install() {
	rm -rf ${DESTDIR}/usr/share/doc
}

dbus-python_package() {
	pycompile_module="dbus"
	depends="python"
	pkg_install() {
		vmove usr
	}
}