From 7a5fd9c12e8ae33f869c0cd505dfb533c3a6c05a Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:30:13 +0300 Subject: [PATCH] python-Babel move to core --- .../language/python/python-Babel/actions.py | 28 ++++++++ .../language/python/python-Babel/pspec.xml | 67 +++++++++++++++++++ .../python/python-Babel/translations.xml | 8 +++ 3 files changed, 103 insertions(+) create mode 100755 programming/language/python/python-Babel/actions.py create mode 100755 programming/language/python/python-Babel/pspec.xml create mode 100755 programming/language/python/python-Babel/translations.xml diff --git a/programming/language/python/python-Babel/actions.py b/programming/language/python/python-Babel/actions.py new file mode 100755 index 00000000..e8b59416 --- /dev/null +++ b/programming/language/python/python-Babel/actions.py @@ -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*") diff --git a/programming/language/python/python-Babel/pspec.xml b/programming/language/python/python-Babel/pspec.xml new file mode 100755 index 00000000..bc0b1a94 --- /dev/null +++ b/programming/language/python/python-Babel/pspec.xml @@ -0,0 +1,67 @@ + + + + + python-Babel + http://babel.pocoo.org + + PisiLinux Community + admins@pisilinux.org + + BSD + 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/releases/download/v2.7.0/Babel-2.7.0.tar.gz + https://www.unicode.org/Public/cldr/35.1/core.zip + + python-devel + python-pytz + python-setuptools + + + + + python-Babel + + python-pytz + python-setuptools + + + /usr/bin + /usr/lib + /usr/share/doc/python-Babel + + + + + + 2019-10-03 + 2.7.0 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-08-15 + 2.6.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2018-02-26 + 2.5.3 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-29 + 2.3.4 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/language/python/python-Babel/translations.xml b/programming/language/python/python-Babel/translations.xml new file mode 100755 index 00000000..461674a0 --- /dev/null +++ b/programming/language/python/python-Babel/translations.xml @@ -0,0 +1,8 @@ + + + + python-Babel + Python uygulamalarını uluslararasılaştırmak için bir takım koleksiyonu + Babel temelde iki parçadan oluşur: 1) gettext mesaj kataloglarıyla çalışmak ve onları derlemek için araçlar 2) CLDR(Common Locale Data Repository), Genel Yerel Veri Deposuna, çeşitli yerel gösterim isimlerine ulaşımı sağlamak, yerelleştirilmiş numara ve tarih biçimlerini desteklemek gibi özellikler sağlayan bir python arayüzü. + +