python-dbus: depends on dbus

This commit is contained in:
Alessio Sergi 2014-11-15 19:40:00 +01:00
parent 056992c7e7
commit f12a0d2861

View File

@ -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 <xtraeme@gmail.com>"
@ -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