python-dbus: depends on dbus
This commit is contained in:
parent
056992c7e7
commit
f12a0d2861
|
@ -1,14 +1,13 @@
|
||||||
# Template file for 'python-dbus'
|
# Template file for 'python-dbus'
|
||||||
pkgname=python-dbus
|
pkgname=python-dbus
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=4
|
revision=5
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
wrksrc="dbus-python-${version}"
|
wrksrc="dbus-python-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config python-devel python3.4-devel"
|
hostmakedepends="pkg-config python-devel python3.4-devel"
|
||||||
makedepends="glib-devel dbus-glib-devel ${hostmakedepends/pkg-config/}"
|
makedepends="glib-devel dbus-glib-devel ${hostmakedepends/pkg-config/}"
|
||||||
depends="python"
|
depends="python dbus"
|
||||||
replaces="dbus-python>=0"
|
|
||||||
pycompile_module="dbus"
|
pycompile_module="dbus"
|
||||||
short_desc="D-Bus Python2 bindings"
|
short_desc="D-Bus Python2 bindings"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -56,21 +55,17 @@ do_install() {
|
||||||
|
|
||||||
python3.4-dbus_package() {
|
python3.4-dbus_package() {
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
depends="python3.4"
|
depends="python3.4 dbus"
|
||||||
replaces="dbus-python3>=0"
|
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmkdir usr/lib
|
vmove usr/lib/python3.4
|
||||||
mv ${DESTDIR}/usr/lib/python3.4 ${PKGDESTDIR}/usr/lib
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
python-dbus-devel_package() {
|
python-dbus-devel_package() {
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
depends="python-devel python3.4-devel
|
depends="python-devel python3.4-devel
|
||||||
python-dbus>=${version}_${revision}
|
python-dbus>=${version}_${revision} python3.4-dbus>=${version}_${revision}"
|
||||||
python3.4-dbus>=${version}_${revision}"
|
|
||||||
replaces="dbus-python-devel>=0"
|
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Reference in New Issue