diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-06-28 06:15:05 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-06-28 06:34:28 +0200 |
commit | 13ced9bcb537f03f2f49755b53cfb3c5c858c256 (patch) | |
tree | 9ecd6ca268a134ea0bb37bfcdaf0189b1e903549 /dev-python/statmake | |
parent | dev-python/taskflow: add 5.0.0, drop 4.6.4 (diff) | |
download | guru-13ced9bcb537f03f2f49755b53cfb3c5c858c256.tar.gz guru-13ced9bcb537f03f2f49755b53cfb3c5c858c256.tar.bz2 guru-13ced9bcb537f03f2f49755b53cfb3c5c858c256.zip |
dev-python/statmake: add 0.5.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-python/statmake')
-rw-r--r-- | dev-python/statmake/Manifest | 1 | ||||
-rw-r--r-- | dev-python/statmake/statmake-0.5.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest index 59b00d62e..d8d3f04e6 100644 --- a/dev-python/statmake/Manifest +++ b/dev-python/statmake/Manifest @@ -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 diff --git a/dev-python/statmake/statmake-0.5.1.ebuild b/dev-python/statmake/statmake-0.5.1.ebuild new file mode 100644 index 000000000..75176044b --- /dev/null +++ b/dev-python/statmake/statmake-0.5.1.ebuild @@ -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 +} |