aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-01-11 23:42:58 -0500
committerJulien Roy <julien@jroy.ca>2023-01-12 22:11:52 -0500
commit6bb1b4fe89cb1fe6ef9412beb28ee65db6d73ec3 (patch)
treeeb03559f6f7f32e2a9ab579886abea541c8ce81e /dev-python/statmake
parentdev-python/statmake: drop 0.5.1 (diff)
downloadguru-6bb1b4fe89cb1fe6ef9412beb28ee65db6d73ec3.tar.gz
guru-6bb1b4fe89cb1fe6ef9412beb28ee65db6d73ec3.tar.bz2
guru-6bb1b4fe89cb1fe6ef9412beb28ee65db6d73ec3.zip
dev-python/statmake: add 0.6.0
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-python/statmake')
-rw-r--r--dev-python/statmake/Manifest3
-rw-r--r--dev-python/statmake/statmake-0.6.0.ebuild45
2 files changed, 46 insertions, 2 deletions
diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest
index d8d3f04e6..25fca09bc 100644
--- a/dev-python/statmake/Manifest
+++ b/dev-python/statmake/Manifest
@@ -1,2 +1 @@
-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
+DIST statmake-0.6.0.gh.tar.gz 40859 BLAKE2B 9a5bed7a322193b4dbd5c79bcba14a14a280271cdd0a0d05bda36c3d10e1465841ac2265ef98b9d760fb73e5a38301d17ef43bf4d2f11fe4331fb1cbe30b108e SHA512 92c86a1896446c12db6f3bcf53406b1c2a36698022e62e710774701e84919295d3b99695a621b020f819286dd6a6cf1a0ee30b2a2bb7f75f390fdb8e3152b291
diff --git a/dev-python/statmake/statmake-0.6.0.ebuild b/dev-python/statmake/statmake-0.6.0.ebuild
new file mode 100644
index 000000000..7fe4cabc8
--- /dev/null
+++ b/dev-python/statmake/statmake-0.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 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_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
+}