1 |
commit: 029cee566e5545b2baf5540b55083d4387976c5f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 14 20:04:19 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 14 21:35:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=029cee56 |
7 |
|
8 |
dev-python/fonttools: Bump to 4.27.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.27.0.ebuild | 54 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest |
17 |
index d91ea8ce5b5..fba652d550d 100644 |
18 |
--- a/dev-python/fonttools/Manifest |
19 |
+++ b/dev-python/fonttools/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST fonttools-4.24.4.tar.gz 2556059 BLAKE2B c415ae5214b6df7171a5f8a7ea179b1a4adbc6646598d773f0d3d6a8cd777e8fd3c74c14f00e6c4735a73e712e3fd42ddfc96f3f101d34b122fb9c471d4d94a3 SHA512 aa4ee8f0a7f9cb6d8a84497e6f33f891491cd06cc477a785715f8fde8e5b33cf781ef8b848bfab8cf9a97fc15c018d493c6baf0fb8fd314b8a348c36ff627f41 |
22 |
DIST fonttools-4.26.1.tar.gz 2579211 BLAKE2B 886a803f6214658423c98bd347db6e2cc0baea5e2619ce18ba2a96589785a1b93228f5b35dd7f6c819b81ca471d6ea1a09d12ad6de04c75388ab6cb5003f5bf5 SHA512 226338cd1c3f71662080c69b0786a6a945b5a75d3a4b7ee6fcf6d7e2e089407d11b4a43950c7aebdaeccad1819e5c6e0b947938fbfbaa3caa9747b7b4a1bd5f6 |
23 |
DIST fonttools-4.26.2.tar.gz 2579391 BLAKE2B 35a2533a336498aa1d5b9c2a61c1de6af03e6a7a1932a1ad71522f7f73e52590c347fe3e7d60b93b013389023792e6e6b91d6b4bfb92e007062dc2ac494adbb6 SHA512 2caa52a48574e6bdf418fe57fb4ca69686eeae65cb1f44c0cb16c64400ea666530dfcca9e8a619859cf553435f93b38f63e422c315206ecec467eed6339a5987 |
24 |
+DIST fonttools-4.27.0.tar.gz 2645014 BLAKE2B f08178c0fba90d4a44bf00bea054a1d4ae368a823bd30d11d152d3edbe6ea4bf0fc816620333f4ccdd3c9b43de85fce1367c09fda4a8a1dd8178826245c89416 SHA512 65602f13ecaff2881d78075ed6a9774ec8afd1c958ef75f09d146b4699e8341ada90a1fff9176e302e07d77d36a9466096fdda259025c5938e81dd0816269874 |
25 |
|
26 |
diff --git a/dev-python/fonttools/fonttools-4.27.0.ebuild b/dev-python/fonttools/fonttools-4.27.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..925c4733a1a |
29 |
--- /dev/null |
30 |
+++ b/dev-python/fonttools/fonttools-4.27.0.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 ~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 |
+} |