add py3 fonttools.

This commit is contained in:
4fury-c3440d8
2023-01-26 00:48:08 +03:00
parent caa1411c79
commit 610131e070
2 changed files with 73 additions and 0 deletions
@@ -0,0 +1,18 @@
#!/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 pythonmodules, pisitools
def setup():
pass
def build():
pythonmodules.compile(pyVer = "3")
def install():
pythonmodules.install(pyVer = "3")
pisitools.dodoc("NEWS.rst")
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-fonttools</Name>
<Homepage>https://github.com/fonttools/fonttools</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<PartOf>programming.language.python3</PartOf>
<Summary>A library to manipulate font files from Python.</Summary>
<Description>
The project includes the TTX tool, that can convert TrueType and OpenType fonts to and from an XML text format, which is also called TTX. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats.
</Description>
<Archive sha1sum="76cc4a0f4007859d6d39cc9010a41f5eb4a68617" type="targz">
https://github.com/fonttools/fonttools/archive/refs/tags/4.38.0.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cython3</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-importlib_metadata</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>python3-fonttools</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency>python3-importlib_metadata</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/lib/python3.9</Path>
<Path fileType="data">/usr/share/man/man1</Path>
<Path fileType="data">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-01-26</Date>
<Version>4.38.0</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>