python-gobject: update to 3.28.2.

This commit is contained in:
maxice8 2018-03-30 15:24:00 -03:00 committed by Enno Boland
parent 6372eb36c0
commit 337f4f7bd5
1 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'python-gobject'
pkgname=python-gobject
version=3.26.1
version=3.28.2
revision=1
wrksrc="pygobject-${version}"
hostmakedepends="pkg-config gobject-introspection"
@ -10,9 +10,9 @@ pycompile_module="gi pygtkcompat"
short_desc="Python2 bindings for GObject"
homepage="https://live.gnome.org/PyGObject"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1"
license="LGPL-2.1-or-later"
distfiles="${GNOME_SITE}/pygobject/${version%.*}/pygobject-${version}.tar.xz"
checksum=f5577b9b9c70cabb9a60d81b855d488b767c66f867432e7fb64aa7269b04d1a9
checksum=ac443afd14fcb9ff5744b65d6e2b380e70510278404fb8684a9b9fb089e6f2ca
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/8676/steps/shell_3/logs/stdio"
@ -21,18 +21,21 @@ pre_configure() {
mv * gi-${py2_ver} || true
cp -a gi-${py2_ver} gi-${py3_ver}
}
do_configure() {
for pyver in $py2_ver $py3_ver; do
cd ${wrksrc}/gi-${pyver}
./configure ${configure_args} --with-python=/usr/bin/python${pyver}
done
}
do_build() {
for pyver in $py2_ver $py3_ver; do
cd ${wrksrc}/gi-${pyver}
make ${makejobs}
done
}
do_install() {
for pyver in $py2_ver $py3_ver; do
cd ${wrksrc}/gi-${pyver}
@ -48,6 +51,7 @@ python3-gobject_package() {
vmove ${py3_sitelib}
}
}
python-gobject-devel_package() {
depends="libgirepository-devel python-cairo-devel python3-cairo-devel
python-gobject>=${version}_${revision}