!4 解决 python-pep517包安装缺依赖问题

From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-08-01 07:52:02 +00:00 committed by Gitee
commit 53033f209b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,20 @@
commit 3bcd16a11336cf4eeeb338c115ffa90419439ce0
Author: lyn1001 <thistleslyn@163.com>
Date: Mon Jul 25 17:02:44 2022 +0800
Remove python3.10dist(toml) installation dependencies
diff --git a/setup.py b/setup.py
index 6c47d18..2481a49 100644
--- a/setup.py
+++ b/setup.py
@@ -11,8 +11,7 @@ package_data = \
extras_require = \
{":python_version<'3.6'": ['toml'],
- ":python_version<'3.8'": ['importlib_metadata', 'zipp'],
- ":python_version>='3.6'": ['tomli']}
+ ":python_version<'3.8'": ['importlib_metadata', 'zipp']}
setup(name='pep517',
version='0.11.0',

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pep517 Name: python-pep517
Version: 0.11.0 Version: 0.11.0
Release: 2 Release: 3
Summary: Wrappers to build Python packages using PEP 517 hooks Summary: Wrappers to build Python packages using PEP 517 hooks
License: MIT License: MIT
URL: https://github.com/pypa/pep517 URL: https://github.com/pypa/pep517
Source0: https://files.pythonhosted.org/packages/da/12/6d373f746ad1cec5ab9415d6a1df54ecc0a9001124bd771742755dcecded/pep517-0.11.0.tar.gz Source0: https://files.pythonhosted.org/packages/da/12/6d373f746ad1cec5ab9415d6a1df54ecc0a9001124bd771742755dcecded/pep517-0.11.0.tar.gz
Patch0: Remove-python3.10dist-toml-installation-dependencies.patch
BuildArch: noarch BuildArch: noarch
%description %description
Wrappers to build Python packages using PEP 517 hooks Wrappers to build Python packages using PEP 517 hooks
@ -72,6 +73,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Jul 25 2022 liyanan <liyanan32@h-partners.com> - 0.11.0-3
- Remove python3.10dist(toml) installation dependencies
* Fri Jun 17 2022 liukuo <liukuo@kylinos.cn> - 0.11.0-2 * Fri Jun 17 2022 liukuo <liukuo@kylinos.cn> - 0.11.0-2
- License compliance rectification - License compliance rectification