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/files/, dev-python/glyphsets/
Date: Tue, 31 May 2022 09:30:20
Message-Id: 1653989414.b1d90535e730c39ffc8596012d81bf3817361257.Alessandro-Barbieri@gentoo
1 commit: b1d90535e730c39ffc8596012d81bf3817361257
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue May 31 08:39:16 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue May 31 09:30:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1d90535
7
8 dev-python/glyphsets: remove setuptools_scm constraint
9
10 Closes: https://bugs.gentoo.org/835892
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 ...lyphsets-0.5.0-remove-setuptools_scm.constraint.patch | 16 ++++++++++++++++
14 dev-python/glyphsets/glyphsets-0.5.0.ebuild | 2 ++
15 2 files changed, 18 insertions(+)
16
17 diff --git a/dev-python/glyphsets/files/glyphsets-0.5.0-remove-setuptools_scm.constraint.patch b/dev-python/glyphsets/files/glyphsets-0.5.0-remove-setuptools_scm.constraint.patch
18 new file mode 100644
19 index 000000000..8155756eb
20 --- /dev/null
21 +++ b/dev-python/glyphsets/files/glyphsets-0.5.0-remove-setuptools_scm.constraint.patch
22 @@ -0,0 +1,16 @@
23 +From 334f83007cb24f076d59ee97d9d1c489d0e18437 Mon Sep 17 00:00:00 2001
24 +From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
25 +Date: Tue, 31 May 2022 10:35:47 +0200
26 +Subject: [PATCH] remove constraint on setuptools_scm
27 +
28 +--- a/setup.py
29 ++++ b/setup.py
30 +@@ -55,7 +55,7 @@
31 + 'Programming Language :: Python :: 3'
32 + ],
33 + python_requires=">=3.7",
34 +- setup_requires=['setuptools_scm>=4,<6.1'],
35 ++ setup_requires=['setuptools_scm>=4'],
36 + install_requires=[
37 + 'setuptools',
38 + 'FontTools[ufo]',
39
40 diff --git a/dev-python/glyphsets/glyphsets-0.5.0.ebuild b/dev-python/glyphsets/glyphsets-0.5.0.ebuild
41 index 83d1467e6..a0f0924f2 100644
42 --- a/dev-python/glyphsets/glyphsets-0.5.0.ebuild
43 +++ b/dev-python/glyphsets/glyphsets-0.5.0.ebuild
44 @@ -28,6 +28,8 @@ DEPEND="
45 >=dev-python/setuptools_scm-4[${PYTHON_USEDEP}]
46 "
47
48 +PATCHES=( "${FILESDIR}/${P}-remove-setuptools_scm.constraint.patch" )
49 +
50 python_prepare_all() {
51 export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
52 distutils-r1_python_prepare_all