cwcwidth python3.
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user