diff --git a/hardware/disk/libblockdev/actions.py b/hardware/disk/libblockdev/actions.py index ffd249341d..0b25c3fc05 100644 --- a/hardware/disk/libblockdev/actions.py +++ b/hardware/disk/libblockdev/actions.py @@ -9,8 +9,10 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get +shelltools.export("python2", "/usr/bin/python2.7") + def setup(): - #shelltools.system("./autogen.sh") + shelltools.system("sed -i 's|python2-config|python2.7-config|g' configure") autotools.configure("--without-gtk-doc \ --without-nvdimm \ --without-dm") @@ -20,5 +22,8 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.domove("/gi/overrides/BlockDev.py", "/usr/lib/python2.7/site-packages/gi/overrides") + pisitools.removeDir("/gi") pisitools.dodoc("LICENSE") diff --git a/hardware/disk/libblockdev/pspec.xml b/hardware/disk/libblockdev/pspec.xml index 31d214f266..d7290bad6a 100644 --- a/hardware/disk/libblockdev/pspec.xml +++ b/hardware/disk/libblockdev/pspec.xml @@ -69,7 +69,7 @@ - 2018-12-26 + 2019-01-02 2.20 First release PisiLinux Community