diff --git a/programming/language/python3/python3-pillow/actions.py b/programming/language/python3/python3-pillow/actions.py index 319d860704..61835ed62d 100644 --- a/programming/language/python3/python3-pillow/actions.py +++ b/programming/language/python3/python3-pillow/actions.py @@ -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", "", "") - #pisitools.dosed("_imagingft.c", "", "") - 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) \ No newline at end of file diff --git a/programming/language/python3/python3-pillow/pspec.xml b/programming/language/python3/python3-pillow/pspec.xml index 7fb791a886..2651f29039 100644 --- a/programming/language/python3/python3-pillow/pspec.xml +++ b/programming/language/python3/python3-pillow/pspec.xml @@ -1,5 +1,5 @@ - + python3-pillow @@ -8,57 +8,85 @@ PisiLinux Community admins@pisilinux.org - as-is + BSD + programming.language.python3 library - PIL is the Python Imaging Library. - 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. - https://github.com/python-pillow/Pillow/archive/5.2.0.tar.gz + PIL is the fork of Python Imaging Library. + 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. + https://github.com/python-pillow/Pillow/archive/7.0.0.tar.gz - python3-devel - lcms-devel - zlib-devel + libjpeg-turbo-devel + libimagequant-devel python3-setuptools - webp-devel + openjpeg2-devel freetype-devel + python3-devel lcms2-devel tiff-devel - libjpeg-turbo-devel - libjpeg-turbo-devel - - - - + webp-devel + zlib-devel + python3-pillow + PIL is the fork of Python Imaging Library. - zlib - tiff + libjpeg-turbo + libimagequant + openjpeg2 + freetype python3 lcms2 - freetype + tiff webp - libjpeg-turbo - - - - + zlib + - /usr/bin /usr/lib - /usr/include /usr/share/doc + + python3-pillow-devel + Development files for python3-pillow + + python3-pillow + libjpeg-turbo-devel + python3-devel + zlib-devel + + + /usr/include + + + + + 2020-01-15 + 7.0.0 + Version bump. + Blue Devil + bluedevil@sctzine.com + 2018-08-30 5.2.0 @@ -88,4 +116,4 @@ groni@pisilinux.org - + \ No newline at end of file diff --git a/programming/language/python3/python3-pillow/translations.xml b/programming/language/python3/python3-pillow/translations.xml new file mode 100644 index 0000000000..750e383014 --- /dev/null +++ b/programming/language/python3/python3-pillow/translations.xml @@ -0,0 +1,15 @@ + + + + python3-pillow + Python Görsel Kitaplığı (PIL - Python Imaging Library) çatalıdır. + 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. + wrapper (version enrobée) Python3 de la librairie de graphisme vectoriel cairo. + + + + python3-pillow-devel + python3-pillow için geliştirme dosyaları + python3-pillow-devel, python3-pillow için geliştirme dosyalarını içerir. + + \ No newline at end of file