diff --git a/programming/language/python/python-pygobject/actions.py b/programming/language/python/python-pygobject/actions.py new file mode 100644 index 0000000000..32469b7924 --- /dev/null +++ b/programming/language/python/python-pygobject/actions.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +WorkDir = "pygobject-%s" % get.srcVERSION() + +def setup(): + # autoreconf is for under linking problem + autotools.autoreconf("-fi") + autotools.configure("--disable-introspection") + +def build(): + autotools.make() + +def install(): + autotools.install() + + #shelltools.chmod("%s/usr/share/pygobject/xsl/fixxref.py" % get.installDIR(), 0755) + pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "README") diff --git a/programming/language/python/python-pygobject/files/pygobject-2.16.1-fixdetection.patch b/programming/language/python/python-pygobject/files/pygobject-2.16.1-fixdetection.patch new file mode 100644 index 0000000000..714144d620 --- /dev/null +++ b/programming/language/python/python-pygobject/files/pygobject-2.16.1-fixdetection.patch @@ -0,0 +1,13 @@ +diff -p -up pygobject-2.16.1/pygtk.py.fixdetection pygobject-2.16.1/pygtk.py +--- pygobject-2.16.1/pygtk.py.fixdetection 2009-02-20 22:27:14.000000000 +0100 ++++ pygobject-2.16.1/pygtk.py 2009-02-23 09:44:55.000000000 +0100 +@@ -57,6 +57,9 @@ def _get_available_versions(): + # skip empty directories + if not os.listdir(pathname): + continue ++ # only accept directories containing gtk.py or gobject.so ++ if not glob.glob(os.path.join(pathname, "gtk.py")) and not glob.glob(os.path.join(pathname,"gobject.so")): ++ continue + + if not versions.has_key(filename[-3:]): + versions[filename[-3:]] = pathname diff --git a/programming/language/python/python-pygobject/pspec.xml b/programming/language/python/python-pygobject/pspec.xml new file mode 100644 index 0000000000..a25d92efd1 --- /dev/null +++ b/programming/language/python/python-pygobject/pspec.xml @@ -0,0 +1,71 @@ + + + + + python-pygobject + http://www.pygtk.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + Glib bindings for Python + pygobject is GLib's GObject library bindings for Python. + http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.6.tar.xz + + python-devel + gobject-introspection-devel + + + pygobject-2.16.1-fixdetection.patch + + + + + python-pygobject + + glib2 + gobject-introspection + libffi + + + /usr/lib + /usr/share/doc + + + + + python-pygobject-devel + pygobject development files + + python-pygobject + gobject-introspection-devel + + + /usr/bin/pygobject-codegen-2.0 + /usr/include + /usr/lib/pkgconfig + /usr/share/pygobject + + + + + python-pygobject-docs + data:doc + API documents for pygobject + + /usr/share/gtk-doc + + + + + + 2012-10-14 + 2.28.6 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/programming/language/python/python-pygobject/translations.xml b/programming/language/python/python-pygobject/translations.xml new file mode 100644 index 0000000000..a4ee875e96 --- /dev/null +++ b/programming/language/python/python-pygobject/translations.xml @@ -0,0 +1,19 @@ + + + + python-pygobject + glib için python bağlayıcıları + Bindings (liens) glib pour Python. + pygobject, Python için yazılmış, Glib'in GObject kütüphanesi bağlayıcısıdır. + + + + python-pygobject-devel + pygobject geliştirme dosyaları + + + + python-pygobject-docs + pygobject için API dökümanları + +