Merge pull request #15771 from 4fury-c3440d8/python

translate-toolkit python3.
This commit is contained in:
Rmys
2024-12-22 11:15:39 +03:00
committed by GitHub
4 changed files with 121 additions and 0 deletions
@@ -0,0 +1,13 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import python3modules
def build():
python3modules.compile()
def install():
python3modules.install()
@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-cwcwidth</Name>
<Homepage>https://github.com/sebastinas/cwcwidth</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<PartOf>programming.language.python3</PartOf>
<Summary>Python bindings for wc(s)width.</Summary>
<Description>cwcwidth provides Python bindings for wcwidth and wcswidth functions defined in POSIX.1-2001 and POSIX.1-2008 based on Cython.</Description>
<Archive sha1sum="cc2ac1c472a710efe5ee21fb1509493197da77af" type="targz">
https://files.pythonhosted.org/packages/source/c/cwcwidth/cwcwidth-0.1.9.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cython3</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-wheel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>python3-cwcwidth</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-12-22</Date>
<Version>0.1.9</Version>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import python3modules
def build():
python3modules.compile()
def install():
python3modules.install()
@@ -0,0 +1,48 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-translate_toolkit</Name>
<Homepage>https://toolkit.translatehouse.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<PartOf>programming.language.python3</PartOf>
<Summary>A Toolkit for Localization Engineers.</Summary>
<Description>Useful localization tools with Python API for building localization and translation systems.</Description>
<Archive sha1sum="6a5fdf59f0807d87c9550bdde5942b0f9d171073" type="targz">https://files.pythonhosted.org/packages/source/t/translate_toolkit/translate_toolkit-3.14.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-wheel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-setuptools-scm</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>python3-translate_toolkit</Name>
<RuntimeDependencies>
<Dependency>python3-lxml</Dependency>
<Dependency>python3-cwcwidth</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-12-22</Date>
<Version>3.14.4</Version>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>