python3-*

This commit is contained in:
Rmys
2021-10-22 17:46:11 +03:00
parent f637729d46
commit fc5133d319
126 changed files with 1120 additions and 177 deletions
@@ -20,16 +20,16 @@ def build():
pythonmodules.compile(pyVer="3")
# build documentation
shelltools.export("PYTHONPATH", "%s/Pillow-%s/build/lib.linux-x86_64-3.8" % (get.workDIR(), get.srcVERSION()))
shelltools.export("PYTHONPATH", "%s/Pillow-%s/build/lib.linux-x86_64-3.9" % (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")
pisitools.insinto("/usr/include/python3.9/Imaging/", "src/libImaging/*.h")
# install documentation
pisitools.dohtml("docs/_build/html/*")
# 2020-04-08 ToDo
# * After Qt5 version bump, extract qt5 bindings(python3-pillow-qt5)
# * After Qt5 version bump, extract qt5 bindings(python3-pillow-qt5)
@@ -0,0 +1,17 @@
diff -rupN Pillow-8.3.1/docs/conf.py Pillow-8.3.1-new/docs/conf.py
--- Pillow-8.3.1/docs/conf.py 2021-07-07 10:45:16.614845303 +0200
+++ Pillow-8.3.1-new/docs/conf.py 2021-07-07 10:45:02.533856396 +0200
@@ -30,12 +30,10 @@ needs_sphinx = "2.4"
# ones.
extensions = [
"sphinx_copybutton",
- "sphinx_issues",
"sphinx_removed_in",
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
- "sphinx.ext.viewcode",
- "sphinxext.opengraph",
+ "sphinx.ext.viewcode"
]
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
@@ -0,0 +1,12 @@
diff -rupN --no-dereference Pillow-8.3.1/docs/Makefile Pillow-8.3.1-new/docs/Makefile
--- Pillow-8.3.1/docs/Makefile 2021-07-06 16:05:28.000000000 +0200
+++ Pillow-8.3.1-new/docs/Makefile 2021-07-07 10:44:44.471870820 +0200
@@ -42,7 +42,7 @@ clean:
-rm -rf $(BUILDDIR)/*
html:
- $(SPHINXBUILD) -b html -W --keep-going $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ $(SPHINXBUILD) -b html --keep-going $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@@ -13,7 +13,7 @@
<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="7116dd8f7d8a7ff45421d994e44491ffce2600f6" type="targz">https://github.com/python-pillow/Pillow/archive/7.2.0.tar.gz</Archive>
<Archive sha1sum="e00047f9c2be51c6127e10e59592e57d12f04e64" type="targz">https://github.com/python-pillow/Pillow/archive/8.3.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>tiff-devel</Dependency>
<Dependency>webp-devel</Dependency>
@@ -44,7 +44,8 @@
-->
</BuildDependencies>
<Patches>
<!--<Patch>docfix.patch</Patch>-->
<Patch>python-pillow_spinxwarn.patch</Patch>
<Patch>python-pillow_sphinx.patch</Patch>
</Patches>
</Source>
@@ -103,6 +104,13 @@
</Package>
<History>
<Update release="9">
<Date>2021-08-07</Date>
<Version>8.3.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2020-07-21</Date>
<Version>7.2.0</Version>