<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3</Name>
        <Homepage>https://www.python.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>programming.language</PartOf>
        <License>custom</License>
        <Summary>Next generation of the python high-level scripting language</Summary>
        <Description>Python is an accessible, high-level, dynamically typed, interpreted programming language, designed with an emphasis on code readability. It includes an extensive standard library, and has a vast ecosystem of third-party libraries.</Description>
        <Archive sha1sum="6ee446eaacf901a3305565bd6569e2de135168e3" type="tarxz">https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tar.xz</Archive>
<!--         <Archive sha1sum="bf7badf7e248e0ecf465d33c2f5aeec774209227" type="targz" target="Python-3.8.5">https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz</Archive> -->
        <BuildDependencies>
            <Dependency>bzip2</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>gdbm-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>mpdecimal-devel</Dependency>
            <Dependency versionFrom="2.32">glibc-devel</Dependency>
            <!--<Dependency>valgrind</Dependency>-->
            <!--<Dependency>tcl-devel</Dependency>-->
            <!--<Dependency>tcltk-devel</Dependency>-->
        </BuildDependencies>
        <Patches>
            <!--
            <Patch level="1">dont-make-libpython-readonly.patch</Patch> 
            <Patch level="1">0001-compileall-Fix-ddir-when-recursing.patch</Patch>
            -->
        </Patches>
    </Source>

    <Package>
        <Name>python3</Name>
        <Summary>Next generation of the python high-level scripting language</Summary>
        <RuntimeDependencies>
            <Dependency>xz</Dependency>
            <Dependency>gdbm</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libffi</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>mpdecimal</Dependency>
            <Dependency versionFrom="2.32">glibc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable" permanent="0">/usr/bin/p*</Path>
            <Path fileType="executable" permanent="0">/usr/bin/2to3*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/d*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/e*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/h*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/imp*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/j*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib2*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/log*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/u*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/v*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/w*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/x*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/*.py</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/*.txt</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/b*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_b*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_d*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_e*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/f*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/g*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_g*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_h*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_j*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_l*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/n*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/o*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_o*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/r*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_r*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/_te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/ti*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/u*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/x*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/lib-dynload/z*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.8/__pycache__</Path>
            <Path fileType="library" permanent="0">/usr/lib/*.so</Path>
            <Path fileType="library" permanent="0">/usr/lib/libpython3.8.so*</Path>
            <Path fileType="man" permanent="0">/usr/share/man/man1/*</Path>
            <Path fileType="doc" permanent="0">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-devel</Name>
        <Summary>Development headers for the python3.</Summary>
        <RuntimeDependencies>
            <Dependency release="current">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header" permanent="0">/usr/include/python3.8/*</Path>
            <Path fileType="library" permanent="0">/usr/lib/pkgconfig/*</Path>
        </Files>
    </Package>

    <History>
        <Update release="12">
            <Date>2020-10-22</Date>
            <Version>3.8.6</Version>
            <Comment>Version bump</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2020-10-19</Date>
            <Version>3.8.5</Version>
            <Comment>Patch version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-05-22</Date>
            <Version>3.8.3</Version>
            <Comment>Patch version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-03-28</Date>
            <Version>3.8.2</Version>
            <Comment>Patch version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="8">
            <Date>2019-12-23</Date>
            <Version>3.8.1</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-12-10</Date>
            <Version>3.8.0</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-07-31</Date>
            <Version>3.6.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-05-09</Date>
            <Version>3.6.5</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-01-31</Date>
            <Version>3.6.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>3.4.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-08</Date>
            <Version>3.4.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-13</Date>
            <Version>3.4.3</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
