!5 Remove setuptools_scm version limit to fix build
From: @ultra_planet Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
01d4382b31
27
Remove-setuptools_scm-version-limit-to-fix-build.patch
Normal file
27
Remove-setuptools_scm-version-limit-to-fix-build.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From ffb8949e480a71c285c761bf95612126ef8902a7 Mon Sep 17 00:00:00 2001
|
||||
From: lingsheng <lingsheng@huawei.com>
|
||||
Date: Fri, 5 Nov 2021 15:21:42 +0800
|
||||
Subject: [PATCH] Remove setuptools_scm version limit to fix build
|
||||
|
||||
---
|
||||
setup.cfg | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index 7332c49..8908eb3 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -26,7 +26,9 @@ install_requires =
|
||||
zipp >= 0.4; python_version < '3.8'
|
||||
singledispatch; python_version < '3.4'
|
||||
contextlib2; python_version < '3'
|
||||
-setup_requires = setuptools_scm[toml] >= 3.4.1
|
||||
+setup_requires =
|
||||
+ setuptools_scm
|
||||
+ toml
|
||||
|
||||
[mypy]
|
||||
ignore_missing_imports = True
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -1,11 +1,12 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-importlib-resources
|
||||
Version: 3.3.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Read resources from Python packages
|
||||
License: Apache 2.0
|
||||
URL: https://pypi.org/project/importlib-resources
|
||||
Source0: https://files.pythonhosted.org/packages/d1/34/f2aedc50b3a32eefd249159ea7497ece70022e35f6531bd4718fd9688cb1/importlib_resources-%{version}.tar.gz
|
||||
Patch0001: Remove-setuptools_scm-version-limit-to-fix-build.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -40,7 +41,7 @@ Provides: python3-importlib-resources-doc
|
||||
Development documents and examples for importlib-resources.
|
||||
|
||||
%prep
|
||||
%autosetup -n importlib_resources-%{version}
|
||||
%autosetup -n importlib_resources-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -80,5 +81,8 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Fri Nov 05 2021 lingsheng <lingsheng@huawei.com> - 3.3.0-2
|
||||
- Remove setuptools_scm version limit to fix build
|
||||
|
||||
* Fri Dec 18 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user