commit:     3f6e407c73e9600160b6ee4fb52754e9b44ef53e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May  8 01:21:11 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sat May  8 01:21:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f6e407c

dev-python/vttlib: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/vttlib/Manifest             |  1 +
 dev-python/vttlib/metadata.xml         | 25 +++++++++++++++++++++
 dev-python/vttlib/vttlib-0.11.0.ebuild | 41 ++++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/dev-python/vttlib/Manifest b/dev-python/vttlib/Manifest
new file mode 100644
index 000000000..9d405ee9e
--- /dev/null
+++ b/dev-python/vttlib/Manifest
@@ -0,0 +1 @@
+DIST vttLib-0.11.0.zip 148335 BLAKE2B 
550fb5855972ac626ad9ad98088f1b4f20794a11cb2b29f112ce669d9768c2ca910edb939392a35e3e5163eb1e236bf6a76565377828727bc6017f008ad8309a
 SHA512 
b26f6ad967e1e16d55644e984a5f02b65ed1fd0797dc4c46fac9df786720e9b3b51eb7ab59c97a6a449b3915acecfb5f17a7a3deeb615eee21f1164c37297019

diff --git a/dev-python/vttlib/metadata.xml b/dev-python/vttlib/metadata.xml
new file mode 100644
index 000000000..d0d033d54
--- /dev/null
+++ b/dev-python/vttlib/metadata.xml
@@ -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>[email protected]</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>

diff --git a/dev-python/vttlib/vttlib-0.11.0.ebuild 
b/dev-python/vttlib/vttlib-0.11.0.ebuild
new file mode 100644
index 000000000..194ee3efb
--- /dev/null
+++ b/dev-python/vttlib/vttlib-0.11.0.ebuild
@@ -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

Reply via email to