python-pygobject:rebuilt

This commit is contained in:
blue-devil
2020-01-21 01:51:34 +03:00
parent 80d09ee7f2
commit 84d1e84be6
3 changed files with 29 additions and 13 deletions
@@ -4,17 +4,23 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
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():
# suppress compiler warnings
pisitools.cflags.add("-Wno-deprecated-declarations -Wno-unused-variable \
-Wno-unused-but-set-variable -Wno-discarded-qualifiers \
-Wno-misleading-indentation")
# autoreconf is for under linking problem
autotools.autoreconf("-fi")
autotools.configure("--disable-introspection")
# fix unused dependency analysis
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build():
autotools.make()
@@ -23,4 +29,4 @@ def install():
autotools.install()
#shelltools.chmod("%s/usr/share/pygobject/xsl/fixxref.py" % get.installDIR(), 0755)
pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "README")
pisitools.dodoc("COPYING", "README")
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-pygobject</Name>
@@ -8,30 +8,31 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>programming.language.python</PartOf>
<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="8e3cb8621c2e1d8dbeba5c3c007c7421b936a36c" type="tarxz">http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.7.tar.xz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>python-cairo-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">pygobject-2.16.1-fixdetection.patch</Patch>
<!-- <Patch level="1">pygobject-2.28.6-fixes-1.patch</Patch> -->
<!--<Patch level="1">pygobject-2.28.6-fixes-1.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>python-pygobject</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>gobject-introspection</Dependency>
<Dependency>python-cairo</Dependency>
<Dependency>libffi</Dependency>
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
@@ -45,14 +46,14 @@
<RuntimeDependencies>
<Dependency release="current">python-pygobject</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libffi-devel</Dependency>
<Dependency>glib2-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>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
@@ -66,14 +67,21 @@
</Package>
<History>
<Update release="5">
<Update release="7">
<Date>2020-01-20</Date>
<Version>2.28.7</Version>
<Comment>Rebuild for new toolchain</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="6">
<Date>2018-08-14</Date>
<Version>2.28.7</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Update release="5">
<Date>2018-02-25</Date>
<Version>2.28.7</Version>
<Comment>Version bump.</Comment>
@@ -109,4 +117,4 @@
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>
@@ -10,10 +10,12 @@
<Package>
<Name>python-pygobject-devel</Name>
<Summary xml:lang="tr">pygobject geliştirme dosyaları</Summary>
<Description xml:lang="tr">pygobject-devel, pygobject için geliştirme dosyalarını içerir.</Description>
</Package>
<Package>
<Name>python-pygobject-docs</Name>
<Summary xml:lang="tr">pygobject için API dökümanları</Summary>
<Description xml:lang="tr">pygobject-docs, pygobject için belgelendirme dosyalarını içerir.</Description>
</Package>
</PISI>
</PISI>