summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-21 14:02:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-21 14:02:33 (GMT)
commitf0519dff7d8979cbe2c495890d7d02b01802993a (patch)
tree71adb7a620368e1c90ce5ce1540459af44c3705a /abs
parent6704135b5e60617ba55721632b7e8276b0736959 (diff)
downloadlinhes_pkgbuild-f0519dff7d8979cbe2c495890d7d02b01802993a.zip
linhes_pkgbuild-f0519dff7d8979cbe2c495890d7d02b01802993a.tar.gz
linhes_pkgbuild-f0519dff7d8979cbe2c495890d7d02b01802993a.tar.bz2
pygobject2: update to 2.28.6-12
Diffstat (limited to 'abs')
-rw-r--r--abs/core/python_modules/pygobject2/PKGBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/abs/core/python_modules/pygobject2/PKGBUILD b/abs/core/python_modules/pygobject2/PKGBUILD
index f4e921e..ba3d035 100644
--- a/abs/core/python_modules/pygobject2/PKGBUILD
+++ b/abs/core/python_modules/pygobject2/PKGBUILD
@@ -4,12 +4,11 @@
pkgbase=pygobject2
pkgname=(python2-gobject2 pygobject2-devel)
pkgver=2.28.6
-pkgrel=9
+pkgrel=12
arch=(i686 x86_64)
url="http://www.pygtk.org/"
license=(LGPL)
makedepends=(python2 git)
-options=('!libtool')
# pygobject-2-28 branch: https://git.gnome.org/browse/pygobject/log/?h=pygobject-2-28
source=('git://git.gnome.org/pygobject#commit=9456ba7')
@@ -19,8 +18,11 @@ prepare() {
cd pygobject
autoreconf -fi
- cd ..
- cp -a pygobject python2-build
+ cp -a . ../python2-build
+
+ find -O3 ../python2-build \
+ \( -name '*.py' -o -name '*.py.in' \) \
+ -exec sed -i '1s|python$|&2|' {} +
}
build() {
@@ -30,22 +32,22 @@ build() {
make
cd ../pygobject
- ./configure --prefix=/usr --disable-introspection
- make
+# ./configure --prefix=/usr --disable-introspection
+# make
}
-package_python-gobject2() {
- pkgdesc="Python 3 bindings for GObject2"
- depends=(glib2 pygobject2-devel python)
- replaces=(py3gobject)
- provides=("py3gobject=$pkgver")
+#package_python-gobject2() {
+# pkgdesc="Python 3 bindings for GObject2"
+# depends=(glib2 pygobject2-devel python)
+# replaces=(py3gobject)
+# provides=("py3gobject=$pkgver")
- cd pygobject
- make DESTDIR="$pkgdir" install
+# cd pygobject
+# make DESTDIR="$pkgdir" install
# Delete devel stuff
- rm -r "$pkgdir"/usr/{include,lib/pkgconfig,share/{gtk-doc,pygobject/xsl}}
-}
+# rm -r "$pkgdir"/usr/{include,lib/pkgconfig,share/{gtk-doc,pygobject/xsl}}
+#}
package_python2-gobject2() {
pkgdesc="Python 2 bindings for GObject2"
@@ -56,9 +58,6 @@ package_python2-gobject2() {
cd python2-build
make DESTDIR="$pkgdir" install
- find "$pkgdir"/usr/share/pygobject -name '*.py' -exec \
- sed -i '1s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|' {} +
-
rm -r "$pkgdir"/usr/share/gtk-doc
# Split devel stuff