diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..e0ca16e1731ce49a10fb10d9ba0212430af9617c --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,28 @@ +From 089e8308734b5274f489a0c0162f420a6ce23ddd Mon Sep 17 00:00:00 2001 +From: jxy_git +Date: Wed, 9 Nov 2022 19:02:47 +0800 +Subject: [PATCH] add setup.py + +--- + setup.py | 9 +++++++++ + 1 file changed, 9 insertions(+) + create mode 100644 setup.py + +diff --git a/setup.py b/setup.py +new file mode 100644 +index 0000000..06f8341 +--- /dev/null ++++ b/setup.py +@@ -0,0 +1,9 @@ ++#!/usr/bin/env python ++ ++from setuptools import setup ++ ++if __name__ == "__main__": ++ setup( ++ name = "pep517", ++ version = "0.13.0", ++) +-- +2.37.1 + diff --git a/Remove-python3.10dist-toml-installation-dependencies.patch b/Remove-python3.10dist-toml-installation-dependencies.patch deleted file mode 100644 index 439543477f317b3ae08dd5f682596085b178f7e3..0000000000000000000000000000000000000000 --- a/Remove-python3.10dist-toml-installation-dependencies.patch +++ /dev/null @@ -1,20 +0,0 @@ -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/pep517-0.11.0.tar.gz b/pep517-0.11.0.tar.gz deleted file mode 100644 index be368edf0c1227ed0330aeb70535c9ba47f48f51..0000000000000000000000000000000000000000 Binary files a/pep517-0.11.0.tar.gz and /dev/null differ diff --git a/pep517-0.13.0.tar.gz b/pep517-0.13.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f24e1c6f25da9d89317384eebe3184e5002f3914 Binary files /dev/null and b/pep517-0.13.0.tar.gz differ diff --git a/python-pep517.spec b/python-pep517.spec index 424e12e29d753c68180214ef5d4950b2f6112e6c..8c76f6aab86499eec630ecf46dfc1c70041b57d6 100644 --- a/python-pep517.spec +++ b/python-pep517.spec @@ -1,17 +1,17 @@ %global _empty_manifest_terminate_build 0 Name: python-pep517 -Version: 0.11.0 -Release: 3 +Version: 0.13.0 +Release: 1 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 +Source0: https://files.pythonhosted.org/packages/4d/19/e11fcc88288f68ae48e3aa9cf5a6fd092a88e629cb723465666c44d487a0/pep517-0.13.0.tar.gz +Patch0: 0001-add-setup.py.patch BuildArch: noarch + %description Wrappers to build Python packages using PEP 517 hooks - %package -n python3-pep517 Summary: Wrappers to build Python packages using PEP 517 hooks Provides: python-pep517 @@ -19,21 +19,20 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-toml Requires: python3-tomli -# Requires: python3-importlib_metadata +Requires: python3-importlib-metadata Requires: python3-zipp %description -n python3-pep517 Wrappers to build Python packages using PEP 517 hooks - %package help Summary: Development documents and examples for pep517 Provides: python3-pep517-doc %description help Wrappers to build Python packages using PEP 517 hooks - %prep -%autosetup -n pep517-0.11.0 +%autosetup -n pep517-%{version} +%patch0 %build %py3_build @@ -73,6 +72,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Nov 08 2022 jiangxinyu - 0.13.0-1 +- Upgrade package to version 0.13.0 + * Mon Jul 25 2022 liyanan - 0.11.0-3 - Remove python3.10dist(toml) installation dependencies