python3-cairo:fix

This commit is contained in:
alihanozturk
2017-02-16 08:51:44 +03:00
parent 01168ef295
commit 106c7bb202
3 changed files with 139 additions and 15 deletions
@@ -4,21 +4,14 @@
# 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 shelltools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
def setup():
shelltools.export("PYTHON","/usr/bin/python3")
shelltools.system("python3 ./waf configure --prefix=/usr --libdir=/usr/lib")
pythonmodules.compile(pyVer = "3")
def install():
pythonmodules.install(pyVer = "3")
def build():
shelltools.system("python3 waf build -v")
def install():
shelltools.system("DESTDIR=%s python3 waf install" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "README","COPYING*")
pisitools.dodoc("AUTHORS", "COPYING", "README","COPYING*")