dev-python/vttlib: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-05-08 03:21:11 +02:00
parent 4182b521d2
commit 3f6e407c73
3 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST vttLib-0.11.0.zip 148335 BLAKE2B 550fb5855972ac626ad9ad98088f1b4f20794a11cb2b29f112ce669d9768c2ca910edb939392a35e3e5163eb1e236bf6a76565377828727bc6017f008ad8309a SHA512 b26f6ad967e1e16d55644e984a5f02b65ed1fd0797dc4c46fac9df786720e9b3b51eb7ab59c97a6a449b3915acecfb5f17a7a3deeb615eee21f1164c37297019

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>comaintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
vttLib
A library to
Extract VTT hinting data from a OpenType font prepared with Microsoft Visual TrueType (VTT) and store it in a FontTools TTX dump
Merge it back from a TTX dump into an OpenType font and
Compile the data inside to font to ship it (turn TSI* tables into fpgm, etc.).
The primary use case is version control of hinting data of fonts.
</longdescription>
<upstream>
<remote-id type="github">daltonmaag/vttLib</remote-id>
<remote-id type="pypi">vttlib</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
MYPN="vttLib"
MYPV="${PV/_p/.post}"
MYP="${MYPN}-${MYPV}"
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="Dump, merge and compile Visual TrueType data in UFO3 with FontTools"
HOMEPAGE="
https://github.com/daltonmaag/vttLib
https://pypi.org/project/vttlib
"
SRC_URI="mirror://pypi/${MYP:0:1}/${MYPN}/${MYP}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
#install_requires
RDEPEND="
>=dev-python/fonttools-4.10.2[${PYTHON_USEDEP}]
>=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
>=dev-python/ufoLib2-0.7.1[${PYTHON_USEDEP}]
"
#setup_requires
DEPEND="
${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
>=dev-python/ufo2ft-2.14.0[${PYTHON_USEDEP}]
)
"
BDEPEND="app-arch/unzip"
S="${WORKDIR}/${MYP}"
distutils_enable_tests pytest