!4 解决 python-pep517包安装缺依赖问题
From: @lyn1001 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
53033f209b
20
Remove-python3.10dist-toml-installation-dependencies.patch
Normal file
20
Remove-python3.10dist-toml-installation-dependencies.patch
Normal 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',
|
||||
@ -1,11 +1,12 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-pep517
|
||||
Version: 0.11.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Wrappers to build Python packages using PEP 517 hooks
|
||||
License: MIT
|
||||
URL: https://github.com/pypa/pep517
|
||||
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
|
||||
%description
|
||||
Wrappers to build Python packages using PEP 517 hooks
|
||||
@ -72,6 +73,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%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
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user