Compare commits
10 Commits
f18205a1bf
...
d456b8fc74
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d456b8fc74 | ||
|
|
bce1fa1aa5 | ||
|
|
6087ec6bf0 | ||
|
|
4927a6bf5c | ||
|
|
b344c6484f | ||
|
|
6ac3140f4f | ||
|
|
2ba2d428c6 | ||
|
|
cb180fabd1 | ||
|
|
9d4b304cc6 | ||
|
|
ac2289b8ab |
Binary file not shown.
BIN
cachetools-5.3.2.tar.gz
Normal file
BIN
cachetools-5.3.2.tar.gz
Normal file
Binary file not shown.
@ -1,31 +1,34 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-cachetools
|
Name: python-cachetools
|
||||||
Version: 4.1.1
|
Version: 5.3.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Extensible memoizing collections and decorators
|
Summary: Extensible memoizing collections and decorators
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/tkem/cachetools/
|
URL: https://github.com/tkem/cachetools/
|
||||||
Source0: https://files.pythonhosted.org/packages/fc/c8/0b52cf3132b4b85c9e83faa3e4d375575afeb3a1710c40b2b2cd2a3e5635/cachetools-4.1.1.tar.gz
|
Source0: https://github.com/tkem/cachetools/archive/regs/tags/v%{version}.tar.gz#/cachetools-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides various memoizing collections and decorators,
|
This module provides various memoizing collections and decorators,
|
||||||
including variants of the Python Standard Library's `@lru_cache`_
|
including variants of the Python Standard Library's `@lru_cache`_
|
||||||
function decorator.
|
function decorator.
|
||||||
|
|
||||||
%package -n python3-cachetools
|
%package -n python3-cachetools
|
||||||
Summary: Extensible memoizing collections and decorators
|
Summary: Extensible memoizing collections and decorators
|
||||||
Provides: python-cachetools
|
Provides: python-cachetools
|
||||||
BuildRequires: python3-devel
|
# Base build requires
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
%description -n python3-cachetools
|
%description -n python3-cachetools
|
||||||
This module provides various memoizing collections and decorators,
|
This module provides various memoizing collections and decorators,
|
||||||
including variants of the Python Standard Library's `@lru_cache`_
|
including variants of the Python Standard Library's `@lru_cache`_
|
||||||
function decorator.
|
function decorator.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for cachetools
|
Summary: Extensible memoizing collections and decorators
|
||||||
Provides: python3-cachetools-doc
|
Provides: python3-cachetools-doc
|
||||||
%description help
|
%description help
|
||||||
This module provides various memoizing collections and decorators,
|
This module provides various memoizing collections and decorators,
|
||||||
including variants of the Python Standard Library's `@lru_cache`_
|
including variants of the Python Standard Library's `@lru_cache`_
|
||||||
@ -37,6 +40,7 @@ function decorator.
|
|||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
@ -46,31 +50,50 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/lib64 ]; then
|
if [ -d usr/lib64 ]; then
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/bin ]; then
|
if [ -d usr/bin ]; then
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/sbin ]; then
|
if [ -d usr/sbin ]; then
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
touch doclist.lst
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
if [ -d usr/share/man ]; then
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-cachetools -f filelist.lst
|
%files -n python3-cachetools -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 20 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 5.3.2-1
|
||||||
|
- Update package to version 5.3.2
|
||||||
|
|
||||||
|
* Tue Jun 27 2023 ZixuanChen <chenzixuan@kylinos.cn> - 5.3.1-1
|
||||||
|
- Upgrade to version 5.3.1
|
||||||
|
|
||||||
|
* Fri Apr 07 2023 xu_ping <707078654@qq.com> - 5.3.0-1
|
||||||
|
- Upgrade to version 5.3.0
|
||||||
|
|
||||||
|
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 5.2.0-1
|
||||||
|
- Upgrade to version 5.2.0
|
||||||
|
|
||||||
|
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 4.2.1-1
|
||||||
|
- Upgrade to version 4.2.1
|
||||||
|
|
||||||
* Fri Oct 09 2020 Python_Bot <Python_Bot@openeuler.org>
|
* Fri Oct 09 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user