python3-pillow

not qt5, not tk
This commit is contained in:
Ertuğrul Erata
2017-12-10 22:33:44 +03:00
parent 4ec37851f5
commit 57d0a0a515
2 changed files with 108 additions and 0 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# 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 get
#WorkDir="Imaging-%s" % get.srcVERSION()
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(), "libImaging/%s" % header)
pisitools.dodoc("README.rst")
@@ -0,0 +1,84 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-pillow</Name>
<Homepage>http://python-pillow.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<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="c9cdef90f785c71970364b93cc24b3c7133aebeb" type="targz">https://github.com/python-pillow/Pillow/archive/4.3.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>lcms-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>webp-devel</Dependency>
<Dependency>freetype-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-->
</BuildDependencies>
</Source>
<Package>
<Name>python3-pillow</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>tiff</Dependency>
<Dependency>python3</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>freetype</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-->
</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>
<History>
<Update release="3">
<Date>2017-12-10</Date>
<Version>4.3.0</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="2">
<Date>2017-01-25</Date>
<Version>4.0.0</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-06-18</Date>
<Version>3.1.0</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>