Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
840b49a1fa
!34 Update package to version 7.0.1
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2024-02-20 09:03:00 +00:00
jxy_git
58948360ba Update package to version 7.0.1 2024-02-20 15:44:39 +08:00
openeuler-ci-bot
e2fdcc977d
!33 Adapting to the pyproject.toml compilation mode
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-26 08:41:03 +00:00
cherry530
bcdd37837f Adapting to the pyproject.toml compilation mode
Signed-off-by: cherry530 <707078654@qq.com>
2023-04-26 11:36:57 +08:00
openeuler-ci-bot
e96210018d
!32 Upgrade 6.1.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-07 09:06:36 +00:00
cherry530
d26fa73eae Upgrade 6.1.0
Signed-off-by: cherry530 <707078654@qq.com>
2023-04-07 16:07:47 +08:00
openeuler-ci-bot
fb8ebb00d8
!29 Modify the patching method
From: @wk333 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-02-27 09:02:48 +00:00
wk333
d510ad36e2 Modify the patching method 2023-02-27 10:29:39 +08:00
openeuler-ci-bot
91f1918eb9
!24 Upgrade package to version 4.12.0
From: @Gzx1999 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-09-26 00:54:43 +00:00
Gzx1999
9ea1a8ae9f Upgrade package to version 4.12.0 2022-09-24 20:01:13 +08:00
3 changed files with 63 additions and 23 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,47 +1,87 @@
Name: python-importlib-metadata
Version: 4.8.3
%global _empty_manifest_terminate_build 0
Name: python-importlib-metadata
Version: 7.0.1
Release: 1
Summary: Read metadata from Python packages
License: Apache v2.0
URL: https://pypi.org/project/importlib-metadata/
Source0: https://files.pythonhosted.org/packages/85/ed/e65128cc5cb1580f22ee3009d9187ecdfcc43ffb3b581fe854b24e87d8e7/importlib_metadata-4.8.3.tar.gz
License: Apache-2.0
URL: https://github.com/python/importlib_metadata
Source0: https://files.pythonhosted.org/packages/90/b4/206081fca69171b4dc1939e77b378a7b87021b0f43ce07439d49d8ac5c84/importlib_metadata-7.0.1.tar.gz
BuildArch: noarch
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
Requires: python3-zipp >= 0.5
Requires: python3-typing-extensions
Requires: python3-sphinx
Requires: python3-ipython
Requires: python3-pytest
Requires: python3-pytest-checkdocs
Requires: python3-pytest-flake8
Requires: python3-pytest-cov
Requires: python3-pytest-enabler
Requires: python3-pytest-perf
Requires: python3-pytest-black
Requires: python3-pytest-mypy
Requires: python3-packaging
Requires: python3-pyfakefs
Requires: python3-importlib-resources
%description
importlib_metadata is a library which provides an API for accessing an installed packages metadata (see PEP 566), such as its entry points or its top-level name.
%package -n python3-importlib_metadata
%package -n python3-importlib-metadata
Summary: Read metadata from Python packages
provides: python3-importlib-metadata
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm python3-toml
BuildRequires: python3-packaging python3-pbr python3-pip python3-zipp >= 0.5
Requires: python3-zipp >= 0.5
%description -n python3-importlib_metadata
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
BuildRequires: python3-packaging
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-zipp >= 0.5
%description -n python3-importlib-metadata
importlib_metadata is a library which provides an API for accessing an installed packages metadata (see PEP 566), such as its entry points or its top-level name.
%package_help
%package help
Summary: Development documents and examples for importlib-metadata
%description help
importlib_metadata is a library which provides an API for accessing an installed packages metadata (see PEP 566), such as its entry points or its top-level name.
%prep
%setup -q -n importlib_metadata-%{version}
%autosetup -n importlib_metadata-%{version} -p1
%build
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
%pyproject_build
%install
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-importlib_metadata
%defattr(-,root,root)
%license LICENSE
%_prefix/lib/python%{python3_version}/site-packages/importlib_metadata*
%files -n python3-importlib-metadata
%{python3_sitelib}/*
%files help
%defattr(-,root,root)
%doc README.rst
%{_docdir}/*
%changelog
* Tue Feb 20 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 7.0.1-1
- Update package to version 7.0.1
* Wed Apr 26 2023 xu_ping <707078654@qq.com> - 6.1.0-2
- Adapting to the pyproject.toml compilation mode
* Fri Apr 07 2023 xu_ping <707078654@qq.com> - 6.1.0-1
- Upgrade 6.1.0
* Mon Feb 27 2023 wangkai <wangkai385@h-partners.com> - 4.12.0-2
- Modify the patching method
* Sat Sep 24 2022 guozhengxin <guozhengxin@kylinos.cn> - 4.12.0-1
- Upgrade package to version 4.12.0
* Mon Jul 25 2022 renliang16 <renliang@uniontech.com> - 4.8.3-1
- Upgrade package python3-importlib-metadata to version 4.8.3