pyton-pygobject:moved into main for pisi 2.0
This commit is contained in:
@@ -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")
|
||||
+13
@@ -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
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-pygobject</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>Glib bindings for Python</Summary>
|
||||
<Description>pygobject is GLib's GObject library bindings for Python.</Description>
|
||||
<Archive sha1sum="b1749ba806499f4c2780dbd1cbb363aaf1f41e78" type="tarxz">http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.6.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">pygobject-2.16.1-fixdetection.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-pygobject</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>gobject-introspection</Dependency>
|
||||
<Dependency>libffi</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python-pygobject-devel</Name>
|
||||
<Summary>pygobject development files</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">python-pygobject</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/pygobject-codegen-2.0</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/pygobject</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python-pygobject-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>API documents for pygobject</Summary>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2012-10-14</Date>
|
||||
<Version>2.28.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-pygobject</Name>
|
||||
<Summary xml:lang="tr">glib için python bağlayıcıları</Summary>
|
||||
<Summary xml:lang="fr">Bindings (liens) glib pour Python.</Summary>
|
||||
<Description xml:lang="tr">pygobject, Python için yazılmış, Glib'in GObject kütüphanesi bağlayıcısıdır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-pygobject-devel</Name>
|
||||
<Summary xml:lang="tr">pygobject geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python-pygobject-docs</Name>
|
||||
<Summary xml:lang="tr">pygobject için API dökümanları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user