dev-python/statmake: add 0.5.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri 2022-06-28 06:15:05 +02:00
parent 898b47bf15
commit 13ced9bcb5
No known key found for this signature in database
GPG Key ID: 75DFA720D0EF7660
2 changed files with 46 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST statmake-0.5.0.gh.tar.gz 39835 BLAKE2B cad6a4c8a803666ce45d165c46ce6278cdcb56de7a90166315ba229f07ac1202d4bd2e4db678e644e0eaea445b97b81c2eb2c24cdb9ad7d7d4fbee3465fb4bf8 SHA512 c28c85e5fce6904b109858b156ab607204b3ff906bb3ec09ca75a170f5640eba83fbdd310f6a5b70f123cfbff1b1af72af1bea541cfdec8175e52be273f8ac00
DIST statmake-0.5.1.gh.tar.gz 39644 BLAKE2B 25af1c6e6ebacbdbd3b2004a2c686b2f732a953bb8d1293226581781bb10cd4d8c5d1002659f0377179f9f45525ec55de9df9ba3009756df9d31e9cc1c8f390b SHA512 9b2a6f614372a07a11e03c5f1c26e1f2c1a1f554c2d9ae887a3820e3e5b3766f8388db4d6e39cf338b0e85444fc499c3f04d4a8a169c0b70391b72530965a092

View File

@ -0,0 +1,45 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files"
HOMEPAGE="https://github.com/daltonmaag/statmake"
SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/attrs-21.3[${PYTHON_USEDEP}]
>=dev-python/cattrs-22.1[${PYTHON_USEDEP}]
>=dev-python/fonttools-4.11[${PYTHON_USEDEP}]
')
"
BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/ufo2ft-2.7[${PYTHON_USEDEP}]
>=dev-python/ufoLib2-0.4[${PYTHON_USEDEP}]
')
)
"
distutils_enable_tests pytest
python_install() {
distutils-r1_python_install --skip-build
python_domodule "src/${PN}"
}
python_test() {
local -x PYTHONPATH="${S}/src:${PYTHONPATH}"
epytest
}