Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 176612
Collapse All | Expand All

(-)dbus-python-0.80.2.ebuild (-5 / +15 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.80.2.ebuild,v 1.11 2007/06/24 21:33:38 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.80.2.ebuild,v 1.11 2007/06/24 21:33:38 vapier Exp $
4
4
5
inherit distutils
5
inherit python multilib
6
6
7
DESCRIPTION="Python bindings for the D-Bus messagebus."
7
DESCRIPTION="Python bindings for the D-Bus messagebus."
8
HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings \
8
HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings \
Lines 22-27 Link Here
22
	test? ( dev-python/pygobject )
22
	test? ( dev-python/pygobject )
23
	dev-util/pkgconfig"
23
	dev-util/pkgconfig"
24
24
25
src_unpack() {
26
	unpack ${A}
27
	cd "${S}"
28
29
	# don't run py-compile
30
	sed -i \
31
		-e '/if test -n "$$dlist"; then/,/else :; fi/d' \
32
		dbus/Makefile.in Makefile.in || die "sed in Makefile.in failed"
33
}
34
25
src_compile() {
35
src_compile() {
26
	econf --docdir=/usr/share/doc/dbus-python-${PV} || die "econf failed"
36
	econf --docdir=/usr/share/doc/dbus-python-${PV} || die "econf failed"
27
	emake || die "emake failed"
37
	emake || die "emake failed"
Lines 31-40 Link Here
31
	make DESTDIR="${D}" install || die "make install failed"
41
	make DESTDIR="${D}" install || die "make install failed"
32
}
42
}
33
43
34
pkg_postrm() {
44
pkg_postinst() {
35
	python_mod_cleanup "${ROOT}"/usr/lib/python*/site-packages/dbus
45
	python_mod_optimize ${ROOT}usr/$(get_libdir)/python*/site-packages/dbus
36
}
46
}
37
47
38
pkg_postinst() {
48
pkg_postrm() {
39
	python_mod_optimize "${ROOT}"/usr/lib/python*/site-packages/dbus
49
	python_mod_cleanup
40
}
50
}

Return to bug 176612