python-imaging:cleand and rebuilt
This commit is contained in:
@@ -4,16 +4,20 @@
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="Imaging-%s" % get.srcVERSION()
|
||||
# fix unused direct dependency warning
|
||||
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
|
||||
|
||||
def install():
|
||||
pisitools.dosed("_imagingft.c", "<freetype/freetype.h>", "<freetype2/freetype.h>")
|
||||
pisitools.dosed("_imagingft.c", "<freetype/fterrors.h>", "<freetype2/fterrors.h>")
|
||||
# suppress compiler warnings
|
||||
pisitools.cflags.add("-Wno-incompatible-pointer-types -Wno-unused-but-set-variable -Wno-int-to-pointer-cast")
|
||||
#pisitools.dosed("_imagingft.c", "<freetype/freetype.h>", "<freetype2/freetype.h>")
|
||||
#pisitools.dosed("_imagingft.c", "<freetype/fterrors.h>", "<freetype2/fterrors.h>")
|
||||
pythonmodules.install()
|
||||
|
||||
shelltools.cd("Sane")
|
||||
@@ -23,5 +27,4 @@ def install():
|
||||
for header in ["Imaging.h","ImPlatform.h"]:
|
||||
pisitools.insinto("/usr/include/%s" % get.curPYTHON(), "libImaging/%s" % header)
|
||||
|
||||
pisitools.dodoc("README")
|
||||
|
||||
pisitools.dodoc("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-imaging</Name>
|
||||
@@ -8,6 +8,7 @@
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.language.python</PartOf>
|
||||
<License>as-is</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python Imaging Library (PIL)</Summary>
|
||||
@@ -16,7 +17,10 @@
|
||||
<BuildDependencies>
|
||||
<Dependency>sane-backends-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>lcms-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">local_only_initial_value.patch</Patch>
|
||||
@@ -28,13 +32,15 @@
|
||||
|
||||
<Package>
|
||||
<Name>python-imaging</Name>
|
||||
<Summary>Python Imaging Library (PIL)</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tcltk</Dependency>
|
||||
<Dependency>tcl</Dependency>
|
||||
<Dependency>lcms</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>sane-backends</Dependency>
|
||||
<Dependency>xdg-utils</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>tcltk</Dependency>
|
||||
<Dependency>lcms</Dependency>
|
||||
<Dependency>tcl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -45,6 +51,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2020-01-20</Date>
|
||||
<Version>1.1.7</Version>
|
||||
<Comment>Clean and rebuild for new toolchain</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2018-08-30</Date>
|
||||
<Version>1.1.7</Version>
|
||||
@@ -74,4 +87,4 @@
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
@@ -3,6 +3,7 @@
|
||||
<Source>
|
||||
<Name>python-imaging</Name>
|
||||
<Summary xml:lang="tr">Python Görüntü İşleme Kitaplığı</Summary>
|
||||
<Description xml:lang="tr">python-imaging, python2 görüntü işleme kitaplığı dosyalarını sunar.</Description>
|
||||
<Description xml:lang="es">La librería Python Imaging Library (PIL) facilita el procesamiento de imágenes desde Python. Esta librería soporta muchos formatos de archivos y provee potentes facilidades de procesamiento de gráficos.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user