diff --git a/srcpkgs/python-dbus/template b/srcpkgs/python-dbus/template index e9d8a23f20a..38b2b7bc446 100644 --- a/srcpkgs/python-dbus/template +++ b/srcpkgs/python-dbus/template @@ -1,14 +1,13 @@ # Template file for 'python-dbus' pkgname=python-dbus version=1.2.0 -revision=4 +revision=5 lib32disabled=yes wrksrc="dbus-python-${version}" build_style=gnu-configure hostmakedepends="pkg-config python-devel python3.4-devel" makedepends="glib-devel dbus-glib-devel ${hostmakedepends/pkg-config/}" -depends="python" -replaces="dbus-python>=0" +depends="python dbus" pycompile_module="dbus" short_desc="D-Bus Python2 bindings" maintainer="Juan RP " @@ -56,21 +55,17 @@ do_install() { python3.4-dbus_package() { lib32disabled=yes - depends="python3.4" - replaces="dbus-python3>=0" + depends="python3.4 dbus" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { - vmkdir usr/lib - mv ${DESTDIR}/usr/lib/python3.4 ${PKGDESTDIR}/usr/lib + vmove usr/lib/python3.4 } } python-dbus-devel_package() { lib32disabled=yes depends="python-devel python3.4-devel - python-dbus>=${version}_${revision} - python3.4-dbus>=${version}_${revision}" - replaces="dbus-python-devel>=0" + python-dbus>=${version}_${revision} python3.4-dbus>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include