dbus-python fixed
This commit is contained in:
@@ -11,16 +11,8 @@ from pisi.actionsapi import get
|
|||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.makedirs("build-python2")
|
shelltools.makedirs("build-python2")
|
||||||
#shelltools.makedirs("build-python3")
|
|
||||||
autotools.autoreconf("-fi")
|
autotools.autoreconf("-fi")
|
||||||
|
|
||||||
#shelltools.cd("build-python3")
|
|
||||||
#shelltools.system("PYTHON=python3 ../configure --prefix=/usr \
|
|
||||||
# --localstatedir=/var \
|
|
||||||
# --disable-api-docs \
|
|
||||||
# --disable-html-docs \
|
|
||||||
# --disable-static")
|
|
||||||
|
|
||||||
shelltools.cd("build-python2")
|
shelltools.cd("build-python2")
|
||||||
shelltools.system("../configure --prefix=/usr \
|
shelltools.system("../configure --prefix=/usr \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
@@ -29,9 +21,6 @@ def setup():
|
|||||||
--disable-static")
|
--disable-static")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
#shelltools.cd("build-python3")
|
|
||||||
#autotools.make()
|
|
||||||
|
|
||||||
shelltools.cd("build-python2")
|
shelltools.cd("build-python2")
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
@@ -42,8 +31,5 @@ def check():
|
|||||||
def install():
|
def install():
|
||||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
||||||
|
|
||||||
#shelltools.cd("build-python3")
|
|
||||||
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
|
||||||
|
|
||||||
shelltools.cd("build-python2")
|
shelltools.cd("build-python2")
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>dbus-python-common</Name>
|
<Name>dbus-python-common</Name>
|
||||||
|
<PartOf>system.devel</PartOf>
|
||||||
<Summary>Common dbus-python files shared between dbus-python and dbus-python3</Summary>
|
<Summary>Common dbus-python files shared between dbus-python and dbus-python3</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>dbus-devel</Dependency>
|
<Dependency>dbus-devel</Dependency>
|
||||||
@@ -54,22 +55,6 @@
|
|||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<!--<Package>
|
|
||||||
<Name>dbus-python3</Name>
|
|
||||||
<PartOf>programming.language.python</PartOf>
|
|
||||||
<Summary>D-Bus Python3 bindings</Summary>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency release="current">dbus-python-common</Dependency>
|
|
||||||
<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>
|
<History>
|
||||||
<Update release="6">
|
<Update release="6">
|
||||||
<Date>2015-05-22</Date>
|
<Date>2015-05-22</Date>
|
||||||
|
|||||||
Reference in New Issue
Block a user