code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>wxPython</Name>
        <Homepage>http://www.wxpython.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>wxWinLL-3</License>
        <IsA>library</IsA>
        Python bindings for wxGTK
        <Description>wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWindows cross platform GUI library, which is written in C++.</Description>
        <Archive sha1sum="5053f3fa04f4eb3a9d4bfd762d963deb7fa46866" type="tarbz2">mirrors://sourceforge/wxpython/wxPython-src-3.0.2.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>wxGTK-devel</Dependency>
            <Dependency>wxBase-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libXxf86vm-devel</Dependency>
            <Dependency>python-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>wxPython</Name>
        <RuntimeDependencies>
            <Dependency>wxGTK</Dependency>
            <Dependency>wxBase</Dependency>
            <Dependency>wxGTK2.8</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>wxPython-devel</Name>
        Development files for wxPython
        <RuntimeDependencies>
            <Dependency release="current">wxPython</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-01-25</Date>
            <Version>3.0.2.0</Version>
            <Comment>Rebuild for new toolchain</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-07-02</Date>
            <Version>3.0.2.0</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>wxPython</Name>
        wxGTK için Python bağlayıcıları.
    </Source>

    <Package>
        <Name>wxPython-devel</Name>
        wxPython için geliştirme dosyaları
    </Package>
</PISI>

repo_name: ayhanyalcinsoy/main


code:
<PISI>
    <Name>programming.language.python3</Name>
</PISI>


code:
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    shelltools.makedirs("build-python3")
    autotools.autoreconf("-fi")

    shelltools.cd("build-python3")
    shelltools.system("PYTHON=python3 ../configure --prefix=/usr \
                       --localstatedir=/var \
                       --disable-api-docs \
                       --disable-html-docs \
                       --disable-static")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    shelltools.cd("build-python3")
    autotools.make()

def check():
    #autotools.make("check")
    pass

def install():
    shelltools.cd("build-python3")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # remove dbus-python-common files in py3 package
    pisitools.removeDir("/usr/include/")
    pisitools.removeDir("/usr/lib/pkgconfig")
    pisitools.removeDir("/usr/share/")


code:
diff -Naur dbus-python-0.83.0.orig/dbus/connection.py dbus-python-0.83.0/dbus/connection.py
--- dbus-python-0.83.0.orig/dbus/connection.py	2009-04-22 13:58:33.000000000 +0300
+++ dbus-python-0.83.0/dbus/connection.py	2009-04-22 13:58:40.000000000 +0300
@@ -239,7 +239,7 @@
     ProxyObjectClass = ProxyObject

     def __init__(self, *args, **kwargs):
-        super(Connection, self).__init__(*args, **kwargs)
+        super(Connection, self).__init__()

         # this if-block is needed because shared bus connections can be
         # __init__'ed more than once


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>dbus-python3</Name>
        <Homepage>http://dbus.freedesktop.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>AFL-2.1</License>
        <IsA>library</IsA>
        D-Bus Python bindings
        <Description>dbus-python provides a Python module which wraps the D-Bus programming API.</Description>
         <Archive sha1sum="078a76d760ba649991b0ac0ae2eaeda41c00ca5b" type="targz">https://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.4.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">suppress-warnings.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>dbus-python3</Name>
        <PartOf>programming.language.python</PartOf>
        D-Bus Python3 bindings
        <RuntimeDependencies>

            <Dependency>python3</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>dbus-glib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3*</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-05-01</Date>
            <Version>1.2.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.2.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.2.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>1.2.0</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>dbus-python</Name>
        <Summary xml:lang="tr">D-Bus için Python bağlayıcıları</Summary>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("LICENSE", "README*")


code:
diff -Nuar a/gonullu/config/sandbox-requirement.yml b/gonullu/config/sandbox-requirement.yml
--- a/gonullu/config/sandbox-requirement.yml	2017-03-07 10:06:31.000000000 +0300
+++ b/gonullu/config/sandbox-requirement.yml	2017-12-08 19:28:31.399214708 +0300
@@ -7,3 +7,5 @@
 - gtk2
 - ModemManager
 - vlc
+- firefox
+- systemtap


code:
<PISI>
    <Source>
        <Name>gonullu</Name>
        <Homepage>https://github.com/PisiLinuxNew/gonullu</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>app:console</IsA>
        <Summary>Volunteer application is developed to compile the packages for Pisi distributions</Summary>
        <Description>Application build the packages waiting at queue of build system as PISI packages using docker images and again, sent them to build system.</Description>
        <Archive type="targz" sha1sum="c57b81c875918d3d8c709c2b770584fa35937393">https://github.com/PisiLinuxNew/gonullu/archive/v1.1.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>sandbox.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gonullu</Name>
        <RuntimeDependencies>
            <Dependency>docker</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>python3-argparse</Dependency>
            <Dependency>python3-backports-ssl-match-hostname</Dependency>
            <Dependency>python3-colorama</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>python3-docker-py</Dependency>
            <Dependency>python3-psutil</Dependency>
            <Dependency>python3-PyYAML</Dependency>
            <Dependency>python3-requests</Dependency>
            <Dependency>python3-sip</Dependency>
            <Dependency>python3-six</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2017-12-31</Date>
            <Version>1.1.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-12-08</Date>
            <Version>1.1.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-06-08</Date>
            <Version>1.1.6</Version>
            <Comment>Added runtime dependency</Comment>
            <Name>Erdem Ersoy</Name>
            <Email>erdemersoy@live.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-05-27</Date>
            <Version>1.1.6</Version>
            <Comment>Version bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-27</Date>
            <Version>1.1.4</Version>
            <Comment>Version bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2017-01-15</Date>
            <Version>1.1.3</Version>
            <Comment>Version bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-14</Date>
            <Version>1.0</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gonullu</Name>
        <Summary xml:lang="tr">Gonullu uygulamasi, pisi linux dağıtımının paketlerini derlemek üzere hazırlanmıştır.</Summary>
        <Description xml:lang="tr">Uygulama docker imajlarını kullanarak, derleme sisteminin kuyruğundan bekleyen paketleri pisi paketi haline getirir ve derleme sistemine gönderir.</Description>
    </Source>
</PISI>


code:
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    shelltools.export("PYTHON", "/usr/bin/python3.6")
    autotools.autoreconf("-vfi")
    autotools.configure("--disable-static")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog" ,"COPYING", "README", "TODO")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-python3</Name>
        <Homepage>http://gstreamer.freedesktop.org/modules/gst-python.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>GStreamer Python3 bindings</Summary>
        <Description>gst-python3 is a Python frontend to GStreamer.</Description>
        <Archive sha1sum="01726f517888b26079e357429faa3fcbe45cebac" type="tarxz">https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.10.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>python3-pygobject3-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gst-python3</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>1.10.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.10.22</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-10-21</Date>
            <Version>0.10.22</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-python3</Name>
        <Summary xml:lang="tr">GStreamer Python bağlayıcıları</Summary>
        <Description xml:lang="tr">gst-python3 GStreamer için Python arabirimidir.</Description>
    </Source>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools

WorkDir="pip-%s" % get.srcVERSION()

def setup():
    pythonmodules.compile(pyVer = "3")

def install():
    pythonmodules.install(pyVer = "3")
    pisitools.rename("/usr/bin/pip", "pip3")

    shelltools.system("sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python3|' %s/usr/lib/python3.*/site-packages/pip/__init__.py" % get.installDIR())
    shelltools.system("python3 -m compileall %s/usr/lib/python3.*/site-packages/pip/__init__.py" % get.installDIR())


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pip3</Name>
        <Homepage>https://pypi.python.org/pypi/pip</Homepage>
        <Packager>
            <Name>Yusuf Aydemir</Name>
            <Email>Yusuf.aydemir@istanbul.com</Email>
        </Packager>
        <Summary>The PyPA recommended tool for installing Python packages</Summary>
        <Description>The PyPA recommended tool for installing Python packages</Description>
        <License>MIT</License>
        <Archive sha1sum="39b5840f6a9e6888d56a78beb447a064aeaf1592" type="targz">https://github.com/pypa/pip/archive/9.0.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-setuptools</Dependency>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>pip3</Name>
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pip</Path>
            <Path fileType="executable">/usr/bin/pip3*</Path>
            <Path fileType="data">/usr/lib/python3*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency>python3-setuptools</Dependency>
        </RuntimeDependencies>
    </Package>

    <History>
        <Update release="6">
            <Date>2017-02-01</Date>
            <Version>9.0.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-06-18</Date>
            <Version>8.1.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-10</Date>
            <Version>8.1.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-06</Date>
            <Version>8.1.2</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-30</Date>
            <Version>8.1.2</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-28</Date>
            <Version>8.1.1</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pythonmodules

def build():
    shelltools.export("PYTHON", "python3")
    autotools.make()
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>py3parted</Name>
        <Homepage>http://people.redhat.com/dcantrel/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>library</IsA>
        <Summary>Python3 bindings for parted</Summary>
        <Description>pyparted is the python module which enables to use GNU Parted package from python. Using python with this module, programmers can create, destroy, resize, check and copy partitions, and the file systems on them.</Description>
        <Archive sha1sum="ee5f3ec70b0cc5c4704771484e439699e15191c5" type="targz">https://github.com/rhinstaller/pyparted/archive/v3.10.7.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-decorator</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency versionFrom="3.2">parted-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>py3parted</Name>
        <RuntimeDependencies>
            <Dependency>python3-decorator</Dependency>
            <Dependency>parted</Dependency>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-04-15</Date>
            <Version>3.10.7</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>3.10.7</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.10.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-10</Date>
            <Version>3.10.5</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>pyparted</Name>
        <Summary xml:lang="tr">Disk bölümleme tablolarını yönetmek için kullanılan parted kütüphanesine erişim sağlayan Python modülü.</Summary>
        <Description xml:lang="tr">pyparted, GNU Parted uygulamasının python programlama diliyle kullanılabilmesi için gerekli olan kütüphanedir. Bu modülü kullanan programcılar, python ile yeni disk bölümleri ya da dosya sistemleri oluşturabilir, bunları silebilir, yeniden boyutlandırabilir, kontrol edebilir ve kopyalayabilir.</Description>
        <Description xml:lang="fr">pyparted est un module python permettant d'utiliser le paquet GNU Parted depuis python. À l'aide de ce module, les programmeurs peuvent depuis python détruire, re-dimensionner, vérifier et copier des partitions et les systèmes de fichier présents dessus.</Description>
    </Source>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "PyYAML-%s" % get.srcVERSION()

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples")
    pisitools.dodoc("LICENSE", "PKG-INFO", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-PyYAML</Name>
        <Homepage>http://pyyaml.org/wiki/PyYAML</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>The next generation YAML parser and emitter for Python3</Summary>
        <Description>python3-pyyaml is the next generation YAML parser and emitter for Python3.</Description>
        <Archive sha1sum="cb7fd3e58c129494ee86e41baedfec69eb7dafbe" type="targz">http://pyyaml.org/download/pyyaml/PyYAML-3.12.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libyaml-devel</Dependency>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-PyYAML</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
            <Dependency>libyaml</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-02-01</Date>
            <Version>3.12</Version>
            <Comment>Rebuild for py3.6.0</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2017-01-16</Date>
            <Version>3.12</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python3-pyyaml</Name>
        <Summary xml:lang="tr">Python3 için yeni nesil YAML ayrıştırıcısı</Summary>
        <Description xml:lang="tr">python3-pyyaml python3 için yeni nesil YAML ayrıştırıcısıdır.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-

# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("LICENSE*", "MANIFEST*", "PKG-INFO", "NEWS*", "README*")


code:
<PISI>
    <Source>
        <Name>python3-argparse</Name>
        <Homepage>https://pypi.python.org/pypi/argparse</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>apache</License>
        <IsA>app:console</IsA>
        Python command-line parsing library
        <Description>The argparse module makes it easy to write user friendly command line interfaces.</Description>
        <Archive sha1sum="50f36429b2989461ee541093e7229257ee950c07" type="targz">https://pypi.python.org/packages/18/dd/e617cfc3f6210ae183374cd9f6a26b20514bbb5a792af97949c5aacddf0f/argparse-1.4.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>python3-argparse</Name>
        Python command-line parsing library
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <History>
        <Update release="3">
            <Date>2017-02-01</Date>
            <Version>1.4.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.4.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-06</Date>
            <Version>1.4.0</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("PKG-INFO")


code:
<PISI>
    <Source>
        <Name>python3-backports-ssl-match-hostname</Name>
        <Homepage>https://pypi.python.org/pypi/backports.ssl_match_hostname</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>PSF-2.2</License>
        <IsA>app</IsA>
        The ssl.match_hostname() function from Python 3.4
        <Description>The ssl.match_hostname() function from Python 3.4</Description>
        <Archive sha1sum="0567c136707a5f53b95aa793b79cc8d5c61d8e22" type="targz">https://pypi.python.org/packages/76/21/2dc61178a2038a5cb35d14b61467c6ac632791ed05131dda72c20e7b9e23/backports.ssl_match_hostname-3.5.0.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-backports-ssl-match-hostname</Name>
        The ssl.match_hostname() function from Python 3.4
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-02-01</Date>
            <Version>3.5.0.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-15</Date>
            <Version>3.4.0.2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import get
from pisi.actionsapi import pisitools

def setup():
    pythonmodules.compile(pyVer = "3")

def install():
    pythonmodules.install(pyVer = "3")

    pisitools.dodoc("AUTHORS", "COPYING", "README","COPYING*")


code:
diff -urN pycairo-1.10.0.orig/setup.py pycairo-1.10.0/setup.py
--- pycairo-1.10.0.orig/setup.py	1970-01-01 00:00:00.000000000 +0000
+++ pycairo-1.10.0/setup.py	2013-07-16 05:59:25.414054186 +0000
@@ -0,0 +1,127 @@
+#!/usr/bin/env python
+
+import distutils.core      as dic
+import distutils.dir_util  as dut
+import distutils.file_util as fut
+import distutils.sysconfig as dsy
+import io
+import os
+import subprocess
+import sys
+
+pycairo_version        = '1.10.0'
+cairo_version_required = '1.10.1'
+python_version_required = (3,1)
+pkgconfig_file = 'py3cairo.pc'
+config_file    = 'src/config.h'
+
+LIBDIR = os.uname ()[-1] == 'x86_64' and  'lib'
+
+def call(command):
+  pipe = subprocess.Popen(command, shell=True,
+                          stdout=subprocess.PIPE,
+                          stderr=subprocess.PIPE)
+  pipe.wait()
+  return pipe
+
+def pkg_config_version_check(pkg, version):
+  check = '%s >= %s' % (pkg, version)
+  pipe = call("pkg-config --print-errors --exists '%s'" % (check,))
+  if pipe.returncode == 0:
+    print(check, ' Successful')
+  else:
+    print(check, ' Failed')
+    raise SystemExit(pipe.stderr.read().decode())
+
+def pkg_config_parse(opt, pkg):
+  check = "pkg-config %s %s" % (opt, pkg)
+  pipe = call("pkg-config %s %s" % (opt, pkg))
+  if pipe.returncode != 0:
+    print(check, ' Failed')
+    raise SystemExit(pipe.stderr.read().decode())
+
+  output = pipe.stdout.read()
+  output = output.decode() # get the str
+  opt = opt[-2:]
+  return [x.lstrip(opt) for x in output.split()]
+
+
+def createPcFile(PcFile):
+  print('creating %s' % PcFile)
+  with open(PcFile, 'w') as fo:
+    fo.write ("""\
+prefix=%s
+
+Name: Pycairo
+Description: Python 3 bindings for cairo
+Version: %s
+Requires: cairo
+Cflags: -I${prefix}/include/pycairo
+Libs:
+""" % (sys.prefix, pycairo_version)
+            )
+
+def createConfigFile(ConfigFile):
+  print('creating %s' % ConfigFile)
+  v = pycairo_version.split('.')
+
+  with open(ConfigFile, 'w') as fo:
+    fo.write ("""\
+// Configuration header created by setup.py - do not edit
+#ifndef _CONFIG_H
+#define _CONFIG_H 1
+
+#define PYCAIRO_VERSION_MAJOR %s
+#define PYCAIRO_VERSION_MINOR %s
+#define PYCAIRO_VERSION_MICRO %s
+#define VERSION "%s"
+
+#endif // _CONFIG_H
+""" % (v[0], v[1], v[2], pycairo_version)
+            )
+
+
+if sys.version_info < python_version_required:
+  raise SystemExit('Error: Python >= %s is required' %
+                   (python_version_required,))
+
+pkg_config_version_check ('cairo', cairo_version_required)
+if sys.platform == 'win32':
+  runtime_library_dirs = []
+else:
+  runtime_library_dirs = pkg_config_parse('--libs-only-L', 'cairo')
+
+createPcFile(pkgconfig_file)
+createConfigFile(config_file)
+
+
+cairo = dic.Extension(
+  name = 'cairo._cairo',
+  sources = ['src/cairomodule.c',
+             'src/context.c',
+             'src/font.c',
+             'src/matrix.c',
+             'src/path.c',
+             'src/pattern.c',
+             'src/surface.c',
+             ],
+  include_dirs = pkg_config_parse('--cflags-only-I', 'cairo'),
+  library_dirs = pkg_config_parse('--libs-only-L', 'cairo'),
+  libraries    = pkg_config_parse('--libs-only-l', 'cairo'),
+  runtime_library_dirs = runtime_library_dirs,
+  )
+
+dic.setup(
+  name = "pycairo",
+  version = pycairo_version,
+  description = "python interface for cairo",
+  ext_modules = [cairo],
+  package_dir = {'cairo': 'src'},
+  packages = ['cairo'],
+  data_files = [
+    ('include/pycairo', ['src/py3cairo.h']),
+    (LIBDIR + '/pkgconfig', [pkgconfig_file]),
+    (os.path.join(dsy.get_python_lib(True, False, prefix=sys.prefix), 'cairo'),
+     ['src/__init__.py']),
+    ],
+  )


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-cairo</Name>
        <Homepage>http://cairographics.org/pycairo</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        Python3 wrapper for cairo graphics library
        <Description>Pycairo is set of Python3 bindings for the cairo graphics library.</Description>
        <Archive sha1sum="b4283aa1cc9aafd12fd72ad371303a486da1d014" type="tarbz2">http://cairographics.org/releases/pycairo-1.10.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">pycairo-setup.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>python3-cairo</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
            <Dependency>cairo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-cairo-devel</Name>
        Development files for python3-cairo
        <RuntimeDependencies>
            <Dependency release="current">python3-cairo</Dependency>
            <Dependency>cairo-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.10.0</Version>
            <Comment>Release Bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.10.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>1.10.0</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python3-cairo</Name>
        Cairo vektörel grafik kitaplığı için Python3 bağlayıcıları
        wrapper (version enrobée) Python3 de la librairie de graphisme vectoriel cairo.
    </Source>

    <Package>
        <Name>python3-cairo-devel</Name>
        python3-cairo için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("CHANGELOG*", "LICENSE*", "MANIFEST*", "PKG-INFO", "README*")


code:
<PISI>
    <Source>
        <Name>python3-colorama</Name>
        <Homepage>https://pypi.python.org/pypi/colorama</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        Cross-platform colored terminal text.
        <Description>Python API for cross-platform colored terminal text.</Description>
        <Archive type="targz" sha1sum="7310d6ddf680c524ad6b16f673a77a9defb5766e">https://pypi.python.org/packages/f0/d0/21c6449df0ca9da74859edc40208b3a57df9aca7323118c913e58d442030/colorama-0.3.7.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>python3-colorama</Name>
        Cross-platform colored terminal text.
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <History>
        <Update release="3">
            <Date>2017-02-01</Date>
            <Version>0.3.7</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.3.7</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-06</Date>
            <Version>0.3.7</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/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 autotools
from pisi.actionsapi import get

def build():
    pisitools.dosed("Makefile", "python", "python3")
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("COPYING", "NEWS", "README", "TODO", "examples/cupstree.py")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-cups</Name>
        <Homepage>http://cyberelk.net/tim/software/pycups</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Python3 interface to the CUPS API</Summary>
        <Description>python3-cups contains python3 bindings to wrap the CUPS API.</Description>
        <Archive sha1sum="561dc41a0025ad3467e7d151ee2ce84e5e564f9d" type="tarbz2">http://cyberelk.net/tim/data/pycups/pycups-1.9.73.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>cups-devel</Dependency>
            <Dependency>python3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-cups</Name>
        <RuntimeDependencies>
            <Dependency>cups</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-01-25</Date>
            <Version>1.9.73</Version>
            <Comment>First Relase.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python3-cups</Name>
        <Summary xml:lang="tr">CUPS programlama arayüzü için Python3 desteği</Summary>
        <Description xml:lang="tr">python3-cups, CUPS programlama arayüzü için Python3 bağlayıcıları içeren bir pakettir.</Description>
    </Source>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools

def check():
    shelltools.system("nosetests3 --with-doctest -e documentation")

def install():
    pythonmodules.install(pyVer="3")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-decorator</Name>
        <Homepage>http://www.phyast.pitt.edu/~micheles/python/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>Python3 module to simplify the usage of decorators</Summary>
        <Description>python-decorator simplifies the usage of decorators for the average programmer.</Description>
        <Archive sha1sum="f2ddc2de311b8d2afae7bba8efec6131a7f4b986" type="targz">https://pypi.python.org/packages/cc/ac/5a16f1fc0506ff72fcc8fd4e858e3a1c231f224ab79bb7c4c9b2094cc570/decorator-4.0.11.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-nose</Dependency>
            <Dependency>python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-decorator</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-05</Date>
            <Version>4.0.11</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>4.0.11</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>4.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-04</Date>
            <Version>4.0.2</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python-decorator</Name>
        <Summary xml:lang="tr">Dekoratör kullanımını kolaylaştıran python modulü</Summary>
        <Description xml:lang="tr">python-decorator, ortalama bir Python programcısı için dekoratör kullanımını basitleştirir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("CONTRIBUTING*", "LICENSE", "MAINTAINERS", "MANIFEST*", "README*")


code:
--- setup_old.py	2017-02-01 15:02:25.088620379 +0300
+++ setup.py	2017-02-01 15:10:53.517611419 +0300
@@ -5,16 +5,8 @@
 import os
 import sys

-import pip
-
 from setuptools import setup, find_packages

-if 'docker-py' in [x.project_name for x in pip.get_installed_distributions()]:
-    print(
-        'ERROR: "docker-py" needs to be uninstalled before installing this'
-        ' package:\npip uninstall docker-py', file=sys.stderr
-    )
-    sys.exit(1)

 ROOT_DIR = os.path.dirname(__file__)
 SOURCE_DIR = os.path.join(ROOT_DIR)


code:
<PISI>
    <Source>
        <Name>python3-docker-py</Name>
        <Homepage>https://github.com/dotcloud/docker-py</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>apache</License>
        <IsA>app:console</IsA>
        Python client for Docker.
        <Description>A Python library for the Docker Remote API. It does everything the docker command does, but from within Python – run containers, manage them, pull/push images, etc.</Description>

        <Archive sha1sum="f20e51eae6f39762d6c1d8f3349785507d140f28" type="targz">https://github.com/docker/docker-py/archive/1.8.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>python3-websocket-client</Dependency>
            <Dependency>python3-six</Dependency>
            <Dependency>python3-requests</Dependency>
        </BuildDependencies>
        <Patches>

        </Patches>
    </Source>
    <Package>
        <Name>python3-docker-py</Name>
        Python client for Docker.
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
            <Dependency>python3-websocket-client</Dependency>
            <Dependency>python3-six</Dependency>
            <Dependency>python3-requests</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-04-21</Date>
            <Version>1.8.1</Version>
            <Comment>Version Down to fix gonullu.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-01</Date>
            <Version>2.0.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-06</Date>
            <Version>1.8.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

shelltools.export("PYTHONDONTWRITEBYTECODE", "1")

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("README*","PKG-INFO","MANIFEST*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>python3-kappa</Name>
        <Homepage>https://github.com/garnaat/kappa</Homepage>
        <Packager>
            <Name>Ismet Sezer Simsek</Name>
            <Email>ismetsezer1996@gmail.com</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>A CLI tool for AWS Lambda developers</Summary>
        <Description>Kappa is a command line tool that (hopefully) makes it easier to deploy, update, and test functions for AWS Lambda.</Description>
        <Archive sha1sum="27599e4dddbc66c21a152759c0701ef1587cb918" type="targz">https://pypi.python.org/packages/9e/67/c064a0b48f3aaee38aa810e09e6c3c97857e9c9a69cb2e6f79da650ec054/kappa-0.7.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency versionFrom="19.6.1">python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-kappa</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
    </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-08-15</Date>
            <Version>0.7.0</Version>
            <Comment>First Release</Comment>
            <Name>Ismet Sezer Simsek</Name>
            <Email>ismetsezer1996@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer = "3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("LICENSE.md", "README.md")


code:
<PISI>
    <Source>
        <Name>python3-markups</Name>
        <Homepage>https://github.com/retext-project/pymarkups</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        Wrapper around various text markups
        <Description>Wrapper around various text markups</Description>
        <Archive sha1sum="b06cab58b9b5dcb2a3d95895323313c68d462b14" type="targz">https://pypi.python.org/packages/1d/25/3f6d2cb31ec42ca5bd3bfbea99b63892b735d76e26f20dd2dcc34ffe4f0d/Markdown-2.6.8.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>python3-markups</Name>
        Wrapper around various text markups
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <History>
        <Update release="2">
            <Date>2017-02-01</Date>
            <Version>2.6.8</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-21</Date>
            <Version>2.6.7</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

WorkDir = "nose-%s" % get.srcVERSION()

examples = "%s/%s/" % (get.docDIR(), get.srcNAME())

shelltools.export("PYTHONDONTWRITEBYTECODE", "1")

def setup():
    shelltools.system("sed -i -e 's:man/man1:share/man/man1:g' setup.py")

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.rename("/usr/bin/nosetests", "nosetests3")
    pisitools.removeDir("/usr/share/man")

    pisitools.dohtml("doc/*")

    shelltools.chmod("examples/*", 0644)
    pisitools.insinto(examples, "examples/*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>python3-nose</Name>
        <Homepage>http://somethingaboutorange.com/mrl/projects/nose/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>A unittest extension offering automatic test suite discovery and easy test authoring</Summary>
        <Description>python-nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic.</Description>
        <Archive sha1sum="97f2a04c9d43b29ddf4794a1a1d1ba803f1074c6" type="targz">https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency versionFrom="19.6.1">python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-nose</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-01</Date>
            <Version>1.3.7</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.3.7</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-06</Date>
            <Version>1.3.7</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-04</Date>
            <Version>1.3.7</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python3-nose</Name>
        <Summary xml:lang="tr">Python için unittest genişlemesi</Summary>
        <Description xml:lang="tr">python3-nose alternatif test tanıtma ve keşif kitaplığı.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-

# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    #pisitools.removeDir("/usr/lib/*/site-packages/six-1.9.0*egg-info*")
    #pisitools.remove("/usr/lib/*/site-packages/*egg-info*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-packaging</Name>
        <Homepage>http://pypi.python.org/pypi/six/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <License>Apache</License>
        <IsA>app:console</IsA>
        <Summary>Core utilities for Python packages</Summary>
        <Description>Core utilities for Python packages</Description>
        <Archive sha1sum="b14d57689a6d3c5e074201685553f3bc4254d9e8" type="targz">https://github.com/pypa/packaging/archive/16.8.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-packaging</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-02-01</Date>
            <Version>16.8</Version>
            <Comment>First Release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<PISI>
    <Source>
        <Name>python3-six</Name>
        <Summary xml:lang="tr">Python3 paketleri için çekirdek uygulama.</Summary>
        <Description xml:lang="tr">Python3 paketleri için çekirdek uygulama.</Description>
    </Source>
</PISI>


code:
#!/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")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-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>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("LICENSE", "README.rst", "INSTALL.rst")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-psutil</Name>
        <Homepage>https://github.com/giampaolo/psutil</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>A cross-platform process utilities module for Python</Summary>
        <Description>python3-psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory) in a portable way by using Python, implementing many functionalities offered by command line tools like ps, top, kill, lsof and netstat.</Description>
        <Archive sha1sum="0cfc35492185bc6ebe768c70ed86a4eb32e25e4f" type="targz">https://github.com/giampaolo/psutil/archive/release-5.0.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-psutil</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-01</Date>
            <Version>5.0.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>4.0.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-06</Date>
            <Version>4.0.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python3-psutil</Name>
        <Summary xml:lang="tr">Platform bağımsız, süreçler hakkında bilgi sağlayan bir Python modülü</Summary>
        <Description xml:lang="tr">python3-psutil, bütün çalışan süreçler ve sistem kullanımı (MİB - Merkezi İşlem Birim(CPU) ve hafıza gibi) hakkında bilgilere erişimek için arayüz sunan bir Python modülüdür. ps, top, kill, lsof, netstat gibi bir çok komut satırı araçlarının sunduğu işlevselliği sağlamaktadır.</Description>
    </Source>
</PISI>


code:
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    pisitools.dosed("configure", "-Werror=format", "#-Werror=format")
    shelltools.export("PYTHON", "/usr/bin/python3.6")
    shelltools.system("./configure --prefix=/usr \
                       --localstatedir=/var \
                       --disable-static")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.rename("/usr/lib/pkgconfig/pygobject-3.0.pc", "py3gobject-3.0.pc")
    pisitools.rename("/usr/include/pygobject-3.0/pygobject.h", "py3gobject.h")

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-pygobject3</Name>
        <Homepage>http://www.pygtk.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Glib bindings for Python3
        <Description>pygobject is GLib's GObject library bindings for Python3.</Description>
        <Archive sha1sum="a8eb98b56defa47fa0644a7a1c5578973e02137b" type="tarxz">http://ftp.acc.umu.se/pub/GNOME/sources/pygobject/3.22/pygobject-3.22.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libffi-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-cairo-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-pygobject3</Name>
        python3 için pygobject3
        <RuntimeDependencies>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libffi</Dependency>
            <Dependency>python3-cairo</Dependency>
            <Dependency>gobject-introspection</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/pygobject</Path>
            <Path fileType="library">/usr/lib/python3*</Path>
            <Path fileType="library">/usr/lib/libpyglib-gi-2.0-python3*.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-pygobject3-devel</Name>
        pygobject development files
        <RuntimeDependencies>
            <Dependency release="current">python3-pygobject3</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2017-08-01</Date>
            <Version>3.22.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2017-02-06</Date>
            <Version>3.22.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-01-25</Date>
            <Version>3.22.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>3.18.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-27</Date>
            <Version>3.18.2</Version>
            <Comment>Release bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>3.18.2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python3-pygobject3</Name>
        glib için python3 bağlayıcıları
        Bindings (liens) glib pour Python3.
        <Description xml:lang="tr">pygobject, Python3 için yazılmış, Glib'in GObject kütüphanesi bağlayıcısıdır.</Description>
    </Source>

    <Package>
        <Name>python3-pygobject3-devel</Name>
        pygobject geliştirme dosyaları
    </Package>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir="PyQt5_gpl-%s" % get.srcVERSION()

def setup():
    pythonmodules.run("configure.py --confirm-license \
                                    --qsci-api \
                                    --sip /usr/bin/sip \
                                    --qmake='/usr/bin/qmake-qt5' \
                                    --destdir='/usr/lib/python3.6/site-packages' \
                                    --sip-incdir='/usr/include/python3.6m' \
                                    CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
    shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'")

def build():
    autotools.make()

def install():
    shelltools.cd("%s/PyQt5_gpl-%s" % (get.workDIR(),get.srcVERSION()))
    autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
    autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
    autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})

    pisitools.dohtml("doc/html/*")
    pisitools.dodoc("NEWS", "README","LICENSE*")


code:
diff -up PyQt5_gpl-5.6/configure.py.dbus PyQt5_gpl-5.6/configure.py
--- PyQt5_gpl-5.6/configure.py.dbus	2016-04-24 22:16:43.120281591 -0500
+++ PyQt5_gpl-5.6/configure.py	2016-04-25 10:16:52.465218805 -0500
@@ -2141,7 +2141,7 @@ def check_dbus(target_config, verbose):
     else:
         dlist = target_config.dbus_inc_dirs

-    target_config.dbus_inc_dirs = []
+    #target_config.dbus_inc_dirs = []

     for d in dlist:
         if os.access(os.path.join(d, 'dbus', 'dbus-python.h'), os.F_OK):


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-qt5</Name>
        <Homepage>http://www.riverbankcomputing.co.uk/software/pyqt</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        <IsA>library</IsA>
        A set of Python bindings for the Qt 5.x Toolkit
        <Description>Qt is a set of C++ libraries and development tools that includes platform independent abstractions for graphical user interfaces, networking, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, and user and application settings. PyQt implements 440 of these classes as a set of Python modules.</Description>
        <Archive sha1sum="46aae31f8196d4beed878bc70ed9ed2938f3c73f" type="targz">mirrors://sourceforge/pyqt/PyQt5/PyQt-5.7/PyQt5_gpl-5.7.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>dbus-devel</Dependency>
            <Dependency>dbus-python3</Dependency>
            <Dependency>dbus-python-common</Dependency>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency versionFrom="4.19.1">python3-sip</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-connectivity-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-declarative-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-location-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-multimedia-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-sensors-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-serialport-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-svg-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webchannel-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webkit-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-websockets-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-x11extras-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-xmlpatterns-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-quickcontrols2-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-script-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-designer-devel</Dependency>
        </BuildDependencies>
        <Patches>

        </Patches>
    </Source>

    <Package>
        <Name>python3-qt5</Name>
        A set of Python 3.x bindings for the Qt 5.x Toolkit
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>python3</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base</Dependency>
            <Dependency versionFrom="5.7.1">qt5-sensors</Dependency>
            <Dependency versionFrom="5.7.1">qt5-location</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webkit</Dependency>
            <Dependency versionFrom="5.7.1">qt5-x11extras</Dependency>
            <Dependency versionFrom="5.7.1">qt5-svg</Dependency>
            <Dependency versionFrom="5.7.1">qt5-multimedia</Dependency>
            <Dependency versionFrom="5.7.1">qt5-serialport</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webchannel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-websockets</Dependency>
            <Dependency versionFrom="5.7.1">qt5-declarative</Dependency>
            <Dependency versionFrom="5.7.1">qt5-xmlpatterns</Dependency>
            <Dependency versionFrom="5.7.1">qt5-connectivity</Dependency>
            <Dependency>python3-sip</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pyuic5</Path>
            <Path fileType="library">/usr/lib/python3.6/site-packages</Path>
            <Path fileType="library">/usr/lib/qt5/plugins/PyQt5/libpyqt5qmlplugin.so</Path>
            <Path fileType="library">/usr/lib/qt5/plugins/designer/libpyqt5.so</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/qt5/qsci/api/python/PyQt5.api</Path>
            <Path fileType="executable">/usr/bin/pyrcc5</Path>
            <Path fileType="executable">/usr/bin/pylupdate5</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-qt5-devel</Name>
        Development files for python3-qt5
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base</Dependency>
            <Dependency release="current">python3-qt5</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/sip/PyQt5</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-06-03</Date>
            <Version>5.7.1</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-09</Date>
            <Version>5.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-07</Date>
            <Version>5.6</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-25</Date>
            <Version>5.6</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>5.5.1</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<PISI>
    <Source>
        <Name>python-qt5</Name>
        <Summary xml:lang="tr">Qt5.x araçları için python bağlayıcıları</Summary>
        <Description xml:lang="tr">Qt5, C++ kütüphaneleri dizisi ve geliştirme araçları olup grafik kullanıcı arabirimleri için, ağ bağlantısı, iş parçacığı, Unicode, düzenli ifadeler, SQL veritabanları, SVG, OpenGL, XML ve kullanıcıve uygulama ayarları gibi platform bağımsız uygulamalara ayrılır. PyQt, Python modülü seti olarak bu sınıftan 440 kadar uygulamayı çalıştırır.</Description>
    </Source>
    <Package>
        <Name>python3-qt5</Name>
    </Package>
    <Package>
        <Name>python3-qt5-docs</Name>
    </Package>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-requests</Name>
        <Homepage>http://www.python-requests.org/</Homepage>
        <Packager>
            <Name>Ergün Salman</Name>
            <Email>ergunsalman@hotmail.com</Email>
        </Packager>
        <Summary>Requests is an Apache2 Licensed HTTP library, written in Python, for human beings.</Summary>
        <Description>Python’s standard urllib2 module provides most of the HTTP capabilities you need</Description>
        <License>MIT</License>
        <Archive sha1sum="827f7c8abb5a57d980d9870908724613b8b120c1" type="targz">https://pypi.python.org/packages/16/09/37b69de7c924d318e51ece1c4ceb679bf93be9d05973bb30c35babd596e2/requests-2.13.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-requests</Name>
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-19</Date>
            <Version>2.13.0</Version>
            <Comment>Release Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>2.9.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-06</Date>
            <Version>2.9.1</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>2.9.1</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

shelltools.export("PYTHONDONTWRITEBYTECODE", "1")

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    pisitools.dodoc("README*","PKG-INFO","MANIFEST*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>python3-sanic</Name>
        <Homepage></Homepage>
        <Packager>
            <Name>Ismet Sezer Simsek</Name>
            <Email>ismetsezer1996@gmail.com</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>A microframework based on uvloop, httptools, and learnings of flask</Summary>
        <Description>Sanic is a Flask-like Python 3.5+ web server thats written to go fast. Its based on the work done by the amazing folks at magicstack</Description>
        <Archive sha1sum="3414b034921ffb4438fc852a6910a4afdc1805d5" type="targz">https://pypi.python.org/packages/d5/38/65c654c8c412984fc78a9460cf9add5cbd3a6ee87788160eecaa1ec90529/sanic-0.6.0.tar.gz#md5=4fce620187338405bb84a3de109b57b9</Archive>
        <BuildDependencies>
            <Dependency versionFrom="3.6.0">python3-devel</Dependency>
            <Dependency versionFrom="19.6.1">python3-setuptools</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-sanic</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="3.6.0">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-08-15</Date>
            <Version>0.6.0</Version>
            <Comment>First Release</Comment>
            <Name>Ismet Sezer Simsek</Name>
            <Email>ismetsezer1996@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
# -*- 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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools

WorkDir="setuptools-%s" % get.srcVERSION()

def install():
    pythonmodules.run("bootstrap.py", pyVer="3")
    pythonmodules.install(pyVer = "3")
    pisitools.rename("/usr/bin/easy_install", "py3easy-install")
    #avoid python-setuptools conflict
    pisitools.removeDir("/usr/share")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>python3-setuptools</Name>
        <Homepage>http://pypi.python.org/pypi/setuptools</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>PSF-2.2</License>
        <IsA>library</IsA>
        <Summary>Python setuptools</Summary>
        <Description>python-setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.</Description>
        <Archive sha1sum="e929531d068f765fbdbb68e0f7138c09345fcc0b" type="targz">https://github.com/pypa/setuptools/archive/38.2.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-six</Dependency>
            <Dependency>python3-packaging</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-setuptools</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/python3*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="8">
            <Date>2018-01-24</Date>
            <Version>38.2.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-02-01</Date>
            <Version>32.1.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-06-09</Date>
            <Version>19.6.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-06-06</Date>
            <Version>19.6.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-05-26</Date>
            <Version>19.6.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-26</Date>
            <Version>19.6.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-26</Date>
            <Version>19.6.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-26</Date>
            <Version>19.6.1</Version>
            <Comment>First release.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>python-setuptools</Name>
        <Summary xml:lang="tr">Python kurulum araçları</Summary>
        <Description xml:lang="tr">python-setuptools, Python distutils'e yapılan, özellikle başka paketlere bağımlılığı olan Python paketlerini daha kolay oluşturmaya ve dağıtmaya yarayan iyileştirmeler koleksiyonudur.</Description>
    </Source>
</PISI>


code:
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import get

WorkDir = "sip-%s" % get.srcVERSION()

def setup():
    shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.6m\/Python.h/g' {} \;")
    pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s"' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-sip</Name>
        <Homepage>http://www.riverbankcomputing.co.uk/sip</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        SIP is a tool for generating bindings for C++ classes so that they can be used by Python3
        <Description>SIP is a tool for generating bindings for C and C++ libraries so that they can be used by Python3. It takes any C or C++ libraries and converts them into Python extension modules.</Description>
        <Archive sha1sum="233dadc59f8b18175d914311148a049ec46fbaa9" type="targz">mirrors://sourceforge/pyqt/sip-4.19.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="5.6.0">qt5-base-devel</Dependency>
            <Dependency>python3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python3-sip</Name>
        Python 3.x SIP bindings for C and C++ libraries
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/licenses</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2018-01-10</Date>
            <Version>4.19.6</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-03-02</Date>
            <Version>4.19.1</Version>
            <Comment>Version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-06-18</Date>
            <Version>4.18</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-11</Date>
            <Version>4.18</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-06</Date>
            <Version>4.18</Version>
            <Comment>Version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-20</Date>
            <Version>4.18</Version>
            <Comment>Version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>4.16.9</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<PISI>
    <Source>
        <Name>python3-sip</Name>
        C ve C++ kütüphaneleri için python bağlayıcıları oluşturan bir araç
        Generator powiązań Pythona z bibliotekami klas C++
        <Description xml:lang="tr">SIP3 C ve C++ kütüphanelerini Python'da kullanabilmek için bağlayıcılar oluşturan bir araçtır. Herhangi bir C veya C++ kütüphanesini Python genişletme modülüne dönüştürür.</Description>
        <Description xml:lang="pl">Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików ze specyfikacjami klas. Obsługiwany jest Python 2 i 3.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-

# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def build():
    pythonmodules.compile(pyVer="3")

def install():
    pythonmodules.install(pyVer="3")

    #pisitools.removeDir("/usr/lib/*/site-packages/six-1.9.0*egg-info*")
    #pisitools.remove("/usr/lib/*/site-packages/*egg-info*")