1 |
commit: e2afc032f6bb181abf43a9ce292d0978449d7b16 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jun 17 23:32:22 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Jun 18 02:16:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2afc032 |
7 |
|
8 |
dev-python/fontParts: add constraints, export PV |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/fontParts/fontParts-0.9.10.ebuild | 13 +++++++++---- |
13 |
1 file changed, 9 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/fontParts/fontParts-0.9.10.ebuild b/dev-python/fontParts/fontParts-0.9.10.ebuild |
16 |
index c6ed8e7e7..b2747a46d 100644 |
17 |
--- a/dev-python/fontParts/fontParts-0.9.10.ebuild |
18 |
+++ b/dev-python/fontParts/fontParts-0.9.10.ebuild |
19 |
@@ -18,14 +18,19 @@ RESTRICT="!test? ( test )" |
20 |
|
21 |
RDEPEND=" |
22 |
${PYTHON_DEPS} |
23 |
- dev-python/booleanOperations[${PYTHON_USEDEP}] |
24 |
- dev-python/defcon[${PYTHON_USEDEP}] |
25 |
- dev-python/fontMath[${PYTHON_USEDEP}] |
26 |
- >=dev-python/fonttools-4.2.1[${PYTHON_USEDEP}] |
27 |
+ >=dev-python/booleanOperations-0.9.0[${PYTHON_USEDEP}] |
28 |
+ >=dev-python/defcon-0.8.1[${PYTHON_USEDEP}] |
29 |
+ >=dev-python/fontMath-0.6.0[${PYTHON_USEDEP}] |
30 |
+ >=dev-python/fonttools-4.24.4[${PYTHON_USEDEP}] |
31 |
" |
32 |
DEPEND="${RDEPEND}" |
33 |
BDEPEND="test? ( dev-python/fontPens[${PYTHON_USEDEP}] )" |
34 |
|
35 |
+pkg_setup() { |
36 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}" |
37 |
+} |
38 |
+ |
39 |
+ |
40 |
python_test() { |
41 |
"${EPYTHON}" Lib/fontParts/fontshell/test.py -v || die "Tests failed with ${EPYTHON}" |
42 |
} |