<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-pillow</Name>
        <Homepage>https://python-pillow.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <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="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>
            <Dependency>zlib-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>python3-Jinja2</Dependency>
            <Dependency>openjpeg2-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libimagequant-devel</Dependency>
            <!-- documentation dependencies -->
            <Dependency>python3-tk</Dependency>
            <Dependency>python3-cffi</Dependency>
            <Dependency>python3-sphinx</Dependency>
            <Dependency>python3-olefile</Dependency>
            <Dependency>python3-pycparser</Dependency>
            <Dependency>python3-sphinx-removed-in</Dependency>
            <Dependency>python3-sphinx_rtd_theme</Dependency>
            <Dependency>python3-charset-normalizer</Dependency>
            <Dependency>python3-sphinx-copybutton</Dependency>
            <!--
            <Dependency>tcl-devel</Dependency>
            <Dependency>lcms-devel</Dependency>
            <Dependency>python3-tk</Dependency>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>python-qt5-devel</Dependency>
            <Dependency>python3-qt5-devel</Dependency>
            <Dependency>sane-backends-devel</Dependency>
            -->
        </BuildDependencies>
        <Patches>
            <Patch>python-pillow_spinxwarn.patch</Patch>
            <Patch>python-pillow_sphinx.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>python3-pillow</Name>
        <Summary>PIL is the fork of Python Imaging Library.</Summary>
        <RuntimeDependencies>
            <Dependency>tiff</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>openjpeg2</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libimagequant</Dependency>
            <Dependency>python3-Jinja2</Dependency>
            <Dependency>python3-sphinx-removed-in</Dependency>
            <Dependency>python3-sphinx-copybutton</Dependency>
            <Dependency>python3-charset-normalizer</Dependency>
            <!--
            <Dependency>tcl</Dependency>
            <Dependency>tcltk</Dependency>
            <Dependency>xdg-utils</Dependency>
            <Dependency>python-qt5</Dependency>
            <Dependency>python3-qt5</Dependency>
            <Dependency>sane-backends</Dependency>
            -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-pillow-devel</Name>
        <Summary>Development files for python3-pillow</Summary>
        <RuntimeDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency release="current">python3-pillow</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </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="10">
            <Date>2023-10-17</Date>
            <Version>8.3.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-10-22</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>
            <Comment>Minor version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-05-18</Date>
            <Version>7.1.2</Version>
            <Comment>Patch version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <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>
            <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>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <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>
