1 |
commit: 13ced9bcb537f03f2f49755b53cfb3c5c858c256 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jun 28 04:15:05 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 04:34:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13ced9bc |
7 |
|
8 |
dev-python/statmake: add 0.5.1 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/statmake/Manifest | 1 + |
13 |
dev-python/statmake/statmake-0.5.1.ebuild | 45 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest |
17 |
index 59b00d62e..d8d3f04e6 100644 |
18 |
--- a/dev-python/statmake/Manifest |
19 |
+++ b/dev-python/statmake/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST statmake-0.5.0.gh.tar.gz 39835 BLAKE2B cad6a4c8a803666ce45d165c46ce6278cdcb56de7a90166315ba229f07ac1202d4bd2e4db678e644e0eaea445b97b81c2eb2c24cdb9ad7d7d4fbee3465fb4bf8 SHA512 c28c85e5fce6904b109858b156ab607204b3ff906bb3ec09ca75a170f5640eba83fbdd310f6a5b70f123cfbff1b1af72af1bea541cfdec8175e52be273f8ac00 |
22 |
+DIST statmake-0.5.1.gh.tar.gz 39644 BLAKE2B 25af1c6e6ebacbdbd3b2004a2c686b2f732a953bb8d1293226581781bb10cd4d8c5d1002659f0377179f9f45525ec55de9df9ba3009756df9d31e9cc1c8f390b SHA512 9b2a6f614372a07a11e03c5f1c26e1f2c1a1f554c2d9ae887a3820e3e5b3766f8388db4d6e39cf338b0e85444fc499c3f04d4a8a169c0b70391b72530965a092 |
23 |
|
24 |
diff --git a/dev-python/statmake/statmake-0.5.1.ebuild b/dev-python/statmake/statmake-0.5.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..75176044b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/statmake/statmake-0.5.1.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_SINGLE_IMPL=1 |
36 |
+DISTUTILS_USE_PEP517=poetry |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" |
41 |
+HOMEPAGE="https://github.com/daltonmaag/statmake" |
42 |
+SRC_URI="https://github.com/daltonmaag/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
43 |
+ |
44 |
+KEYWORDS="~amd64" |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ $(python_gen_cond_dep ' |
50 |
+ >=dev-python/attrs-21.3[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/cattrs-22.1[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/fonttools-4.11[${PYTHON_USEDEP}] |
53 |
+ ') |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ >=dev-python/ufo2ft-2.7[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/ufoLib2-0.4[${PYTHON_USEDEP}] |
60 |
+ ') |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+python_install() { |
67 |
+ distutils-r1_python_install --skip-build |
68 |
+ python_domodule "src/${PN}" |
69 |
+} |
70 |
+ |
71 |
+python_test() { |
72 |
+ local -x PYTHONPATH="${S}/src:${PYTHONPATH}" |
73 |
+ epytest |
74 |
+} |