python-sphinx:add new package and add dep

This commit is contained in:
alihanozturk
2017-01-29 22:19:03 +03:00
parent eaae898d80
commit c8f7240a47
13 changed files with 284 additions and 2 deletions
@@ -0,0 +1,25 @@
#!/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("python setup.py import_cldr")
#pythonmodules.compile()
def install():
pythonmodules.install()
pisitools.dohtml("docs/")
#pisitools.insinto(htmltxt, "docs/*.txt")
pisitools.dodoc("LICENSE","AUTHORS","README*")
@@ -0,0 +1,44 @@
<?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="291c9e107ac203593ad83a04799c4cc2c375cb03" type="targz">https://github.com/python-babel/babel/archive/2.3.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</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="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>