Date: Sunday, October 19, 2014 @ 20:31:19 Author: bpiotrowski Revision: 224835
upgpkg: pygobject 3.14.0-2 fix "bad mtime" of pyc/pyo files Modified: pygobject/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-10-19 16:25:44 UTC (rev 224834) +++ PKGBUILD 2014-10-19 18:31:19 UTC (rev 224835) @@ -4,7 +4,7 @@ pkgbase=pygobject pkgname=(python-gobject python2-gobject pygobject-devel) pkgver=3.14.0 -pkgrel=1 +pkgrel=2 arch=(i686 x86_64) url="https://live.gnome.org/PyGObject" license=(LGPL) @@ -20,7 +20,7 @@ build() { cd build-py2 - ../${pkgbase}-${pkgver}/autogen.sh --prefix=/usr --with-python=/usr/bin/python2 + ../${pkgbase}-${pkgver}/configure --prefix=/usr --with-python=/usr/bin/python2 make cd ../build-py3 @@ -30,7 +30,7 @@ package_python-gobject() { pkgdesc="Python 3 bindings for GObject" - depends=('gobject-introspection' "pygobject-devel=$pkgver" 'python') + depends=('gobject-introspection' "pygobject-devel=$pkgver" 'python' 'cairo') cd build-py3 make DESTDIR="$pkgdir" install @@ -39,15 +39,17 @@ package_python2-gobject() { pkgdesc="Python 2 bindings for GObject" - depends=('gobject-introspection' "pygobject-devel=$pkgver" 'python2') + depends=('gobject-introspection' "pygobject-devel=$pkgver" 'python2' 'cairo') cd build-py2 make DESTDIR="$pkgdir" install mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel" + python2 -m compileall "$pkgdir"//usr/lib/python2.7/site-packages/gi } package_pygobject-devel() { pkgdesc="Development files for the pygobject bindings" + cd "devel" mkdir -p "$pkgdir"/usr/{include,lib} mv include "$pkgdir/usr/"