python3-Babel:version bump
This commit is contained in:
@@ -4,23 +4,19 @@
|
|||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
from pisi.actionsapi import pisitools
|
|
||||||
from pisi.actionsapi import pythonmodules
|
from pisi.actionsapi import pythonmodules
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import pisitools
|
||||||
|
|
||||||
#WorkDir = "Babel-%s" % get.srcVERSION()
|
def setup():
|
||||||
|
shelltools.system("mkdir -p cldr")
|
||||||
htmltxt = "%s/%s/html" % (get.docDIR(), get.srcNAME())
|
shelltools.system("cp core.zip cldr/cldr-core-35.1.zip")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.system('sed -i "s:pybabel:&3:g" setup.py')
|
pythonmodules.run("setup.py import_cldr", pyVer="3")
|
||||||
shelltools.system("python3 setup.py import_cldr")
|
pythonmodules.compile(pyVer="3")
|
||||||
#pythonmodules.compile()
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
pythonmodules.install(pyVer="3")
|
pythonmodules.install(pyVer="3")
|
||||||
|
|
||||||
pisitools.dohtml("docs/")
|
pisitools.dohtml("docs/")
|
||||||
#pisitools.insinto(htmltxt, "docs/*.txt")
|
|
||||||
pisitools.dodoc("LICENSE","AUTHORS","README*")
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>python3-Babel</Name>
|
<Name>python3-Babel</Name>
|
||||||
@@ -9,32 +9,41 @@
|
|||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>BSD</License>
|
<License>BSD</License>
|
||||||
|
<PartOf>programming.language.python3</PartOf>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>A collection of tools for internationalizing Python applications</Summary>
|
<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>
|
<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>
|
<Archive sha1sum="6012496b189a46fd555a4b3479442cc8c952bb3d" type="targz">https://github.com/python-babel/babel/archive/v2.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>
|
<BuildDependencies>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
<Dependency>python3-devel</Dependency>
|
||||||
<Dependency>python3-pytz</Dependency>
|
<Dependency>python3-pytz</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
|
||||||
<Dependency>python3-setuptools</Dependency>
|
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>python3-Babel</Name>
|
<Name>python3-Babel</Name>
|
||||||
|
<Summary>A collection of tools for internationalizing Python applications</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>python3-pytz</Dependency>
|
<Dependency>python3-pytz</Dependency>
|
||||||
<Dependency>python3-setuptools</Dependency>
|
<Dependency>python3</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib/python3*</Path>
|
||||||
<Path fileType="doc">/usr/share/doc/python3-Babel</Path>
|
<Path fileType="doc">/usr/share/doc/python3-Babel</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2019-12-30</Date>
|
||||||
|
<Version>2.7.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="1">
|
<Update release="1">
|
||||||
<Date>2019-01-28</Date>
|
<Date>2019-01-28</Date>
|
||||||
<Version>2.6.0</Version>
|
<Version>2.6.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user