diff --git a/Remove-python3.10dist-toml-installation-dependencies.patch b/Remove-python3.10dist-toml-installation-dependencies.patch new file mode 100644 index 0000000000000000000000000000000000000000..439543477f317b3ae08dd5f682596085b178f7e3 --- /dev/null +++ b/Remove-python3.10dist-toml-installation-dependencies.patch @@ -0,0 +1,20 @@ +commit 3bcd16a11336cf4eeeb338c115ffa90419439ce0 +Author: lyn1001 +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', diff --git a/python-pep517.spec b/python-pep517.spec index 34257821141e5ddf307a4173ae441ef5801d32a8..424e12e29d753c68180214ef5d4950b2f6112e6c 100644 --- a/python-pep517.spec +++ b/python-pep517.spec @@ -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 - 0.11.0-3 +- Remove python3.10dist(toml) installation dependencies + * Fri Jun 17 2022 liukuo - 0.11.0-2 - License compliance rectification