1 |
commit: c00de18d259549f100ad2c8c31ba9a4262a2414f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 27 06:44:20 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 27 07:08:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00de18d |
7 |
|
8 |
dev-python/fonttools: Bump to 4.22.1 |
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.22.1.ebuild | 48 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest |
17 |
index 3b170aa9c57..82abe74e775 100644 |
18 |
--- a/dev-python/fonttools/Manifest |
19 |
+++ b/dev-python/fonttools/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST fonttools-4.21.1.tar.gz 2531249 BLAKE2B 7f507f85061c67da0003ed2c4f685b22ccf0e6c5067adb934772ef0832656bbe092d1282b30b5a40071cd3a3219f5cfd810e06e9cd3f85ddd8fa93538134c943 SHA512 8c54809ab9f39e34f482ee6b17dbf8b309e8bfa0bde783e24195c1f2949ded64591c5e79565136ec8492c0095d593db20779d3f28b933f8e40e54b610130e0f4 |
22 |
DIST fonttools-4.22.0.tar.gz 2544600 BLAKE2B 685da467c40fc7cffe2b33b08da53e5bd148c5190efdc8d08e2c66ef06e67b5e26ec5fa090334b9ef427b1a005c6386b0f78b978d376c7daee7f4d540faa21c7 SHA512 06db054ce488d0291f876b05b5dd09a772a702f1d45b97c1ba46d02e01fe59f7c63e268fff958baa4076c1ce72f450384e473263250c1617791d78c0e311710d |
23 |
+DIST fonttools-4.22.1.tar.gz 2544433 BLAKE2B 711737f696bd3a25f0c0eec2c1fb80c38dcab81d974c7f5c9d9e644aa3850dbb08502ba14111397b42615fc5287f9af8aa4d7b83e7fe9f23ae4d080f2864189d SHA512 2f38eda41ce913bdd6e62f495a215c38ed9c1fa7df87f1ecc0964b3065498e39c55e030899a5561321b16f995a705449c958244ecca2aaef492c49066db0ef93 |
24 |
|
25 |
diff --git a/dev-python/fonttools/fonttools-4.22.1.ebuild b/dev-python/fonttools/fonttools-4.22.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a132b8324f4 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/fonttools/fonttools-4.22.1.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+PYTHON_REQ_USE="xml(+)" |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+ |
40 |
+inherit distutils-r1 virtualx |
41 |
+ |
42 |
+DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" |
43 |
+HOMEPAGE="https://github.com/fonttools/fonttools/" |
44 |
+SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" |
49 |
+ |
50 |
+BDEPEND=" |
51 |
+ test? ( |
52 |
+ >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] |
53 |
+ app-arch/brotli[python,${PYTHON_USEDEP}] |
54 |
+ app-arch/zopfli |
55 |
+ )" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ # When dev-python/pytest-shutil is installed, we get weird import errors. |
61 |
+ # This is due to incomplete nesting in the Tests/ tree: |
62 |
+ # |
63 |
+ # Tests/feaLib/__init__.py |
64 |
+ # Tests/ufoLib/__init__.py |
65 |
+ # Tests/svgLib/path/__init__.py |
66 |
+ # Tests/otlLib/__init__.py |
67 |
+ # Tests/varLib/__init__.py |
68 |
+ # |
69 |
+ # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. |
70 |
+ touch Tests/svgLib/__init__.py || die |
71 |
+ |
72 |
+ distutils-r1_python_prepare_all |
73 |
+} |
74 |
+ |
75 |
+python_test() { |
76 |
+ # virtualx used when matplotlib is installed causing plot module tests to run |
77 |
+ virtx epytest Tests fontTools |
78 |
+} |