<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3</Name>
        <Homepage>http://www.python.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>custom</License>
        <PartOf>programming.language</PartOf>
        <Summary>Next generation of the python high-level scripting language</Summary>
        <Description>Next generation of the python high-level scripting language</Description>
        <Archive sha1sum="5a7a833a36f1006257d298787f4c38493c5d1689" type="tarxz">https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz</Archive>
        <BuildDependencies>
<!--             <Dependency>valgrind</Dependency> -->
            <Dependency>bzip2</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>tcl-devel</Dependency>
            <Dependency>gdbm-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>tcltk-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>
        </BuildDependencies>
        <Patches>
            <Patch level="1">dont-make-libpython-readonly.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>python3</Name>
        <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>
        </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.6/a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/d*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/e*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/h*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/imp*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/j*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib2*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/log*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/u*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/v*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/w*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/x*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/*.py</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/*.txt</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/b*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_b*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_d*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_e*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/f*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/g*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_g*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_h*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_j*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_l*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/n*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/o*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_o*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/r*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_r*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/_te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/ti*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/u*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/x*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/lib-dynload/z*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/__pycache__</Path>
            <Path fileType="library" permanent="0">/usr/lib/*.so</Path>
            <Path fileType="library" permanent="0">/usr/lib/libpython3.6m.so.1.0</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>
        <RuntimeDependencies>
            <Dependency release="current">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header" permanent="0">/usr/include/python3.6m/*</Path>
            <Path fileType="library" permanent="0">/usr/lib/pkgconfig/*</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-tk</Name>
        <IsA>library</IsA>
        <PartOf>programming.language.python</PartOf>
        <Summary>Python modules for Tk</Summary>
        <RuntimeDependencies>
            <Dependency release="current">python3</Dependency>
            <Dependency>tcl</Dependency>
            <Dependency>tcltk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3*/tkinter</Path>
            <Path fileType="library">/usr/lib/python3*/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.6/turtledemo</Path>
        </Files>
    </Package>

    <Package>
        <Name>idle3</Name>
        <Icon>idle</Icon>
        <IsA>app:gui</IsA>
        <PartOf>programming.environment</PartOf>
        <Summary>An Integrated Development Environment for Python</Summary>
        <RuntimeDependencies>
            <Dependency>python3-tk</Dependency>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/idle3*</Path>
            <Path fileType="library">/usr/lib/python*/idlelib</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile permission="0644" target="/usr/share/pixmaps/idle3.png">python-logo.png</AdditionalFile>
            <AdditionalFile permission="0644" target="/usr/share/applications/idle3.desktop">idle.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <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>
