python3-pillow:version bump
This commit is contained in:
@@ -4,21 +4,25 @@
|
||||
# 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()
|
||||
|
||||
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():
|
||||
#pisitools.dosed("_imagingft.c", "<freetype/freetype.h>", "<freetype2/freetype.h>")
|
||||
#pisitools.dosed("_imagingft.c", "<freetype/fterrors.h>", "<freetype2/fterrors.h>")
|
||||
|
||||
pythonmodules.install(pyVer="3")
|
||||
|
||||
for header in ["Imaging.h","ImPlatform.h"]:
|
||||
pisitools.insinto("/usr/include/%s" % get.curPYTHON(), "src/libImaging/%s" % header)
|
||||
|
||||
pisitools.dodoc("README.rst")
|
||||
|
||||
# install header files
|
||||
pisitools.insinto("/usr/include/python3.8/Imaging/", "src/libImaging/*.h")
|
||||
|
||||
# 2020-01-15 ToDo
|
||||
# * Add documentation
|
||||
# * After Qt5 version bump, extract qt5 bindings(python3-pillow-qt5)
|
||||
@@ -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>python3-pillow</Name>
|
||||
@@ -8,57 +8,85 @@
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<License>BSD</License>
|
||||
<PartOf>programming.language.python3</PartOf>
|
||||
<IsA>library</IsA>
|
||||
<Summary>PIL is the 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>
|
||||
<Archive sha1sum="31cc46de95b21fd2c6634c0eb574f5278f120991" type="targz">https://github.com/python-pillow/Pillow/archive/5.2.0.tar.gz</Archive>
|
||||
<Summary>PIL is the fork of Python Imaging Library.</Summary>
|
||||
<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="0c9a2065f549d99ed9cf159d95ebea0678ff41d3" type="targz">https://github.com/python-pillow/Pillow/archive/7.0.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>lcms-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>libimagequant-devel</Dependency>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>webp-devel</Dependency>
|
||||
<Dependency>openjpeg2-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>lcms2-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<!--Dependency>tcltk-devel</Dependency>
|
||||
<Dependency>tcl-devel</Dependency-->
|
||||
<!--Dependency>python3-tk</Dependency-->
|
||||
<!--Dependency>python3-qt5-devel</Dependency>
|
||||
<Dependency>python-qt5-devel</Dependency-->
|
||||
<!--Dependency>sane-backends-devel</Dependency-->
|
||||
<Dependency>webp-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<!--
|
||||
<Dependency>lcms-devel</Dependency>
|
||||
<Dependency>tcltk-devel</Dependency>
|
||||
<Dependency>tcl-devel</Dependency>
|
||||
<Dependency>python3-tk</Dependency>
|
||||
<Dependency>python3-qt5-devel</Dependency>
|
||||
<Dependency>python-qt5-devel</Dependency>
|
||||
<Dependency>sane-backends-devel</Dependency>
|
||||
-->
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python3-pillow</Name>
|
||||
<Summary>PIL is the fork of Python Imaging Library.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>libimagequant</Dependency>
|
||||
<Dependency>openjpeg2</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>webp</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<!--Dependency>tcltk</Dependency>
|
||||
<Dependency>tcl</Dependency-->
|
||||
<!--Dependency>sane-backends</Dependency-->
|
||||
<!--Dependency>xdg-utils</Dependency-->
|
||||
<!--Dependency>python3-qt5</Dependency>
|
||||
<Dependency>python-qt5</Dependency-->
|
||||
<Dependency>zlib</Dependency>
|
||||
<!--
|
||||
<Dependency>tcltk</Dependency>
|
||||
<Dependency>tcl</Dependency>
|
||||
<Dependency>sane-backends</Dependency>
|
||||
<Dependency>xdg-utils</Dependency>
|
||||
<Dependency>python3-qt5</Dependency>
|
||||
<Dependency>python-qt5</Dependency>
|
||||
-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</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>
|
||||
<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">
|
||||
<Date>2018-08-30</Date>
|
||||
<Version>5.2.0</Version>
|
||||
@@ -88,4 +116,4 @@
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</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>
|
||||
Reference in New Issue
Block a user