1 |
commit: 7e0043a392dfd4586b05724e0362ef3a18ae2590 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Nov 1 20:22:37 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Nov 2 03:40:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e0043a3 |
7 |
|
8 |
dev-python/statmake: add 0.4.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/statmake/Manifest | 1 + |
13 |
dev-python/statmake/statmake-0.4.0.ebuild | 43 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest |
17 |
index fac72d7bb..7f29a8fd1 100644 |
18 |
--- a/dev-python/statmake/Manifest |
19 |
+++ b/dev-python/statmake/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST statmake-0.3.0.tar.gz 34099 BLAKE2B 42286bc7f56a74a4aa4baeda58f71ef8122caa5b9a4fe84605c0e66f659000ca969c038bb4c080734465349ef7bffeada90064f00d47ba372a0c7a4a5c54a57c SHA512 b24452e2e670900378d0a8a725810140928da2a6dbb282597ac0f2202ffababa70de9a0bbfa2fe0bd77ff9251f3c5bfbf6735c42b4a246eb8ef061b809da0db3 |
22 |
+DIST statmake-0.4.0.tar.gz 36803 BLAKE2B cae3f7070c00c6c9cb823b60e683aef4bd9e55ba8e2a98a19f87a1093682e52a0667b21245a888f4569b425c8ba6486870df1d83d66255583b2dd4b516add176 SHA512 7102dfd085674b008b4bbdb54ec8b405ab7e70d96fd54963f6dc40eb53bc4816b4977decd2439756727a887da86fc8917a0f2763cc197c2e437dc53dcde95c84 |
23 |
|
24 |
diff --git a/dev-python/statmake/statmake-0.4.0.ebuild b/dev-python/statmake/statmake-0.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..b9371a02d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/statmake/statmake-0.4.0.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2021 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_SETUPTOOLS=pyproject.toml |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" |
42 |
+HOMEPAGE="https://github.com/daltonmaag/statmake" |
43 |
+SRC_URI="https://github.com/daltonmaag/statmake/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+KEYWORDS="~amd64" |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ $(python_gen_cond_dep ' |
51 |
+ dev-python/cattrs[${PYTHON_USEDEP}] |
52 |
+ dev-python/fonttools[${PYTHON_USEDEP}] |
53 |
+ ') |
54 |
+" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+BDEPEND=" |
57 |
+ test? ( |
58 |
+ $(python_gen_cond_dep 'dev-python/ufo2ft[${PYTHON_USEDEP}]') |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_install() { |
65 |
+ distutils-r1_python_install --skip-build |
66 |
+ python_domodule "src/${PN}" |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ local -x PYTHONPATH="${S}/src:${PYTHONPATH}" |
71 |
+ epytest -vv || die "Tests fail with ${EPYTHON}" |
72 |
+} |