1 |
commit: 4ac9c7cd283de74d455a58aa62b303a336a18374 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 06:13:02 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 08:19:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac9c7cd |
7 |
|
8 |
dev-python/fonttools: Bump to 4.24.4 |
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.24.4.ebuild | 47 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest |
17 |
index ee26e546a25..31179cb72b6 100644 |
18 |
--- a/dev-python/fonttools/Manifest |
19 |
+++ b/dev-python/fonttools/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST fonttools-4.22.1.tar.gz 2544433 BLAKE2B 711737f696bd3a25f0c0eec2c1fb80c38dc |
21 |
DIST fonttools-4.23.1.tar.gz 2550938 BLAKE2B df592a9a9e54b4b542bb2e5dc0ea7d56f25cbe7b5cf38cb3e38e5f6feee1a8befbebab2b2c73ae814234a26440bcd3e6869335037c962d482694b4e35cd5dd78 SHA512 ef7faccfabdd66655195ad4d1d09599e302dcc393ff88cf005732930cec62df3c05e06795fafe7cd1ef89671faef2bf642f94e6ab33ebdacaa388c254a71792b |
22 |
DIST fonttools-4.24.0.tar.gz 2551274 BLAKE2B d893d07729ee680c77ff3f2d369e1c77333e5a706ee5696e0843b19cfd419084d3278e35bf9f4cc3accc62bdc168d2e25cb0bacaf6b8adea17301e47cc185c34 SHA512 be80610e9c61a6f49b66b81d2e0ee50ed07e8ff8f932e3ccaf59869cce347088aa739883c6bc599dc47e196aecb69a648033dd485da3d18c84901c02f0aea92c |
23 |
DIST fonttools-4.24.3.tar.gz 2554695 BLAKE2B 8ef77e9c00a074a3d9ba92a976f5b22a20b24e89bb51e46e72ce88b6d09e5b9b77ac2b2d67aaa8988bbc34f81a17a52798bc2adb6b552ca68d36c29136a9ec21 SHA512 394d0c33432288670841d246167ca0c5af7c5dc843d8601ff7e681f8a81dba02023a1314053fb591256145b9063b8b6f9f0f13d5c319de926ec96f4f15dbe4ff |
24 |
+DIST fonttools-4.24.4.tar.gz 2556059 BLAKE2B c415ae5214b6df7171a5f8a7ea179b1a4adbc6646598d773f0d3d6a8cd777e8fd3c74c14f00e6c4735a73e712e3fd42ddfc96f3f101d34b122fb9c471d4d94a3 SHA512 aa4ee8f0a7f9cb6d8a84497e6f33f891491cd06cc477a785715f8fde8e5b33cf781ef8b848bfab8cf9a97fc15c018d493c6baf0fb8fd314b8a348c36ff627f41 |
25 |
|
26 |
diff --git a/dev-python/fonttools/fonttools-4.24.4.ebuild b/dev-python/fonttools/fonttools-4.24.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..95ced12ecf0 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/fonttools/fonttools-4.24.4.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7..9} ) |
38 |
+PYTHON_REQ_USE="xml(+)" |
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 |
+} |