python-gobject: depends on gir-freedesktop.
This commit is contained in:
parent
af613b502e
commit
66038bcd35
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-gobject'
|
||||
pkgname=python-gobject
|
||||
version=3.12.1
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="pygobject-${version}"
|
||||
hostmakedepends="which pkg-config gobject-introspection>=1.38"
|
||||
makedepends="python-cairo-devel>=1.10.0_2 python3.4-cairo-devel>=1.10.0_3
|
||||
libglib-devel"
|
||||
depends="python-cairo>=1.10.0_2"
|
||||
hostmakedepends="pkg-config gobject-introspection>=1.38"
|
||||
makedepends="python-cairo-devel>=1.10.0_2 python3.4-cairo-devel>=1.10.0_3 libglib-devel"
|
||||
depends="gir-freedesktop python-cairo>=1.10.0_2"
|
||||
replaces="pygobject>=0"
|
||||
pycompile_module="gi pygtkcompat"
|
||||
short_desc="Python2 bindings for GObject"
|
||||
|
@ -28,7 +27,6 @@ do_configure() {
|
|||
cd ${wrksrc}/build-python3.4
|
||||
../configure ${configure_args} --with-python=/usr/bin/python3.4
|
||||
}
|
||||
|
||||
do_build() {
|
||||
# python2
|
||||
cd ${wrksrc}/build-python2
|
||||
|
@ -38,7 +36,6 @@ do_build() {
|
|||
cd ${wrksrc}/build-python3.4
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# python2
|
||||
cd ${wrksrc}/build-python2
|
||||
|
@ -50,7 +47,7 @@ do_install() {
|
|||
}
|
||||
|
||||
python3.4-gobject_package() {
|
||||
depends="python3.4-cairo>=1.10.0_2"
|
||||
depends="gir-freedesktop python3.4-cairo>=1.10.0_2"
|
||||
replaces="py3gobject>=0"
|
||||
short_desc="Python3.4 bindings for GObject"
|
||||
pkg_install() {
|
||||
|
@ -58,7 +55,6 @@ python3.4-gobject_package() {
|
|||
mv ${DESTDIR}/usr/lib/python3.4 ${PKGDESTDIR}/usr/lib
|
||||
}
|
||||
}
|
||||
|
||||
python-gobject-devel_package() {
|
||||
depends="libgirepository-devel
|
||||
python-cairo-devel>=1.10.0_2
|
||||
|
|
Loading…
Reference in New Issue