python-repoze-lru/python-repoze-lru.spec

45 lines
1.1 KiB
RPMSpec
Raw Normal View History

2020-01-13 10:39:42 +08:00
Name: python-repoze-lru
Version: 0.7
Release: 3
2020-01-13 10:39:42 +08:00
Summary: A tiny LRU cache implementation and decorator
License: BSD
URL: http://pypi.python.org/pypi/repoze.lru
Source0: %pypi_source repoze.lru
BuildArch: noarch
BuildRequires: python3-setuptools python3-devel
2020-01-13 10:39:42 +08:00
%description
It is a LRU (least recently used) cache implementation. It works under
Python 2.7 and Python 3.4+.
%package -n python3-repoze-lru
Summary: A tiny LRU cache implementation and decorator
%{?python_provide:%python_provide python3-repoze-lru}
2020-01-13 10:39:42 +08:00
%description -n python3-repoze-lru
It is a LRU (least recently used) cache implementation. It works under
Python 3.4+.
%prep
%autosetup -n repoze.lru-%{version}
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-repoze-lru
%doc README.rst LICENSE.txt COPYRIGHT.txt CONTRIBUTORS.txt
%{python3_sitelib}/*
%changelog
* Mon Nov 2 2020 wangjie<wangjie294@huawei.com> -0.7-3
- Type:NA
- ID:NA
- SUG:NA
- DESC:remove python2
2020-01-13 10:39:42 +08:00
* Mon Jan 6 2020 Ling Yang <lingyang2@huawei.com> - 0.7-2
- Package init