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 0000000000..8155756ebd --- /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 +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 83d1467e6c..a0f0924f23 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