python3-Babel:version bump

This commit is contained in:
blue-devil
2020-01-10 21:40:57 +00:00
parent 09cb8e52f9
commit d1acaa449c
2 changed files with 22 additions and 17 deletions
@@ -4,23 +4,19 @@
# 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
from pisi.actionsapi import pisitools
#WorkDir = "Babel-%s" % get.srcVERSION()
htmltxt = "%s/%s/html" % (get.docDIR(), get.srcNAME())
def setup():
shelltools.system("mkdir -p cldr")
shelltools.system("cp core.zip cldr/cldr-core-35.1.zip")
def build():
shelltools.system('sed -i "s:pybabel:&3:g" setup.py')
shelltools.system("python3 setup.py import_cldr")
#pythonmodules.compile()
pythonmodules.run("setup.py import_cldr", pyVer="3")
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dohtml("docs/")
#pisitools.insinto(htmltxt, "docs/*.txt")
pisitools.dodoc("LICENSE","AUTHORS","README*")
pisitools.dohtml("docs/")