python-gtk:moved into main for pisi 2.0

This commit is contained in:
2015-08-10 09:18:16 +03:00
parent 3fe5d05a9d
commit 27027052f9
3 changed files with 159 additions and 0 deletions
@@ -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")
@@ -0,0 +1,103 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-gtk</Name>
<Homepage>http://www.pygtk.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>GTK+ bindings for Python</Summary>
<Description>python-gtk lets you to easily create programs with a graphical user interface using the Python programming language and GTK+ library.</Description>
<Archive sha1sum="344e6a32a5e8c7e0aaeb807e0636a163095231c2" type="tarbz2">mirrors://gnome/pygtk/2.24/pygtk-2.24.0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>cairo-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>libglade-devel</Dependency>
<Dependency>python-pygobject-devel</Dependency>
<Dependency>python-numpy</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python-gtk</Name>
<RuntimeDependencies>
<Dependency>pango</Dependency>
<Dependency>atk</Dependency>
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>python-gtk-demo</Name>
<IsA>app:gui</IsA>
<Summary>Demo applications for python-gtk</Summary>
<RuntimeDependencies>
<Dependency releaseFrom="current">python-gtk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/pygtk-demo</Path>
<Path fileType="library">/usr/lib/pygtk/2.0/pygtk-demo.py</Path>
<Path fileType="data">/usr/lib/pygtk/2.0/demos</Path>
</Files>
</Package>
<Package>
<Name>python-gtk-docs</Name>
<IsA>data:doc</IsA>
<Summary>Reference documents for python-gtk</Summary>
<RuntimeDependencies>
<Dependency releaseFrom="current">python-gtk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/gtk-doc</Path>
</Files>
</Package>
<Package>
<Name>python-gtk-devel</Name>
<Summary>Development files for python-gtk</Summary>
<RuntimeDependencies>
<Dependency release="current">python-gtk</Dependency>
<Dependency>python-pygobject-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/pygtk-codegen-2.0</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/pygtk</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2013-08-17</Date>
<Version>2.24.0</Version>
<Comment>Dep Fixed</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-28</Date>
<Version>2.24.0</Version>
<Comment>Dep Fixed</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-11</Date>
<Version>2.24.0</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,24 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-gtk</Name>
<Summary xml:lang="tr">Python için GTK+ bağlayıcıları</Summary>
<Description xml:lang="tr">python-gtk, Python programlama diliyle GTK+ kitaplığını kullanarak, basit grafiksel kullanıcı arayüzü oluşturmanızı sağlar.</Description>
<Description xml:lang="fr">Bindings (liens) GTK+2 pour Python.</Description>
</Source>
<Package>
<Name>python-gtk-demo</Name>
<Summary xml:lang="tr">python-gtk için demo uygulamalar</Summary>
</Package>
<Package>
<Name>python-gtk-docs</Name>
<Summary xml:lang="tr">python-gtk için referans belgeleri</Summary>
</Package>
<Package>
<Name>python-gtk-devel</Name>
<Summary xml:lang="tr">python-gtk için geliştirme dosyaları</Summary>
</Package>
</PISI>