Hello community, here is the log from the commit of package python-cachetools for openSUSE:Factory checked in at 2017-08-18 15:04:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cachetools (Old) and /work/SRC/openSUSE:Factory/.python-cachetools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cachetools" Fri Aug 18 15:04:52 2017 rev:4 rq:517248 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cachetools/python-cachetools.changes 2017-06-09 15:57:49.548125899 +0200 +++ /work/SRC/openSUSE:Factory/.python-cachetools.new/python-cachetools.changes 2017-08-18 15:04:58.821284035 +0200 @@ -1,0 +2,10 @@ +Wed Aug 16 13:51:39 UTC 2017 - toddrme2...@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). + +------------------------------------------------------------------- Old: ---- cachetools-2.0.0.tar.gz New: ---- cachetools-2.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cachetools.spec ++++++ --- /var/tmp/diff_new_pack.SP4sgb/_old 2017-08-18 15:05:00.529043511 +0200 +++ /var/tmp/diff_new_pack.SP4sgb/_new 2017-08-18 15:05:00.533042948 +0200 @@ -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 @@ %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 ++++++ cachetools-2.0.0.tar.gz -> cachetools-2.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/CHANGES.rst new/cachetools-2.0.1/CHANGES.rst --- old/cachetools-2.0.0/CHANGES.rst 2016-10-03 14:09:18.000000000 +0200 +++ new/cachetools-2.0.1/CHANGES.rst 2017-08-11 18:53:31.000000000 +0200 @@ -1,3 +1,14 @@ +v2.0.1 (2017-08-11) +------------------- + +- Officially support Python 3.6. + +- Move documentation to RTD. + +- Documentation: Update import paths for key functions (courtesy of + slavkoja). + + v2.0.0 (2016-10-03) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/LICENSE new/cachetools-2.0.1/LICENSE --- old/cachetools-2.0.0/LICENSE 2016-04-22 15:03:41.000000000 +0200 +++ new/cachetools-2.0.1/LICENSE 2017-08-11 18:23:50.000000000 +0200 @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2016 Thomas Kemmer +Copyright (c) 2014-2017 Thomas Kemmer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/PKG-INFO new/cachetools-2.0.1/PKG-INFO --- old/cachetools-2.0.0/PKG-INFO 2016-10-03 14:10:22.000000000 +0200 +++ new/cachetools-2.0.1/PKG-INFO 2017-08-11 18:54:22.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cachetools -Version: 2.0.0 +Version: 2.0.1 Summary: Extensible memoizing collections and decorators Home-page: https://github.com/tkem/cachetools Author: Thomas Kemmer @@ -43,6 +43,8 @@ implemented, and decorators for easily memoizing function and method calls are provided, too. + For more information, please refer to the online documentation_. + Installation ------------------------------------------------------------------------ @@ -67,7 +69,10 @@ :target: https://coveralls.io/r/tkem/cachetools :alt: Test coverage - - `Documentation`_ + .. image:: https://readthedocs.org/projects/cachetools/badge/?version=latest&style=flat + :target: http://cachetools.readthedocs.io/en/latest/ + :alt: Documentation Status + - `Issue Tracker`_ - `Source Code`_ - `Change Log`_ @@ -76,7 +81,7 @@ License ------------------------------------------------------------------------ - Copyright (c) 2014-2016 Thomas Kemmer. + Copyright (c) 2014-2017 Thomas Kemmer. Licensed under the `MIT License`_. @@ -86,7 +91,7 @@ .. _mapping: http://docs.python.org/dev/glossary.html#term-mapping .. _cache algorithm: http://en.wikipedia.org/wiki/Cache_algorithms - .. _Documentation: http://pythonhosted.org/cachetools/ + .. _Documentation: http://cachetools.readthedocs.io/en/latest/ .. _Issue Tracker: https://github.com/tkem/cachetools/issues/ .. _Source Code: https://github.com/tkem/cachetools/ .. _Change Log: https://github.com/tkem/cachetools/blob/master/CHANGES.rst @@ -106,4 +111,5 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 Classifier: Topic :: Software Development :: Libraries :: Python Modules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/README.rst new/cachetools-2.0.1/README.rst --- old/cachetools-2.0.0/README.rst 2016-10-03 14:09:18.000000000 +0200 +++ new/cachetools-2.0.1/README.rst 2017-08-11 18:35:38.000000000 +0200 @@ -35,6 +35,8 @@ implemented, and decorators for easily memoizing function and method calls are provided, too. +For more information, please refer to the online documentation_. + Installation ------------------------------------------------------------------------ @@ -59,7 +61,10 @@ :target: https://coveralls.io/r/tkem/cachetools :alt: Test coverage -- `Documentation`_ +.. image:: https://readthedocs.org/projects/cachetools/badge/?version=latest&style=flat + :target: http://cachetools.readthedocs.io/en/latest/ + :alt: Documentation Status + - `Issue Tracker`_ - `Source Code`_ - `Change Log`_ @@ -68,7 +73,7 @@ License ------------------------------------------------------------------------ -Copyright (c) 2014-2016 Thomas Kemmer. +Copyright (c) 2014-2017 Thomas Kemmer. Licensed under the `MIT License`_. @@ -78,7 +83,7 @@ .. _mapping: http://docs.python.org/dev/glossary.html#term-mapping .. _cache algorithm: http://en.wikipedia.org/wiki/Cache_algorithms -.. _Documentation: http://pythonhosted.org/cachetools/ +.. _Documentation: http://cachetools.readthedocs.io/en/latest/ .. _Issue Tracker: https://github.com/tkem/cachetools/issues/ .. _Source Code: https://github.com/tkem/cachetools/ .. _Change Log: https://github.com/tkem/cachetools/blob/master/CHANGES.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/cachetools/__init__.py new/cachetools-2.0.1/cachetools/__init__.py --- old/cachetools-2.0.0/cachetools/__init__.py 2016-10-03 14:09:18.000000000 +0200 +++ new/cachetools-2.0.1/cachetools/__init__.py 2017-08-11 18:53:31.000000000 +0200 @@ -16,7 +16,7 @@ 'cached', 'cachedmethod' ) -__version__ = '2.0.0' +__version__ = '2.0.1' if hasattr(functools.update_wrapper(lambda f: f(), lambda: 42), '__wrapped__'): _update_wrapper = functools.update_wrapper diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/cachetools/abc.py new/cachetools-2.0.1/cachetools/abc.py --- old/cachetools-2.0.0/cachetools/abc.py 2016-04-22 15:03:41.000000000 +0200 +++ new/cachetools-2.0.1/cachetools/abc.py 2017-08-11 18:23:50.000000000 +0200 @@ -45,4 +45,5 @@ self[key] = value = default return value + DefaultMapping.register(dict) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/cachetools/keys.py new/cachetools-2.0.1/cachetools/keys.py --- old/cachetools-2.0.0/cachetools/keys.py 2016-10-03 14:09:18.000000000 +0200 +++ new/cachetools-2.0.1/cachetools/keys.py 2017-08-11 18:23:50.000000000 +0200 @@ -21,6 +21,7 @@ def __radd__(self, other, add=tuple.__add__): return _HashedTuple(add(other, self)) + _kwmark = (object(),) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/cachetools.egg-info/PKG-INFO new/cachetools-2.0.1/cachetools.egg-info/PKG-INFO --- old/cachetools-2.0.0/cachetools.egg-info/PKG-INFO 2016-10-03 14:10:21.000000000 +0200 +++ new/cachetools-2.0.1/cachetools.egg-info/PKG-INFO 2017-08-11 18:54:22.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cachetools -Version: 2.0.0 +Version: 2.0.1 Summary: Extensible memoizing collections and decorators Home-page: https://github.com/tkem/cachetools Author: Thomas Kemmer @@ -43,6 +43,8 @@ implemented, and decorators for easily memoizing function and method calls are provided, too. + For more information, please refer to the online documentation_. + Installation ------------------------------------------------------------------------ @@ -67,7 +69,10 @@ :target: https://coveralls.io/r/tkem/cachetools :alt: Test coverage - - `Documentation`_ + .. image:: https://readthedocs.org/projects/cachetools/badge/?version=latest&style=flat + :target: http://cachetools.readthedocs.io/en/latest/ + :alt: Documentation Status + - `Issue Tracker`_ - `Source Code`_ - `Change Log`_ @@ -76,7 +81,7 @@ License ------------------------------------------------------------------------ - Copyright (c) 2014-2016 Thomas Kemmer. + Copyright (c) 2014-2017 Thomas Kemmer. Licensed under the `MIT License`_. @@ -86,7 +91,7 @@ .. _mapping: http://docs.python.org/dev/glossary.html#term-mapping .. _cache algorithm: http://en.wikipedia.org/wiki/Cache_algorithms - .. _Documentation: http://pythonhosted.org/cachetools/ + .. _Documentation: http://cachetools.readthedocs.io/en/latest/ .. _Issue Tracker: https://github.com/tkem/cachetools/issues/ .. _Source Code: https://github.com/tkem/cachetools/ .. _Change Log: https://github.com/tkem/cachetools/blob/master/CHANGES.rst @@ -106,4 +111,5 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 Classifier: Topic :: Software Development :: Libraries :: Python Modules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/docs/conf.py new/cachetools-2.0.1/docs/conf.py --- old/cachetools-2.0.0/docs/conf.py 2016-04-22 15:03:41.000000000 +0200 +++ new/cachetools-2.0.1/docs/conf.py 2017-08-11 18:23:50.000000000 +0200 @@ -4,8 +4,9 @@ metadata = dict(findall(r"__([a-z]+)__ = '([^']+)'", f.read())) return metadata['version'] + project = 'cachetools' -copyright = '2014-2016 Thomas Kemmer' +copyright = '2014-2017 Thomas Kemmer' version = get_version(b'../cachetools/__init__.py') release = version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/docs/index.rst new/cachetools-2.0.1/docs/index.rst --- old/cachetools-2.0.0/docs/index.rst 2016-10-03 14:09:18.000000000 +0200 +++ new/cachetools-2.0.1/docs/index.rst 2017-08-11 18:23:50.000000000 +0200 @@ -211,7 +211,8 @@ function arguments:: from functools import partial - from cachetools import cached, hashkey, LRUCache + from cachetools import cached, LRUCache + from cachetools.keys import hashkey cache = LRUCache(maxsize=100) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/setup.cfg new/cachetools-2.0.1/setup.cfg --- old/cachetools-2.0.0/setup.cfg 2016-10-03 14:10:22.000000000 +0200 +++ new/cachetools-2.0.1/setup.cfg 2017-08-11 18:54:22.000000000 +0200 @@ -15,5 +15,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cachetools-2.0.0/setup.py new/cachetools-2.0.1/setup.py --- old/cachetools-2.0.0/setup.py 2016-10-03 14:09:18.000000000 +0200 +++ new/cachetools-2.0.1/setup.py 2017-08-11 18:41:40.000000000 +0200 @@ -7,6 +7,7 @@ metadata = dict(findall("__([a-z]+)__ = '([^']+)'", f.read())) return metadata['version'] + setup( name='cachetools', version=get_version('cachetools/__init__.py'), @@ -31,6 +32,7 @@ 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Software Development :: Libraries :: Python Modules' ] )