dev-util/fontmake: add 3.2.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-19 01:35:13 +01:00
parent a09b0dc2c7
commit c00560aeaf
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST fontmake-2.4.0.tar.gz 116347 BLAKE2B d66eec918f60f5760616ce9fb3400da886c3d3448a98c77ae0bca3603b32e79ca1980c696f2eeb8910db7611514bfd1dbf9df3d63f8bb5c0aa4c8d45b4ed251a SHA512 752b9c7fe40383b7bf8ba04d6b8a5c25cad3dd45380a9874a90cf31c043013396512156042c4dff3e056fb1687503535aa3d8d7bb268570edd97c447748a8e58
DIST fontmake-3.2.0.tar.gz 147581 BLAKE2B 1b8868b7e24581790999e1c7051c7ef0bd0e9bf07880b75bf966cca1856e81b6f1d85a408991d4fe254f05a5ca84dcaf2557073c53aa5be398877380f46aa0de SHA512 f228347f58052cc12cb491351e810dd2af35a0d0699a38fbb231aab7a8f12ce13370f9cf9688096b7c1658d3f904ada02c4908b1e1ce62880d3e34bb2bb69e8c

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8,9} )
inherit distutils-r1 optfeature
DESCRIPTION="A wrapper for several Python libraries to compile fonts from sources"
HOMEPAGE="https://github.com/googlei18n/fontmake"
SRC_URI="https://github.com/googlefonts/fontmake/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
# lxml, compreffor and unicodedata2 are an indirect dependency
RDEPEND="
>=dev-python/fonttools-4.28.5[${PYTHON_USEDEP}]
>=dev-python/glyphsLib-6.0.4[${PYTHON_USEDEP}]
>=dev-python/ufo2ft-2.25.2[${PYTHON_USEDEP}]
>=dev-python/fontMath-0.9.1[${PYTHON_USEDEP}]
>=dev-python/ufoLib2-0.13.0[${PYTHON_USEDEP}]
>=dev-python/attrs-19[${PYTHON_USEDEP}]
>=dev-python/lxml-4.2.4[${PYTHON_USEDEP}]
dev-python/compreffor[${PYTHON_USEDEP}]
>=dev-python/unicodedata2-14[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
media-gfx/fontdiff
dev-python/mock[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}/defaults.diff"
)
distutils_enable_tests pytest
pkg_setup() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
}
pkg_postinst() {
optfeature "mutatormath support" >=dev-python/MutatorMath-3.0.1[${PYTHON_USEDEP}]
optfeature "pathops support" >=dev-python/skia-pathops-0.3.0[${PYTHON_USEDEP}]
optfeature "autohint support" >=dev-python/ttfautohint-0.5.0[${PYTHON_USEDEP}]
}