Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fonttools/
Date: Fri, 16 Jul 2021 22:37:08
Message-Id: 1626475021.3597c408ae6de57bdade8f9c0b0975704f8f1d9c.mgorny@gentoo
1 commit: 3597c408ae6de57bdade8f9c0b0975704f8f1d9c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 22:21:58 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 22:37:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3597c408
7
8 dev-python/fonttools: Bump to 4.25.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.25.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 a963170284e..0c4f5f52e2b 100644
18 --- a/dev-python/fonttools/Manifest
19 +++ b/dev-python/fonttools/Manifest
20 @@ -1,2 +1,3 @@
21 DIST fonttools-4.24.4.tar.gz 2556059 BLAKE2B c415ae5214b6df7171a5f8a7ea179b1a4adbc6646598d773f0d3d6a8cd777e8fd3c74c14f00e6c4735a73e712e3fd42ddfc96f3f101d34b122fb9c471d4d94a3 SHA512 aa4ee8f0a7f9cb6d8a84497e6f33f891491cd06cc477a785715f8fde8e5b33cf781ef8b848bfab8cf9a97fc15c018d493c6baf0fb8fd314b8a348c36ff627f41
22 DIST fonttools-4.25.0.tar.gz 2576777 BLAKE2B 802236b120ae78e2721d734875fba794fb9eafc125fbfea6b70c68d6a18a8b3c1ce685da18c83ee3364ff38f72707e42ed0ae25bc62d362c6271fff90da56d0c SHA512 c8f7512053ce611fa07bbc1fe844ee9d50cf09e19a2a27bed7df9d37d362b7daa910fbb651147f3690a03ec4d8adc8d96e8f0310eda24bb40208240182dc9b54
23 +DIST fonttools-4.25.1.tar.gz 2577170 BLAKE2B 8cb03ef1f9cf4e61d5e6d4963bb5c43ec48838e0453cc293de1c763a29b34d69701b87430d8a85085f06c26671e00a91c89e4c50ba8d2fad4a9cc72b1f17d0e9 SHA512 ca3732bcc5e2b373983d34bd72e0ea36488f24aa442d25d0d16f6a473ef35323547f900b1ae87c42e64c451afe4f760291095738a4442c11c5566c9efd0aa944
24
25 diff --git a/dev-python/fonttools/fonttools-4.25.1.ebuild b/dev-python/fonttools/fonttools-4.25.1.ebuild
26 new file mode 100644
27 index 00000000000..e40813acd25
28 --- /dev/null
29 +++ b/dev-python/fonttools/fonttools-4.25.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_{8..9} )
37 +PYTHON_REQ_USE="xml(+)"
38 +
39 +inherit distutils-r1 virtualx
40 +
41 +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts"
42 +HOMEPAGE="https://github.com/fonttools/fonttools/"
43 +SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
48 +
49 +RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]"
50 +BDEPEND="
51 + ${RDEPEND}
52 + test? (
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 +}