dbus-python*:moved programming/language/python3
This commit is contained in:
Executable → Regular
@@ -1,41 +0,0 @@
|
|||||||
#!/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/")
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
<?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>
|
|
||||||
<Summary>D-Bus Python bindings</Summary>
|
|
||||||
<Description>dbus-python provides a Python module which wraps the D-Bus programming API.</Description>
|
|
||||||
<Archive sha1sum="7a00f7861d26683ab7e3f4418860bd426deed9b5" type="targz">http://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.0.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>
|
|
||||||
<Summary>D-Bus Python3 bindings</Summary>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<!--<Dependency release="current">dbus-python-common</Dependency>--><!--is system.devel package, is not dependency in real -->
|
|
||||||
<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="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>
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<?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>
|
|
||||||
Reference in New Issue
Block a user