diff --git a/programming/language/python3/python3-Babel/actions.py b/programming/language/python3/python3-Babel/actions.py index d33354621c..5eb4872bae 100644 --- a/programming/language/python3/python3-Babel/actions.py +++ b/programming/language/python3/python3-Babel/actions.py @@ -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/") \ No newline at end of file diff --git a/programming/language/python3/python3-Babel/pspec.xml b/programming/language/python3/python3-Babel/pspec.xml index 271667effa..3ac9190a62 100644 --- a/programming/language/python3/python3-Babel/pspec.xml +++ b/programming/language/python3/python3-Babel/pspec.xml @@ -1,5 +1,5 @@ - + python3-Babel @@ -9,32 +9,41 @@ admins@pisilinux.org BSD + programming.language.python3 library A collection of tools for internationalizing Python applications Babel is composed of two major parts: 1) tools to build and work with gettext message catalogs , 2) a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc. - https://github.com/python-babel/babel/archive/v2.6.0.tar.gz + https://github.com/python-babel/babel/archive/v2.7.0.tar.gz + https://www.unicode.org/Public/cldr/35.1/core.zip + python3-setuptools python3-devel python3-pytz - python3-devel - python3-setuptools python3-Babel + A collection of tools for internationalizing Python applications python3-pytz - python3-setuptools + python3 /usr/bin - /usr/lib + /usr/lib/python3* /usr/share/doc/python3-Babel + + 2019-12-30 + 2.7.0 + Version bump. + Blue Devil + bluedevil@sctzine.com + 2019-01-28 2.6.0