From f9e3e37884693a3a62eec1f1fb65b984aac0ec98 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sat, 19 Mar 2022 00:59:12 +0100 Subject: [PATCH] dev-python/glyphsets: initial import Signed-off-by: Alessandro Barbieri --- dev-python/glyphsets/Manifest | 1 + dev-python/glyphsets/glyphsets-0.2.1.ebuild | 34 +++++++++++++++++++++ dev-python/glyphsets/metadata.xml | 19 ++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 dev-python/glyphsets/Manifest create mode 100644 dev-python/glyphsets/glyphsets-0.2.1.ebuild create mode 100644 dev-python/glyphsets/metadata.xml diff --git a/dev-python/glyphsets/Manifest b/dev-python/glyphsets/Manifest new file mode 100644 index 0000000000..f15e0e525b --- /dev/null +++ b/dev-python/glyphsets/Manifest @@ -0,0 +1 @@ +DIST glyphsets-0.2.1.tar.gz 1265612 BLAKE2B 29aeadf2345887eef4b0a2f91bfee272fe8a45a3c0fefdcd6ebd70eef556b899294fc9a58b8e72a8913f9fa9bc63d2b378b7d6229afb516c0a57063ff2e6d08a SHA512 0a937ec231c617ee2fe6cc0d7a4f8930b2b49342a94b82577968e0334224a84ebcfa76f104cce526da854a283c0179da3dd9b7a2dea0d3fdbabdce626f108a9e diff --git a/dev-python/glyphsets/glyphsets-0.2.1.ebuild b/dev-python/glyphsets/glyphsets-0.2.1.ebuild new file mode 100644 index 0000000000..1c7b2530ad --- /dev/null +++ b/dev-python/glyphsets/glyphsets-0.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="A python API for evaluating coverage of glyph sets in font projects" +HOMEPAGE=" + https://github.com/googlefonts/glyphsets + https://pypi.org/project/glyphsets/ +" +SRC_URI="https://github.com/googlefonts/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0" + +#ufoLib2 is an indirect dependency +RDEPEND=" + dev-python/fonttools[${PYTHON_USEDEP}] + dev-python/ufoLib2[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + >=dev-python/setuptools_scm-4[${PYTHON_USEDEP}] +" + +python_prepare_all() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" + distutils-r1_python_prepare_all +} diff --git a/dev-python/glyphsets/metadata.xml b/dev-python/glyphsets/metadata.xml new file mode 100644 index 0000000000..83982aa65f --- /dev/null +++ b/dev-python/glyphsets/metadata.xml @@ -0,0 +1,19 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +If you are a font developer or typeface designer, see the subdirectory encodings/GF Glyph Sets which provides glyph set definition "standards" that are typically useful sets to draw. + +On the other hand, the nam files on the encodings directory are probably more useful for expert web developers. Those files explain how the Unicode Range subsets are defined, typically per script (writing system), in the Google Fonts css API. + + + + https://github.com/googlefonts/glyphsets/issues + googlefonts/glyphsets + glyphsets + +