flowblade new package

This commit is contained in:
Rmys
2021-08-30 16:43:21 +03:00
parent 3f35d93518
commit a0444bdad8
8 changed files with 288 additions and 29 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env 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 pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
shelltools.system("sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|g' flowblade-trunk/Flowblade/launch/*")
shelltools.system("sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|g' flowblade-trunk/Flowblade/tools/clapperless.py")
shelltools.cd("flowblade-trunk")
pythonmodules.compile(pyVer="3")
def install():
shelltools.cd("flowblade-trunk")
pythonmodules.install(pyVer="3")
shelltools.chmod(get.installDIR() + "/usr/lib/python3.8/site-packages/Flowblade/launch/*")
shelltools.chmod(get.installDIR() + "/usr/lib/python3.8/site-packages/Flowblade/tools/clapperless.py")
pisitools.dodoc("AUTHORS", "COPYING", "README*")