!7 Upgrade package to version 5.9.0

From: @Gzx1999 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-09-25 12:56:36 +00:00 committed by Gitee
commit 99de2fec6f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 35 additions and 7 deletions

25
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,25 @@
From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001
From: Gzx1999 <guozhengxin@kylinos.cn>
Date: Sat, 24 Sep 2022 19:45:06 +0800
Subject: [PATCH] add setup.py
---
setup.py | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..bac24a4
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup()
--
2.25.1

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,17 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-importlib-resources Name: python-importlib-resources
Version: 5.4.0 Version: 5.9.0
Release: 1 Release: 1
Summary: Read resources from Python packages Summary: Read resources from Python packages
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/python/importlib_resources URL: https://github.com/python/importlib_resources
Source0: https://files.pythonhosted.org/packages/b5/d8/51ace1c1ea6609c01c7f46ca2978e11821aa0efaaa7516002ef6df000731/importlib_resources-5.4.0.tar.gz Source0: https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch BuildArch: noarch
%description %description
Importlib_resources is a backport of Python standard library. Importlib_resources is a backport of Python standard library.
%package -n python3-importlib-resources %package -n python3-importlib-resources
Summary: Read resources from Python packages Summary: Read resources from Python packages
Provides: python-importlib-resources Provides: python-importlib-resources
@ -21,22 +22,21 @@ BuildRequires: python3-pbr
BuildRequires: python3-setuptools_scm BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml BuildRequires: python3-toml
BuildRequires: python3-wheel BuildRequires: python3-wheel
Requires: python3-zipp Requires: python3-zipp
Requires: python3-sphinx Requires: python3-sphinx
%description -n python3-importlib-resources %description -n python3-importlib-resources
Importlib_resources is a backport of Python standard library. Importlib_resources is a backport of Python standard library.
%package help %package help
Summary: Development documents and examples for importlib-resources Summary: Development documents and examples for importlib-resources
Provides: python3-importlib-resources-doc Provides: python3-importlib-resources-doc
%description help %description help
Importlib_resources is a backport of Python standard library. Importlib_resources is a backport of Python standard library.
%prep %prep
%autosetup -n importlib_resources-5.4.0 %autosetup -n importlib_resources-%{version}
%patch0
%build %build
%py3_build %py3_build
@ -79,6 +79,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Sun Sep 25 2022 guozhengxin <guozhengxin@kylinos.cn> - 5.9.0-1
- Upgrade package to version 5.9.0
* Thu Jun 16 2022 OpenStack_SIG <openstack@openeuler.org> - 5.4.0-1 * Thu Jun 16 2022 OpenStack_SIG <openstack@openeuler.org> - 5.4.0-1
- Upgrade version for openstack yoga - Upgrade version for openstack yoga