From 27027052f96ab842d8890fb0fd3759409eba72c8 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Mon, 10 Aug 2015 09:18:16 +0300 Subject: [PATCH] python-gtk:moved into main for pisi 2.0 --- .../language/python/python-gtk/actions.py | 32 ++++++ .../language/python/python-gtk/pspec.xml | 103 ++++++++++++++++++ .../python/python-gtk/translations.xml | 24 ++++ 3 files changed, 159 insertions(+) create mode 100644 programming/language/python/python-gtk/actions.py create mode 100644 programming/language/python/python-gtk/pspec.xml create mode 100644 programming/language/python/python-gtk/translations.xml diff --git a/programming/language/python/python-gtk/actions.py b/programming/language/python/python-gtk/actions.py new file mode 100644 index 0000000000..1f15a6a321 --- /dev/null +++ b/programming/language/python/python-gtk/actions.py @@ -0,0 +1,32 @@ +#!/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 = "pygtk-%s" % (get.srcVERSION()) + +def setup(): + shelltools.unlink("py-compile" ) + shelltools.sym("/bin/true", "%s/py-compile" % get.curDIR()) + + autotools.configure("--enable-thread \ + --disable-docs") + + shelltools.touch("%s/style.css" % get.curDIR()) + pisitools.dosed("docs/Makefile", "CSS_FILES = .*", "CSS_FILES = %s/style.css" % get.curDIR()) + + pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "MAPPING", "NEWS", "README", "THREADS", "TODO") diff --git a/programming/language/python/python-gtk/pspec.xml b/programming/language/python/python-gtk/pspec.xml new file mode 100644 index 0000000000..5607b05760 --- /dev/null +++ b/programming/language/python/python-gtk/pspec.xml @@ -0,0 +1,103 @@ + + + + + python-gtk + http://www.pygtk.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + GTK+ bindings for Python + python-gtk lets you to easily create programs with a graphical user interface using the Python programming language and GTK+ library. + mirrors://gnome/pygtk/2.24/pygtk-2.24.0.tar.bz2 + + cairo-devel + gtk2-devel + libglade-devel + python-pygobject-devel + python-numpy + + + + + python-gtk + + pango + atk + glib2 + + + /usr/lib + /usr/share/doc + + + + + python-gtk-demo + app:gui + Demo applications for python-gtk + + python-gtk + + + /usr/bin/pygtk-demo + /usr/lib/pygtk/2.0/pygtk-demo.py + /usr/lib/pygtk/2.0/demos + + + + + python-gtk-docs + data:doc + Reference documents for python-gtk + + python-gtk + + + /usr/share/gtk-doc + + + + + python-gtk-devel + Development files for python-gtk + + python-gtk + python-pygobject-devel + gtk2-devel + + + /usr/bin/pygtk-codegen-2.0 + /usr/include + /usr/lib/pkgconfig + /usr/share/pygtk + + + + + + 2013-08-17 + 2.24.0 + Dep Fixed + PisiLinux Community + admins@pisilinux.org + + + 2013-07-28 + 2.24.0 + Dep Fixed + PisiLinux Community + admins@pisilinux.org + + + 2012-11-11 + 2.24.0 + First release + Erdinç Gültekin + admins@pisilinux.org + + + \ No newline at end of file diff --git a/programming/language/python/python-gtk/translations.xml b/programming/language/python/python-gtk/translations.xml new file mode 100644 index 0000000000..c77b510540 --- /dev/null +++ b/programming/language/python/python-gtk/translations.xml @@ -0,0 +1,24 @@ + + + + python-gtk + Python için GTK+ bağlayıcıları + python-gtk, Python programlama diliyle GTK+ kitaplığını kullanarak, basit grafiksel kullanıcı arayüzü oluşturmanızı sağlar. + Bindings (liens) GTK+2 pour Python. + + + + python-gtk-demo + python-gtk için demo uygulamalar + + + + python-gtk-docs + python-gtk için referans belgeleri + + + + python-gtk-devel + python-gtk için geliştirme dosyaları + +