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/glyphsLib/
Date: Fri, 06 May 2022 00:36:22
Message-Id: 1651795727.10a4becb01a0af81dbc5f9b31133bc23c8bf1ce1.Alessandro-Barbieri@gentoo
1 commit: 10a4becb01a0af81dbc5f9b31133bc23c8bf1ce1
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Fri May 6 00:08:47 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Fri May 6 00:08:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10a4becb
7
8 dev-python/glyphsLib: add 6.0.5, drop 5.3.2-r1
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/glyphsLib/Manifest | 2 +-
13 ...phsLib-5.3.2-r1.ebuild => glyphsLib-6.0.5.ebuild} | 20 +++++++++++++-------
14 2 files changed, 14 insertions(+), 8 deletions(-)
15
16 diff --git a/dev-python/glyphsLib/Manifest b/dev-python/glyphsLib/Manifest
17 index 8e6df9be6..3903580d8 100644
18 --- a/dev-python/glyphsLib/Manifest
19 +++ b/dev-python/glyphsLib/Manifest
20 @@ -1,2 +1,2 @@
21 -DIST glyphsLib-5.3.2.zip 960327 BLAKE2B 505d14a1e4e4a5cf8e3ea9edb1ed4fd384cc4e5d0bf6874904d45ba227f53202556076e84f3cc68a7b40354c128f71733233c1a95ea66040e0693779c5da38c7 SHA512 fbb09d666cda404a02908cf6b782a2fc986774bd490960bc71bc225260904ea284800018a4b7e326122cc226bdbe5aa9718072e8eeac019eb05c1195c535778a
22 DIST glyphsLib-6.0.4.tar.gz 31130361 BLAKE2B c53cc57bc001e2a5c0cc229db36767cc240659325cbb0f471c91de54adc805d73a794bb91b8e73400261ccb5ccc79c939b77f5a2fd5fc50a8c30fdc6ea9eb053 SHA512 782dfcccfb29d44c492aed790d8f52d670f4ef36e2285390e47bc799c37aec8037b6c717c923234d2bc43e2132f16a27c70c0448b594b8f64ad1af91bcbc840e
23 +DIST glyphsLib-6.0.5.tar.gz 31132348 BLAKE2B 7c4dbaac9db5142421e9b9785f363f6a8af3923f62b2c635d22072ce7a60a3c775371d7c1f75410509bb072e81cb1922e4d294fa2eb4b68c5fd67859c949f058 SHA512 71c371fac446f313c373923d3fcd675e3007ab9ffddf7bb0540a305c6412fcfccc7be90208398e8238d4774b40488b819517cbf170b789ad276168ac416b9c06
24
25 diff --git a/dev-python/glyphsLib/glyphsLib-5.3.2-r1.ebuild b/dev-python/glyphsLib/glyphsLib-6.0.5.ebuild
26 similarity index 54%
27 rename from dev-python/glyphsLib/glyphsLib-5.3.2-r1.ebuild
28 rename to dev-python/glyphsLib/glyphsLib-6.0.5.ebuild
29 index 49df4449e..82ab32585 100644
30 --- a/dev-python/glyphsLib/glyphsLib-5.3.2-r1.ebuild
31 +++ b/dev-python/glyphsLib/glyphsLib-6.0.5.ebuild
32 @@ -3,28 +3,34 @@
33
34 EAPI=8
35
36 +DISTUTILS_USE_PEP517=setuptools
37 PYTHON_COMPAT=( python3_{8..9} )
38
39 inherit distutils-r1
40
41 DESCRIPTION="A library to provide a bridge from Glyphs source files to UFOs"
42 HOMEPAGE="https://github.com/googlefonts/glyphsLib"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
44 +SRC_URI="https://github.com/googlefonts/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
45
46 LICENSE="Apache-2.0 MIT"
47 -KEYWORDS="~amd64 ~x86"
48 +KEYWORDS="~amd64"
49 SLOT="0"
50
51 RDEPEND="
52 - >=dev-python/fonttools-4.14[${PYTHON_USEDEP}]
53 - >=dev-python/ufoLib2-0.8[${PYTHON_USEDEP}]
54 + >=dev-python/fonttools-4.27.1[${PYTHON_USEDEP}]
55 + >=dev-python/ufoLib2-0.6.2[${PYTHON_USEDEP}]
56 + >=dev-python/openstep-plist-0.3.0[${PYTHON_USEDEP}]
57 +"
58 +DEPEND="
59 + ${RDEPEND}
60 + >=dev-python/setuptools_scm-6.0[${PYTHON_USEDEP}]
61 + dev-python/wheel[${PYTHON_USEDEP}]
62 "
63 BDEPEND="
64 - app-arch/unzip
65 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
66 test? (
67 dev-python/defcon[${PYTHON_USEDEP}]
68 dev-python/ufoNormalizer[${PYTHON_USEDEP}]
69 + dev-python/ufo2ft[${PYTHON_USEDEP}]
70 >=app-text/xmldiff-2.2[${PYTHON_USEDEP}]
71 )
72 "
73 @@ -32,6 +38,6 @@ BDEPEND="
74 distutils_enable_tests pytest
75
76 python_prepare_all() {
77 - sed -e '/\<wheel\>/d' -i setup.cfg
78 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
79 distutils-r1_python_prepare_all
80 }