Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/fontParts/
Date: Mon, 04 Oct 2021 22:30:27
Message-Id: 1633386620.b188a6776a0dc90eb0a5985d804a7c00a366082f.Alessandro-Barbieri@gentoo
1 commit: b188a6776a0dc90eb0a5985d804a7c00a366082f
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 4 21:59:19 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Mon Oct 4 22:30:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b188a677
7
8 dev-python/fontParts: add 0.9.11
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/fontParts/Manifest | 1 +
13 dev-python/fontParts/fontParts-0.9.11.ebuild | 39 ++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/fontParts/Manifest b/dev-python/fontParts/Manifest
17 index 4cccf85f2..6b407900e 100644
18 --- a/dev-python/fontParts/Manifest
19 +++ b/dev-python/fontParts/Manifest
20 @@ -1 +1,2 @@
21 DIST fontParts-0.9.10.tar.gz 427443 BLAKE2B 21f6aa33e6034ef31f13ef6fc5224d3e5b2af039298191a1498b6d2fab0b58bdaa76971120893ab6e9478d6e1d59b1c6a08ec48ef19d42e8848e71366c86488a SHA512 c08e88d400f6e7f3fc11374830e43c2262dfbd9a48e5205703039274bdd69102c16dc65f23fba7196b28dac3436cd052478e5e8a5435c6d081ce80c2daababea
22 +DIST fontParts-0.9.11.tar.gz 427573 BLAKE2B 3a59ef7cb8c8e8a282c67c431a040ad2ab53f74cf913b5d0b1789749c242c579cca3f97523287adc63435752d994f883d89a19d78569d2439da1d10f23e431cf SHA512 850d5717457bace997b165d77ef97bc1f2f4662f7a1c164ec18a68d297a9eb6e499bfb0f70044ca7bcc9ddc6575880c893ceea03c3b14fe104eb3ab21537f464
23
24 diff --git a/dev-python/fontParts/fontParts-0.9.11.ebuild b/dev-python/fontParts/fontParts-0.9.11.ebuild
25 new file mode 100644
26 index 000000000..35bc9315c
27 --- /dev/null
28 +++ b/dev-python/fontParts/fontParts-0.9.11.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="An API for interacting with the parts of fonts"
40 +HOMEPAGE="https://github.com/robotools/fontParts"
41 +SRC_URI="https://github.com/robotools/fontParts/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +KEYWORDS="~amd64 ~x86"
44 +LICENSE="MIT"
45 +SLOT="0"
46 +IUSE="test"
47 +
48 +RDEPEND="
49 + ${PYTHON_DEPS}
50 + >=dev-python/booleanOperations-0.9.0[${PYTHON_USEDEP}]
51 + >=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
52 + >=dev-python/fontMath-0.4.8[${PYTHON_USEDEP}]
53 + >=dev-python/fonttools-3.32.0[${PYTHON_USEDEP}]
54 +"
55 +DEPEND="
56 + ${RDEPEND}
57 + test? ( dev-python/fontPens[${PYTHON_USEDEP}] )
58 +"
59 +
60 +RESTRICT="!test? ( test )"
61 +
62 +pkg_setup() {
63 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
64 +}
65 +
66 +python_test() {
67 + "${EPYTHON}" Lib/fontParts/fontshell/test.py -v || die "Tests failed with ${EPYTHON}"
68 +}