From 610131e070c9c6231b27ffa607e1fae2c8dd0247 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 26 Jan 2023 00:48:08 +0300 Subject: [PATCH] add py3 fonttools. --- .../python3/python3-fonttools/actions.py | 18 ++++++ .../python3/python3-fonttools/pspec.xml | 55 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 programming/language/python3/python3-fonttools/actions.py create mode 100644 programming/language/python3/python3-fonttools/pspec.xml diff --git a/programming/language/python3/python3-fonttools/actions.py b/programming/language/python3/python3-fonttools/actions.py new file mode 100644 index 0000000000..a8c7e9168a --- /dev/null +++ b/programming/language/python3/python3-fonttools/actions.py @@ -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") diff --git a/programming/language/python3/python3-fonttools/pspec.xml b/programming/language/python3/python3-fonttools/pspec.xml new file mode 100644 index 0000000000..d2aedbffbe --- /dev/null +++ b/programming/language/python3/python3-fonttools/pspec.xml @@ -0,0 +1,55 @@ + + + + + python3-fonttools + https://github.com/fonttools/fonttools + + fury + uglyside@yandex.ru + + MIT + library + programming.language.python3 + A library to manipulate font files from Python. + + 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. + + + https://github.com/fonttools/fonttools/archive/refs/tags/4.38.0.tar.gz + + + cython3 + python3-devel + python3-setuptools + python3-importlib_metadata + + + + + + + + python3-fonttools + + python3 + python3-importlib_metadata + + + /usr/bin + /usr/lib/python3.9 + /usr/share/man/man1 + /usr/share/doc + + + + + + 2023-01-26 + 4.38.0 + First build. + fury + uglyside@yandex.ru + + +