dev-python/glyphsets: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-19 00:59:12 +01:00
parent 81f964b52e
commit f9e3e37884
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST glyphsets-0.2.1.tar.gz 1265612 BLAKE2B 29aeadf2345887eef4b0a2f91bfee272fe8a45a3c0fefdcd6ebd70eef556b899294fc9a58b8e72a8913f9fa9bc63d2b378b7d6229afb516c0a57063ff2e6d08a SHA512 0a937ec231c617ee2fe6cc0d7a4f8930b2b49342a94b82577968e0334224a84ebcfa76f104cce526da854a283c0179da3dd9b7a2dea0d3fdbabdce626f108a9e

View File

@@ -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
}

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<upstream>
<bugs-to>https://github.com/googlefonts/glyphsets/issues</bugs-to>
<remote-id type="github">googlefonts/glyphsets</remote-id>
<remote-id type="pypi">glyphsets</remote-id>
</upstream>
</pkgmetadata>