commit:     b1d90535e730c39ffc8596012d81bf3817361257
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue May 31 08:39:16 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue May 31 09:30:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1d90535

dev-python/glyphsets: remove setuptools_scm constraint

Closes: https://bugs.gentoo.org/835892
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 ...lyphsets-0.5.0-remove-setuptools_scm.constraint.patch | 16 ++++++++++++++++
 dev-python/glyphsets/glyphsets-0.5.0.ebuild              |  2 ++
 2 files changed, 18 insertions(+)

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
new file mode 100644
index 000000000..8155756eb
--- /dev/null
+++ 
b/dev-python/glyphsets/files/glyphsets-0.5.0-remove-setuptools_scm.constraint.patch
@@ -0,0 +1,16 @@
+From 334f83007cb24f076d59ee97d9d1c489d0e18437 Mon Sep 17 00:00:00 2001
+From: Alessandro Barbieri <lssndrbarbi...@gmail.com>
+Date: Tue, 31 May 2022 10:35:47 +0200
+Subject: [PATCH] remove constraint on setuptools_scm
+
+--- a/setup.py
++++ b/setup.py
+@@ -55,7 +55,7 @@
+         'Programming Language :: Python :: 3'
+     ],
+     python_requires=">=3.7",
+-    setup_requires=['setuptools_scm>=4,<6.1'],
++    setup_requires=['setuptools_scm>=4'],
+     install_requires=[
+         'setuptools',
+         'FontTools[ufo]',

diff --git a/dev-python/glyphsets/glyphsets-0.5.0.ebuild 
b/dev-python/glyphsets/glyphsets-0.5.0.ebuild
index 83d1467e6..a0f0924f2 100644
--- a/dev-python/glyphsets/glyphsets-0.5.0.ebuild
+++ b/dev-python/glyphsets/glyphsets-0.5.0.ebuild
@@ -28,6 +28,8 @@ DEPEND="
        >=dev-python/setuptools_scm-4[${PYTHON_USEDEP}]
 "
 
+PATCHES=( "${FILESDIR}/${P}-remove-setuptools_scm.constraint.patch" )
+
 python_prepare_all() {
        export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
        distutils-r1_python_prepare_all

Reply via email to