summaryrefslogtreecommitdiffstats
path: root/pygobject
diff options
context:
space:
mode:
Diffstat (limited to 'pygobject')
-rw-r--r--pygobject/.footprint.i6863
-rw-r--r--pygobject/.footprint.x86_643
-rw-r--r--pygobject/Pkgfile6
3 files changed, 5 insertions, 7 deletions
diff --git a/pygobject/.footprint.i686 b/pygobject/.footprint.i686
index 721c9b2..27eabdf 100644
--- a/pygobject/.footprint.i686
+++ b/pygobject/.footprint.i686
@@ -36,9 +36,6 @@ drwxr-xr-x root/root usr/lib/python2.7/site-packages/gobject/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gobject/propertyhelper.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gobject/propertyhelper.pyo
drwxr-xr-x root/root usr/lib/python2.7/site-packages/gtk-2.0/
--rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/dsextras.py
--rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/dsextras.pyc
--rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/dsextras.pyo
drwxr-xr-x root/root usr/lib/python2.7/site-packages/gtk-2.0/gio/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/gio/__init__.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/gio/__init__.pyc
diff --git a/pygobject/.footprint.x86_64 b/pygobject/.footprint.x86_64
index 721c9b2..27eabdf 100644
--- a/pygobject/.footprint.x86_64
+++ b/pygobject/.footprint.x86_64
@@ -36,9 +36,6 @@ drwxr-xr-x root/root usr/lib/python2.7/site-packages/gobject/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gobject/propertyhelper.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gobject/propertyhelper.pyo
drwxr-xr-x root/root usr/lib/python2.7/site-packages/gtk-2.0/
--rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/dsextras.py
--rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/dsextras.pyc
--rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/dsextras.pyo
drwxr-xr-x root/root usr/lib/python2.7/site-packages/gtk-2.0/gio/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/gio/__init__.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/gtk-2.0/gio/__init__.pyc
diff --git a/pygobject/Pkgfile b/pygobject/Pkgfile
index a60d531..2bd9a0a 100644
--- a/pygobject/Pkgfile
+++ b/pygobject/Pkgfile
@@ -7,7 +7,7 @@
name=pygobject
version=2.28.6
-release=2
+release=3
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
@@ -17,6 +17,10 @@ build() {
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
+
+ # Conflit avec pygobject3
rm -rf $PKG/usr/share/pygobject/xsl
+ rm -rf $PKG/usr/lib/python2.7/site-packages/gtk-2.0/dsextras.{py,pyc,pyo}
+
find $PKG/usr/share/pygobject -name '*.py' | xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
}