1 |
commit: 46e9fe5f5a4abf2bc999057e2ea94e5f9459b393 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 12:35:29 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 12:41:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46e9fe5f |
7 |
|
8 |
dev-python/fonttools: Bump to 4.33.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/fonttools/Manifest | 1 + |
13 |
dev-python/fonttools/fonttools-4.33.3.ebuild | 58 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest |
17 |
index 07ed79e7d6be..07910863c4f0 100644 |
18 |
--- a/dev-python/fonttools/Manifest |
19 |
+++ b/dev-python/fonttools/Manifest |
20 |
@@ -5,3 +5,4 @@ DIST fonttools-4.32.0.tar.gz 2966840 BLAKE2B 67a79c8c2e26f9f72fcf6ea4ab5ee3712d3 |
21 |
DIST fonttools-4.33.0.tar.gz 3525052 BLAKE2B 5ea275adbfbf6e01222f6eba8f5eef7afe533b9692e6a7a2fb644fb68dec632ab2962d6b7f6b4ff876676e8314aadbfc04a005ea7a389904e398723feaa756d0 SHA512 147f6d41d1a6b27ebe6973cb91a90384291ad8c7b75b71c3b814908012530066b79f4c39bdd6da9e98614ef61b1cc19803756aba73e4da7ce2e82147390f0023 |
22 |
DIST fonttools-4.33.1.tar.gz 3526591 BLAKE2B c720e9159602168bc2f435f96e9b470e95a748e3e61aac717659e01e5998c8ead825056fe6114cb40be47ab1ebcd7dc6f3152cccd87aec5b49134147694aa3eb SHA512 14e4da0e146d4b88ab6375ad7c912f1ec6f437386e2d676bbffcd5a84be980151ed4f77f69bf618843b321106ca763af564cf05dfb6fa11888f02adfde7d74b2 |
23 |
DIST fonttools-4.33.2.tar.gz 3526700 BLAKE2B faa8db2d5ba80a7cb2cd4fb82045aa821f72d296c3b0994f266c69bc1f38b9c46a24208612d539e3576d75371d95d49d9a103fed8ab7604ebf0df50ec8f25d2f SHA512 dd032f9f8d9167aa8d83137006062a5d293aeb4116cd2b24a9d5d3d750887876214a6b6e9fe54efd569cada64164c76f242b234569d86b45e5f279d6c1a5db95 |
24 |
+DIST fonttools-4.33.3.tar.gz 3526937 BLAKE2B 26539f76ac1919e572633695aca7a95f7f715ef18bd7d36de22e5491124ce36d3907f1e7b167d23685bca437f0bf7cf99159cd918ab2b1a450b716166d30fc37 SHA512 403e19cda46d67dea9f517e58c2e95ed04c53e6832919d85df9db4538431252e5ec4554e22410fd45cba634998de1576cf55d50f56de5ad497a108dcec4ed56a |
25 |
|
26 |
diff --git a/dev-python/fonttools/fonttools-4.33.3.ebuild b/dev-python/fonttools/fonttools-4.33.3.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..1e5f5a109536 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/fonttools/fonttools-4.33.3.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+PYTHON_REQ_USE="xml(+)" |
40 |
+ |
41 |
+inherit distutils-r1 virtualx |
42 |
+ |
43 |
+DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" |
44 |
+HOMEPAGE="https://github.com/fonttools/fonttools/" |
45 |
+SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
50 |
+ |
51 |
+RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" |
52 |
+BDEPEND="${RDEPEND} |
53 |
+ dev-python/cython[${PYTHON_USEDEP}] |
54 |
+ test? ( |
55 |
+ app-arch/brotli[python,${PYTHON_USEDEP}] |
56 |
+ app-arch/zopfli |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_prepare_all() { |
63 |
+ # When dev-python/pytest-shutil is installed, we get weird import errors. |
64 |
+ # This is due to incomplete nesting in the Tests/ tree: |
65 |
+ # |
66 |
+ # Tests/feaLib/__init__.py |
67 |
+ # Tests/ufoLib/__init__.py |
68 |
+ # Tests/svgLib/path/__init__.py |
69 |
+ # Tests/otlLib/__init__.py |
70 |
+ # Tests/varLib/__init__.py |
71 |
+ # |
72 |
+ # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. |
73 |
+ touch Tests/svgLib/__init__.py || die |
74 |
+ |
75 |
+ distutils-r1_python_prepare_all |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ export FONTTOOLS_WITH_CYTHON=1 |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ # virtualx used when matplotlib is installed causing plot module tests to run |
84 |
+ virtx distutils-r1_src_test |
85 |
+} |
86 |
+ |
87 |
+python_test() { |
88 |
+ epytest Tests fontTools || die "Tests failed with ${EPYTHON}" |
89 |
+} |