diff --git a/cachetools-2.1.0.tar.gz b/cachetools-2.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5a8ee49c5287c72b476f22091ec1a7b549a85b40 Binary files /dev/null and b/cachetools-2.1.0.tar.gz differ diff --git a/cachetools-4.1.1.tar.gz b/cachetools-4.1.1.tar.gz deleted file mode 100644 index bc068f940856ce74e714d7847a3564550a063bbe..0000000000000000000000000000000000000000 Binary files a/cachetools-4.1.1.tar.gz and /dev/null differ diff --git a/python-cachetools.spec b/python-cachetools.spec index 31025dd3c49b693bd2fb77dbccc20f44355ee7a9..ba75d3a288076eb04246041222138ec9cde6eaa7 100644 --- a/python-cachetools.spec +++ b/python-cachetools.spec @@ -1,44 +1,41 @@ %global _empty_manifest_terminate_build 0 Name: python-cachetools -Version: 4.1.1 +Version: 2.1.0 Release: 1 Summary: Extensible memoizing collections and decorators License: MIT -URL: https://github.com/tkem/cachetools/ -Source0: https://files.pythonhosted.org/packages/fc/c8/0b52cf3132b4b85c9e83faa3e4d375575afeb3a1710c40b2b2cd2a3e5635/cachetools-4.1.1.tar.gz +URL: https://github.com/tkem/cachetools +Source0: https://files.pythonhosted.org/packages/87/41/b3e00059f3c34b57a653d2120d213715abb4327b36fee22e59c1da977d25/cachetools-2.1.0.tar.gz BuildArch: noarch - %description -This module provides various memoizing collections and decorators, -including variants of the Python Standard Library's `@lru_cache`_ -function decorator. +Extensible memoizing collections and decorators. + -%package -n python3-cachetools +%package -n python2-cachetools Summary: Extensible memoizing collections and decorators Provides: python-cachetools -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-cachetools -This module provides various memoizing collections and decorators, -including variants of the Python Standard Library's `@lru_cache`_ -function decorator. +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pip +%description -n python2-cachetools +Extensible memoizing collections and decorators. + %package help Summary: Development documents and examples for cachetools -Provides: python3-cachetools-doc +Provides: python2-cachetools-doc %description help -This module provides various memoizing collections and decorators, -including variants of the Python Standard Library's `@lru_cache`_ -function decorator. +Extensible memoizing collections and decorators. + %prep -%autosetup -n cachetools-%{version} +%autosetup -n cachetools-2.1.0 %build -%py3_build +%py2_build %install -%py3_install +%py2_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 @@ -65,12 +62,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-cachetools -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-cachetools -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Fri Oct 09 2020 Python_Bot +* Thu Apr 29 2021 openstack-sig - Package Spec generated diff --git a/python-cachetools.yaml b/python-cachetools.yaml deleted file mode 100644 index 85a3ae1f405a0a13b7fe474efaa1d8a28d34ffd9..0000000000000000000000000000000000000000 --- a/python-cachetools.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: pypi -src_repo: cachetools -tag_prefix: -seperator: .