1 |
commit: 040858153fd304ddc0b2a19da46cdce9105055e8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 3 18:37:38 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 3 19:46:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04085815 |
7 |
|
8 |
dev-python/fonttools: Bump to 4.28.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.28.3.ebuild | 54 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest |
17 |
index cd3dc815738f..2b681805a12d 100644 |
18 |
--- a/dev-python/fonttools/Manifest |
19 |
+++ b/dev-python/fonttools/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST fonttools-4.26.2.tar.gz 2579391 BLAKE2B 35a2533a336498aa1d5b9c2a61c1de6af03 |
21 |
DIST fonttools-4.28.0.tar.gz 2654535 BLAKE2B 2bdde1a5c9184574e220bf3fa5dea04ae0e4ab8bb85bb8893e38e96cd028dc6cdcb88b21a9d12429292fe9cb282a90ce7b3abf4f17dea95df52165f5f4d0da0c SHA512 6fddef1d065001afd63147fc474c49f7799895aafddb37b3c94e981fa86e829b39865a40c61e3bf1e64f64a40cf4d5ae02fa98fcf7c89d3f893a2588d213427d |
22 |
DIST fonttools-4.28.1.tar.gz 2654329 BLAKE2B 4d1f2f5caea6ee3ae73a7791ad34da0c49353ef8b8f834c29e990c3c937b05bfdbf32474a4279c9f32f9fce78b4935ba9ba8434576b318b70736c1e14763eb70 SHA512 abcc8b182436feae8e1cfe263488c87f2351079d25a2211529ccf3401a9533f5322a7028d20ba0e31405ec3acad369b46d3b07bf8b4dfe16e43f48859fc5a29f |
23 |
DIST fonttools-4.28.2.tar.gz 2940111 BLAKE2B 32f67f2c270520d9e2091052242e504b9a8e459a87f233e22f50bfe3d17309a09a3c7ad5da20a3411df1c7c58b790dd395535407fdeddb02e7391c28d8d08fa3 SHA512 0295c571e92e71f6467b06bd89afacae76861e374147a2051fe3f5323176c3f3458b977ba2ed25cadcdba9e55b325b6febc50bc9c539d8806471730a15faed47 |
24 |
+DIST fonttools-4.28.3.tar.gz 2944993 BLAKE2B bac7408759ae2854023d5e6f840eb34d431daf0e14ec9fd8d4ac2ecc4ea8e473456611c3531b9131035164f69ba2363a3835206d068b71d4a2ae6ec179d2a32d SHA512 b90d05cedbd06f476c210f2961ebd11c64043785ef43fda2b81fd22126b12642ab63e51363bc22524bb18ee781fa9a8a71edb187b6c69fbf838e0c20f3c9ba0b |
25 |
|
26 |
diff --git a/dev-python/fonttools/fonttools-4.28.3.ebuild b/dev-python/fonttools/fonttools-4.28.3.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..b98e2fa9734d |
29 |
--- /dev/null |
30 |
+++ b/dev-python/fonttools/fonttools-4.28.3.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
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 ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" |
49 |
+ |
50 |
+RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" |
51 |
+BDEPEND=" |
52 |
+ ${RDEPEND} |
53 |
+ dev-python/cython[${PYTHON_USEDEP}] |
54 |
+ test? ( |
55 |
+ app-arch/brotli[python,${PYTHON_USEDEP}] |
56 |
+ app-arch/zopfli |
57 |
+ )" |
58 |
+ |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+python_prepare_all() { |
62 |
+ # When dev-python/pytest-shutil is installed, we get weird import errors. |
63 |
+ # This is due to incomplete nesting in the Tests/ tree: |
64 |
+ # |
65 |
+ # Tests/feaLib/__init__.py |
66 |
+ # Tests/ufoLib/__init__.py |
67 |
+ # Tests/svgLib/path/__init__.py |
68 |
+ # Tests/otlLib/__init__.py |
69 |
+ # Tests/varLib/__init__.py |
70 |
+ # |
71 |
+ # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. |
72 |
+ touch Tests/svgLib/__init__.py || die |
73 |
+ |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ DISTUTILS_ARGS=( --with-cython ) |
79 |
+} |
80 |
+ |
81 |
+python_test() { |
82 |
+ distutils_install_for_testing |
83 |
+ # virtualx used when matplotlib is installed causing plot module tests to run |
84 |
+ virtx epytest Tests fontTools |
85 |
+} |