python3-pillow:ver bump

This commit is contained in:
blue-devil
2020-04-09 00:35:20 +03:00
parent 43de502b10
commit 592823c88c
4 changed files with 73 additions and 8 deletions
@@ -6,23 +6,30 @@
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
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")
# suppress compiler warnings
pisitools.cflags.add("-Wno-sign-compare -Wno-pointer-sign")
# fix unused direct dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
pythonmodules.compile(pyVer="3")
# build documentation
shelltools.export("PYTHONPATH", "%s/Pillow-%s/build/lib.linux-x86_64-3.8" % (get.workDIR(), get.srcVERSION()))
autotools.make("-C docs html")
def install():
pythonmodules.install(pyVer="3")
# install header files
pisitools.insinto("/usr/include/python3.8/Imaging/", "src/libImaging/*.h")
# install documentation
pisitools.dohtml("docs/_build/html/*")
# 2020-01-15 ToDo
# * Add documentation
# 2020-04-08 ToDo
# * After Qt5 version bump, extract qt5 bindings(python3-pillow-qt5)
@@ -0,0 +1,22 @@
From f1f177ce800c5be7d06b0119b979c661c1bfbbb9 Mon Sep 17 00:00:00 2001
From: Andrew Murray <radarhere@users.noreply.github.com>
Date: Mon, 6 Apr 2020 19:41:38 +1000
Subject: [PATCH] Fixed error making HTML from docs
---
docs/reference/plugins.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/reference/plugins.rst b/docs/reference/plugins.rst
index 46f657fce5..cc0742fde4 100644
--- a/docs/reference/plugins.rst
+++ b/docs/reference/plugins.rst
@@ -229,7 +229,7 @@ Plugin reference
----------------------------
.. automodule:: PIL.PngImagePlugin
- :members: ChunkStream, PngImageFile, PngStream, getchunks, is_cid, putchunk
+ :members: ChunkStream, PngStream, getchunks, is_cid, putchunk
:show-inheritance:
.. autoclass:: PIL.PngImagePlugin.ChunkStream
:members:
@@ -8,12 +8,12 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<PartOf>programming.language.python3</PartOf>
<License>BSD</License>
<IsA>library</IsA>
<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>
<Archive sha1sum="934e707b4d887152897847f3719d32f9c4c0954a" type="targz">https://github.com/python-pillow/Pillow/archive/7.1.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>libimagequant-devel</Dependency>
@@ -21,10 +21,18 @@
<Dependency>openjpeg2-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>libxcb-devel</Dependency>
<Dependency>lcms2-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>webp-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<!-- documentation dependencies -->
<Dependency>python3-sphinx_rtd_theme</Dependency>
<Dependency>python3-pycparser</Dependency>
<Dependency>python3-olefile</Dependency>
<Dependency>python3-sphinx</Dependency>
<Dependency>python3-cffi</Dependency>
<Dependency>python3-tk</Dependency>
<!--
<Dependency>lcms-devel</Dependency>
<Dependency>tcltk-devel</Dependency>
@@ -34,7 +42,10 @@
<Dependency>python-qt5-devel</Dependency>
<Dependency>sane-backends-devel</Dependency>
-->
</BuildDependencies>
</BuildDependencies>
<Patches>
<Patch>docfix.patch</Patch>
</Patches>
</Source>
<Package>
@@ -46,6 +57,7 @@
<Dependency>openjpeg2</Dependency>
<Dependency>freetype</Dependency>
<Dependency>python3</Dependency>
<Dependency>libxcb</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>tiff</Dependency>
<Dependency>webp</Dependency>
@@ -60,8 +72,8 @@
-->
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
@@ -79,7 +91,25 @@
</Files>
</Package>
<Package>
<Name>python3-pillow-docs</Name>
<Summary>Documentation files for python3-pillow</Summary>
<RuntimeDependencies>
<Dependency release="current">python3-pillow</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/python3-pillow/html</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2020-04-07</Date>
<Version>7.1.1</Version>
<Comment>Minor version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="5">
<Date>2020-01-15</Date>
<Version>7.0.0</Version>
@@ -12,4 +12,10 @@
<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>
<Package>
<Name>python3-pillow-docs</Name>
<Summary xml:lang="tr">python3-pillow için belgelendirme dosyaları</Summary>
<Description xml:lang="tr">python3-pillow-docs, python3-pillow için belgelendirme dosyaları içerir.</Description>
</Package>
</PISI>