forked from pool/python-cachetools
Accepting request 517247 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version - Update to version 2.0.1 OBS-URL: https://build.opensuse.org/request/show/517247 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:715a7202240dc20dbe83abdb2d804d543e2d4f07af146f53c82166bd75f3a628
|
||||
size 18592
|
||||
3
cachetools-2.0.1.tar.gz
Normal file
3
cachetools-2.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ede01f2d3cbd6ddc9e35e16c2b0ce011d8bb70ce0dbaf282f5b4df24b213bc5d
|
||||
size 18790
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 13:51:39 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version
|
||||
- Update to version 2.0.1
|
||||
* Officially support Python 3.6.
|
||||
* Move documentation to RTD.
|
||||
* Documentation: Update import paths for key functions
|
||||
(courtesy of slavkoja).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 21:04:54 UTC 2017 - dmueller@suse.com
|
||||
|
||||
|
||||
@@ -16,22 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-cachetools
|
||||
Version: 2.0.0
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: Extensible memoizing collections and decorators
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/tkem/cachetools
|
||||
Source: https://pypi.io/packages/source/c/cachetools/cachetools-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cachetools/cachetools-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This module provides various memoizing collections and decorators,
|
||||
@@ -42,17 +43,20 @@ function decorator.
|
||||
%setup -q -n cachetools-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
python setup.py test
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst LICENSE CHANGES.rst
|
||||
%doc CHANGES.rst LICENSE README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user