python3-*:First release

This commit is contained in:
Rmys
2019-01-29 13:56:34 +03:00
parent 87bef02972
commit 4d73e9872c
25 changed files with 909 additions and 2 deletions
@@ -0,0 +1,26 @@
#!/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('sed -i "s:pybabel:&3:g" setup.py')
shelltools.system("python3 setup.py import_cldr")
#pythonmodules.compile()
def install():
pythonmodules.install(pyVer="3")
pisitools.dohtml("docs/")
#pisitools.insinto(htmltxt, "docs/*.txt")
pisitools.dodoc("LICENSE","AUTHORS","README*")
@@ -0,0 +1,46 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-Babel</Name>
<Homepage>https://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="20723ca6993fc2bf521d4f5db83c03346ad5da79" type="targz">https://github.com/python-babel/babel/archive/v2.6.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-pytz</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-Babel</Name>
<RuntimeDependencies>
<Dependency>python3-pytz</Dependency>
<Dependency>python3-setuptools</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/python3-Babel</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-01-28</Date>
<Version>2.6.0</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>python3-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>