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*")
+67
View File
@@ -0,0 +1,67 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-Babel</Name>
<Homepage>http://babel.pocoo.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>A collection of tools for internationalizing Python applications</Summary>
<Description>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.</Description>
<Archive sha1sum="5605f75353368d32500afb30e60fc8f0edbca506" type="targz">https://github.com/python-babel/babel/releases/download/v2.7.0/Babel-2.7.0.tar.gz</Archive>
<Archive sha1sum="f050b458cf5f29c2a3825247fb8a7b5e21471009" type="binary" target="Babel-2.7.0">https://www.unicode.org/Public/cldr/35.1/core.zip</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>python-pytz</Dependency>
<Dependency>python-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python-Babel</Name>
<RuntimeDependencies>
<Dependency>python-pytz</Dependency>
<Dependency>python-setuptools</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/python-Babel</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2019-10-03</Date>
<Version>2.7.0</Version>
<Comment>Version bump</Comment>
<Name>idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="3">
<Date>2018-08-15</Date>
<Version>2.6.0</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2018-02-26</Date>
<Version>2.5.3</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2017-01-29</Date>
<Version>2.3.4</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-Babel</Name>
<Summary xml:lang="tr">Python uygulamalarını uluslararasılaştırmak için bir takım koleksiyonu</Summary>
<Description xml:lang="tr">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ü.</Description>
</Source>
</PISI>