From 362d24bbd4893d4f6827fe4571f92bbbcc035d2d Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Sun, 6 Sep 2015 21:59:29 +0300 Subject: [PATCH] sip3:fixed actions.py --- programming/language/python/sip3/actions.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/programming/language/python/sip3/actions.py b/programming/language/python/sip3/actions.py index a4f11cdc47..99b4188075 100644 --- a/programming/language/python/sip3/actions.py +++ b/programming/language/python/sip3/actions.py @@ -13,14 +13,6 @@ WorkDir = "sip-%s" % get.srcVERSION() py3dir = "python3.4" def setup(): - shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.4m\/Python.h/g' {} \;") - - shelltools.cd("..") - shelltools.makedirs("build_python3") - shelltools.copytree("./%s" % WorkDir, "build_python3") - shelltools.cd(WorkDir) - - shelltools.cd("../build_python3/%s" % WorkDir) pythonmodules.run('configure.py \ -b /usr/bin \ -d /usr/lib/%s/site-packages/ \ @@ -28,13 +20,9 @@ def setup(): CFLAGS="%s" CXXFLAGS="%s"' % (py3dir, py3dir, get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") def build(): - - shelltools.cd("../build_python3/%s" % WorkDir) autotools.make() def install(): - - shelltools.cd("../build_python3/%s" % WorkDir) autotools.rawInstall("DESTDIR=%s -C sipgen" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())