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. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get from pisi.actionsapi import get
WorkDir = "pygobject-%s" % get.srcVERSION() WorkDir = "pygobject-%s" % get.srcVERSION()
def setup(): 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 # autoreconf is for under linking problem
autotools.autoreconf("-fi") autotools.autoreconf("-fi")
autotools.configure("--disable-introspection") autotools.configure("--disable-introspection")
# fix unused dependency analysis
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build(): def build():
autotools.make() autotools.make()
@@ -23,4 +29,4 @@ def install():
autotools.install() autotools.install()
#shelltools.chmod("%s/usr/share/pygobject/xsl/fixxref.py" % get.installDIR(), 0755) #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" ?> <?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> <PISI>
<Source> <Source>
<Name>python-pygobject</Name> <Name>python-pygobject</Name>
@@ -8,30 +8,31 @@
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<PartOf>programming.language.python</PartOf>
<License>LGPLv2.1</License> <License>LGPLv2.1</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Glib bindings for Python</Summary> <Summary>Glib bindings for Python</Summary>
<Description>pygobject is GLib's GObject library bindings for Python.</Description> <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> <Archive sha1sum="8e3cb8621c2e1d8dbeba5c3c007c7421b936a36c" type="tarxz">http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.7.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>python-devel</Dependency> <Dependency>python-devel</Dependency>
<Dependency>python-cairo-devel</Dependency> <Dependency>python-cairo-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency> <Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<Patch level="1">pygobject-2.16.1-fixdetection.patch</Patch> <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> </Patches>
</Source> </Source>
<Package> <Package>
<Name>python-pygobject</Name> <Name>python-pygobject</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>gobject-introspection</Dependency> <Dependency>gobject-introspection</Dependency>
<Dependency>python-cairo</Dependency> <Dependency>python-cairo</Dependency>
<Dependency>libffi</Dependency> <Dependency>libffi</Dependency>
<Dependency>glib2</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
@@ -45,14 +46,14 @@
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">python-pygobject</Dependency> <Dependency release="current">python-pygobject</Dependency>
<Dependency>gobject-introspection-devel</Dependency> <Dependency>gobject-introspection-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libffi-devel</Dependency> <Dependency>libffi-devel</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin/pygobject-codegen-2.0</Path> <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/share/pygobject</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
</Files> </Files>
</Package> </Package>
@@ -66,14 +67,21 @@
</Package> </Package>
<History> <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> <Date>2018-08-14</Date>
<Version>2.28.7</Version> <Version>2.28.7</Version>
<Comment>Rebuild New T.</Comment> <Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name> <Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email> <Email>muscnsl@gmail.com</Email>
</Update> </Update>
<Update release="4"> <Update release="5">
<Date>2018-02-25</Date> <Date>2018-02-25</Date>
<Version>2.28.7</Version> <Version>2.28.7</Version>
<Comment>Version bump.</Comment> <Comment>Version bump.</Comment>
@@ -109,4 +117,4 @@
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>
@@ -10,10 +10,12 @@
<Package> <Package>
<Name>python-pygobject-devel</Name> <Name>python-pygobject-devel</Name>
<Summary xml:lang="tr">pygobject geliştirme dosyaları</Summary> <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>
<Package> <Package>
<Name>python-pygobject-docs</Name> <Name>python-pygobject-docs</Name>
<Summary xml:lang="tr">pygobject için API dökümanları</Summary> <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> </Package>
</PISI> </PISI>