<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>dbus-python</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>
        <Summary>D-Bus Python bindings</Summary>
        <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>python-devel</Dependency>
           <!-- <Dependency>python3</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-python-common</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Common dbus-python files shared between dbus-python and dbus-python3</Summary>
        <RuntimeDependencies>
            <Dependency>dbus-devel</Dependency>
            <Dependency release="current">dbus-python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-01-26</Date>
            <Version>1.2.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>1.2.4</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-10</Date>
            <Version>1.2.4</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
