1 |
commit: 8ee29debbeebcc170353e8c2adfccde25f3c3e79 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 21:00:04 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 21:18:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee29deb |
7 |
|
8 |
dev-python/fonttools: Bump to 4.32.0 |
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.32.0.ebuild | 58 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest |
17 |
index 0a2fba302a03..d63399d3261a 100644 |
18 |
--- a/dev-python/fonttools/Manifest |
19 |
+++ b/dev-python/fonttools/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST fonttools-4.29.1.tar.gz 2954962 BLAKE2B e78a55e240975e12e9cfd56368eab0d18e1 |
21 |
DIST fonttools-4.30.0.tar.gz 2961097 BLAKE2B 23b592daa16fd215688f149d99258209b819caa843d26c889fb4016aae6d6614a9f87dd13fa1d2aa254fadb5169cf7d57ba02b7b15af79611995148d698ca2ec SHA512 2b4e676f956c3456bf3ca435a7d80e1a0a9f36872ba3a820072d1e13ed5751a8546f424369731afd4ccddc298ec0658bb4384d2e18670b108dd1b3a99fc205f4 |
22 |
DIST fonttools-4.31.1.tar.gz 2964489 BLAKE2B d1bb7059383785dd527f7276ef876042f81d3e2cc5acc1b69e111b540cf8d35273a0070e6f0602ca438f35e3b83d0a04736cd5c97b1b7669822d1a6b1ad1b487 SHA512 cdf70f376e690ab1edc5e761ba45d1ddd7760c3aefdb5e9b88cc97118edd4ff694789c8b79ece791b4b6a597dcac1abb0eec5f0634f1db0792e5e62a2137282d |
23 |
DIST fonttools-4.31.2.tar.gz 2965796 BLAKE2B d776073e7a9358e67b8753dd4557e2b1b4c44d9662c8c728abe42d970bca1db1789a655df8865fef39eed3a32271749d2cb772e306f34efc87e737b7384c0b5d SHA512 50cc8bca9136675a413ac947b583f694d512872127cee129a78505d0259fe1cf6922f806558761af982758f72c7d95e1245b8de55b6ebd6ddd3bd7506d41abcf |
24 |
+DIST fonttools-4.32.0.tar.gz 2966840 BLAKE2B 67a79c8c2e26f9f72fcf6ea4ab5ee3712d3541b47528a209221f9fcf82a5b5db589561200e4b6911a32102a4f4dc4b4e34c8271eb97b1cee18a81b3039efdf03 SHA512 a71a44601c7ec9f709ddc14da1c26d1248909fba8a0bfb7104ebe5f9b85949fe479c5eabdd2c94086d9999756035291e68bb7e861488d4123ccf667ac3ac2e03 |
25 |
|
26 |
diff --git a/dev-python/fonttools/fonttools-4.32.0.ebuild b/dev-python/fonttools/fonttools-4.32.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..f0532d0a8742 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/fonttools/fonttools-4.32.0.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 ~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 |
+} |