python3-pillow:version bump

This commit is contained in:
blue-devil
2020-01-16 23:43:05 +03:00
parent d1356dc3cf
commit 2460ce80bb
3 changed files with 87 additions and 40 deletions
@@ -4,21 +4,25 @@
# 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 pisitools
from pisi.actionsapi import pythonmodules from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
#WorkDir="Imaging-%s" % get.srcVERSION() #WorkDir="Imaging-%s" % get.srcVERSION()
def build():
# suppress warnings
pisitools.cflags.add("-Wno-sign-compare")
# fix unused direct dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
pythonmodules.compile(pyVer="3")
def install(): def install():
#pisitools.dosed("_imagingft.c", "<freetype/freetype.h>", "<freetype2/freetype.h>")
#pisitools.dosed("_imagingft.c", "<freetype/fterrors.h>", "<freetype2/fterrors.h>")
pythonmodules.install(pyVer="3") pythonmodules.install(pyVer="3")
# install header files
for header in ["Imaging.h","ImPlatform.h"]: pisitools.insinto("/usr/include/python3.8/Imaging/", "src/libImaging/*.h")
pisitools.insinto("/usr/include/%s" % get.curPYTHON(), "src/libImaging/%s" % header)
# 2020-01-15 ToDo
pisitools.dodoc("README.rst") # * Add documentation
# * After Qt5 version bump, extract qt5 bindings(python3-pillow-qt5)
@@ -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>python3-pillow</Name> <Name>python3-pillow</Name>
@@ -8,57 +8,85 @@
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<License>as-is</License> <License>BSD</License>
<PartOf>programming.language.python3</PartOf>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>PIL is the Python Imaging Library.</Summary> <Summary>PIL is the fork of Python Imaging Library.</Summary>
<Description>The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.</Description> <Description>Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift.</Description>
<Archive sha1sum="31cc46de95b21fd2c6634c0eb574f5278f120991" type="targz">https://github.com/python-pillow/Pillow/archive/5.2.0.tar.gz</Archive> <Archive sha1sum="0c9a2065f549d99ed9cf159d95ebea0678ff41d3" type="targz">https://github.com/python-pillow/Pillow/archive/7.0.0.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python3-devel</Dependency> <Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>lcms-devel</Dependency> <Dependency>libimagequant-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-setuptools</Dependency>
<Dependency>webp-devel</Dependency> <Dependency>openjpeg2-devel</Dependency>
<Dependency>freetype-devel</Dependency> <Dependency>freetype-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>lcms2-devel</Dependency> <Dependency>lcms2-devel</Dependency>
<Dependency>tiff-devel</Dependency> <Dependency>tiff-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency> <Dependency>webp-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency> <Dependency>zlib-devel</Dependency>
<!--Dependency>tcltk-devel</Dependency> <!--
<Dependency>tcl-devel</Dependency--> <Dependency>lcms-devel</Dependency>
<!--Dependency>python3-tk</Dependency--> <Dependency>tcltk-devel</Dependency>
<!--Dependency>python3-qt5-devel</Dependency> <Dependency>tcl-devel</Dependency>
<Dependency>python-qt5-devel</Dependency--> <Dependency>python3-tk</Dependency>
<!--Dependency>sane-backends-devel</Dependency--> <Dependency>python3-qt5-devel</Dependency>
<Dependency>python-qt5-devel</Dependency>
<Dependency>sane-backends-devel</Dependency>
-->
</BuildDependencies> </BuildDependencies>
</Source> </Source>
<Package> <Package>
<Name>python3-pillow</Name> <Name>python3-pillow</Name>
<Summary>PIL is the fork of Python Imaging Library.</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>zlib</Dependency> <Dependency>libjpeg-turbo</Dependency>
<Dependency>tiff</Dependency> <Dependency>libimagequant</Dependency>
<Dependency>openjpeg2</Dependency>
<Dependency>freetype</Dependency>
<Dependency>python3</Dependency> <Dependency>python3</Dependency>
<Dependency>lcms2</Dependency> <Dependency>lcms2</Dependency>
<Dependency>freetype</Dependency> <Dependency>tiff</Dependency>
<Dependency>webp</Dependency> <Dependency>webp</Dependency>
<Dependency>libjpeg-turbo</Dependency> <Dependency>zlib</Dependency>
<!--Dependency>tcltk</Dependency> <!--
<Dependency>tcl</Dependency--> <Dependency>tcltk</Dependency>
<!--Dependency>sane-backends</Dependency--> <Dependency>tcl</Dependency>
<!--Dependency>xdg-utils</Dependency--> <Dependency>sane-backends</Dependency>
<!--Dependency>python3-qt5</Dependency> <Dependency>xdg-utils</Dependency>
<Dependency>python-qt5</Dependency--> <Dependency>python3-qt5</Dependency>
<Dependency>python-qt5</Dependency>
-->
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<Package>
<Name>python3-pillow-devel</Name>
<Summary>Development files for python3-pillow</Summary>
<RuntimeDependencies>
<Dependency release="current">python3-pillow</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History> <History>
<Update release="5">
<Date>2020-01-15</Date>
<Version>7.0.0</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="4"> <Update release="4">
<Date>2018-08-30</Date> <Date>2018-08-30</Date>
<Version>5.2.0</Version> <Version>5.2.0</Version>
@@ -88,4 +116,4 @@
<Email>groni@pisilinux.org</Email> <Email>groni@pisilinux.org</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-pillow</Name>
<Summary xml:lang="tr">Python Görsel Kitaplığı (PIL - Python Imaging Library) çatalıdır.</Summary>
<Description xml:lang="tr">python3-pillow, özgür python PIL(Python Imaging Library - Python Görsel Kitaplığı) kütüphanesinin özgür yazılımcılar tarafından geliştirilen çatalıdır.</Description>
<Summary xml:lang="fr">wrapper (version enrobée) Python3 de la librairie de graphisme vectoriel cairo.</Summary>
</Source>
<Package>
<Name>python3-pillow-devel</Name>
<Summary xml:lang="tr">python3-pillow için geliştirme dosyaları</Summary>
<Description xml:lang="tr">python3-pillow-devel, python3-pillow için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>