python-Babel move to core

This commit is contained in:
IdrisKalp
2019-12-10 19:30:13 +03:00
parent a185d79d7d
commit 7a5fd9c12e
3 changed files with 103 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/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 pisitools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir = "Babel-%s" % get.srcVERSION()
htmltxt = "%s/%s/html" % (get.docDIR(), get.srcNAME())
def build():
shelltools.system("mkdir -p cldr")
shelltools.system("cp core.zip cldr/cldr-core-35.1.zip")
shelltools.system("python setup.py import_cldr")
shelltools.system("python setup.py build")
#pythonmodules.compile()
def install():
pythonmodules.install()
pisitools.dohtml("docs/")
#pisitools.insinto(htmltxt, "docs/*.txt")
pisitools.dodoc("LICENSE","AUTHORS","README*")