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/glyphsets/
Date: Tue, 28 Jun 2022 04:34:38
Message-Id: 1656390868.2c950777fc56b435d5fcaa8d4cf69d7b1f07f664.Alessandro-Barbieri@gentoo
1 commit: 2c950777fc56b435d5fcaa8d4cf69d7b1f07f664
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 28 04:19:20 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Jun 28 04:34:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c950777
7
8 dev-python/glyphsets: add 0.5.1
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/glyphsets/Manifest | 1 +
13 dev-python/glyphsets/glyphsets-0.5.1.ebuild | 36 +++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/glyphsets/Manifest b/dev-python/glyphsets/Manifest
17 index 6a1b8f7a7..4267e053c 100644
18 --- a/dev-python/glyphsets/Manifest
19 +++ b/dev-python/glyphsets/Manifest
20 @@ -1 +1,2 @@
21 DIST glyphsets-0.5.0.gh.tar.gz 1473150 BLAKE2B d745b7689c9eee7cd1a25035d13f19d6eb6db7c8e603ecf87ed689f0cb2e2d1a421b4d5a4f08c7d470def2d5d8db7636a01941f3445579a0712f2ab506a9571a SHA512 94d6ab956a5ab16f061b57e5210ea59733486a27bde3093e8af279ac8f5f1e2efce71d5135ac7182ec027916e31d86433939e743084c405653250893d9221a02
22 +DIST glyphsets-0.5.1.gh.tar.gz 1473698 BLAKE2B 414ac3c1647ab483545d65f7503c84f19f9d2a0132d246011f88dd11835a297657a16873645d8dc383a77658f275983546b91b96d9c2fa15f47d8fc03562e027 SHA512 9237a2ee86ba25f5023f3ea863739b06374fb16d1655458fdc680b64cb54a1cec0134a2826b4cd1646bae70a33def601d547d2b2432275d68f0c6eb472ea376a
23
24 diff --git a/dev-python/glyphsets/glyphsets-0.5.1.ebuild b/dev-python/glyphsets/glyphsets-0.5.1.ebuild
25 new file mode 100644
26 index 000000000..a0f0924f2
27 --- /dev/null
28 +++ b/dev-python/glyphsets/glyphsets-0.5.1.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A python API for evaluating coverage of glyph sets in font projects"
40 +HOMEPAGE="
41 + https://github.com/googlefonts/glyphsets
42 + https://pypi.org/project/glyphsets/
43 +"
44 +SRC_URI="https://github.com/googlefonts/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +KEYWORDS="~amd64"
48 +SLOT="0"
49 +
50 +#ufoLib2 is an indirect dependency
51 +RDEPEND="
52 + dev-python/fonttools[${PYTHON_USEDEP}]
53 + dev-python/ufoLib2[${PYTHON_USEDEP}]
54 +"
55 +DEPEND="
56 + ${RDEPEND}
57 + >=dev-python/setuptools_scm-4[${PYTHON_USEDEP}]
58 +"
59 +
60 +PATCHES=( "${FILESDIR}/${P}-remove-setuptools_scm.constraint.patch" )
61 +
62 +python_prepare_all() {
63 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
64 + distutils-r1_python_prepare_all
65 +}