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: Fri, 18 Jun 2021 02:16:59
Message-Id: 1623982613.6f89d6a4bb09443e0b115e2c955322bb9694babf.Alessandro-Barbieri@gentoo
1 commit: 6f89d6a4bb09443e0b115e2c955322bb9694babf
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Jun 17 23:06:33 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Fri Jun 18 02:16:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f89d6a4
7
8 dev-python/fontParts: initial import
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.2.ebuild | 31 +++++++++++++++++++++++++++++
14 dev-python/fontParts/metadata.xml | 5 +++++
15 3 files changed, 37 insertions(+)
16
17 diff --git a/dev-python/fontParts/Manifest b/dev-python/fontParts/Manifest
18 new file mode 100644
19 index 000000000..18a8218c5
20 --- /dev/null
21 +++ b/dev-python/fontParts/Manifest
22 @@ -0,0 +1 @@
23 +DIST fontParts-0.9.2.tar.gz 431111 BLAKE2B 928bfaa1eebae9056dabb559d58185401bf77294b6497e1086dfff14fc779a52faae044e4a0d623a9e9e426943b1416bc534d4b7fb6b4d6b599c4462014b8991 SHA512 f1e230c2d356b1fa49191d59c625d9e8bcb407a94fc497a99da8cd070fba4f2f6fa4a938e98d86dac6778c4350fe917f360974bd03f08fb3c6566ad7e37b440e
24
25 diff --git a/dev-python/fontParts/fontParts-0.9.2.ebuild b/dev-python/fontParts/fontParts-0.9.2.ebuild
26 new file mode 100644
27 index 000000000..c6ed8e7e7
28 --- /dev/null
29 +++ b/dev-python/fontParts/fontParts-0.9.2.ebuild
30 @@ -0,0 +1,31 @@
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 +
38 +inherit distutils-r1
39 +
40 +SRC_URI="https://github.com/robotools/fontParts/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
41 +KEYWORDS="~amd64 ~x86"
42 +DESCRIPTION="An API for interacting with the parts of fonts"
43 +HOMEPAGE="https://github.com/robotools/fontParts"
44 +LICENSE="MIT"
45 +SLOT="0"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="
50 + ${PYTHON_DEPS}
51 + dev-python/booleanOperations[${PYTHON_USEDEP}]
52 + dev-python/defcon[${PYTHON_USEDEP}]
53 + dev-python/fontMath[${PYTHON_USEDEP}]
54 + >=dev-python/fonttools-4.2.1[${PYTHON_USEDEP}]
55 +"
56 +DEPEND="${RDEPEND}"
57 +BDEPEND="test? ( dev-python/fontPens[${PYTHON_USEDEP}] )"
58 +
59 +python_test() {
60 + "${EPYTHON}" Lib/fontParts/fontshell/test.py -v || die "Tests failed with ${EPYTHON}"
61 +}
62
63 diff --git a/dev-python/fontParts/metadata.xml b/dev-python/fontParts/metadata.xml
64 new file mode 100644
65 index 000000000..46f4785f7
66 --- /dev/null
67 +++ b/dev-python/fontParts/metadata.xml
68 @@ -0,0 +1,5 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 +<!-- maintainer needed -->
73 +</pkgmetadata>