Hello community,
here is the log from the commit of package python-backports.functools_lru_cache
for openSUSE:Factory checked in at 2018-04-19 15:20:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-backports.functools_lru_cache (Old)
and /work/SRC/openSUSE:Factory/.python-backports.functools_lru_cache.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-backports.functools_lru_cache"
Thu Apr 19 15:20:58 2018 rev:3 rq:590727 version:1.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-backports.functools_lru_cache/python-backports.functools_lru_cache.changes
2017-04-20 20:50:01.695784526 +0200
+++
/work/SRC/openSUSE:Factory/.python-backports.functools_lru_cache.new/python-backports.functools_lru_cache.changes
2018-04-19 15:21:00.515704782 +0200
@@ -1,0 +2,22 @@
+Fri Mar 23 14:35:36 UTC 2018 - [email protected]
+
+- Update to version 1.5
+ * Refresh package metadata including publishing license with the
+ wheel (#11).
+- Switch to singlespec package
+- Build for python3 < 3.3
+- Make structure consistent with other backports packages
+
+-------------------------------------------------------------------
+Wed Jul 12 11:50:03 UTC 2017 - [email protected]
+
+- Update to version 1.4
+ * #9: Updated namespace package to use pkgutil for declaring the
+ namespace.
+ 1.3:
+ * Tagged commits are automatically released following passing
+ tests.
+
+- Actually install doc files
+
+-------------------------------------------------------------------
Old:
----
backports.functools_lru_cache-1.2.1.tar.gz
New:
----
backports.functools_lru_cache-1.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-backports.functools_lru_cache.spec ++++++
--- /var/tmp/diff_new_pack.qy9dpH/_old 2018-04-19 15:21:01.383669883 +0200
+++ /var/tmp/diff_new_pack.qy9dpH/_new 2018-04-19 15:21:01.383669883 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-backports.functools_lru_cache
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,31 +16,43 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-backports.functools_lru_cache
-Version: 1.2.1
+Version: 1.5
Release: 0
Summary: Backported functools.lru_cache
License: MIT
Group: Development/Languages/Python
Url: https://github.com/jaraco/backports.functools_lru_cache
Source:
https://files.pythonhosted.org/packages/source/b/backports.functools_lru_cache/backports.functools_lru_cache-%{version}.tar.gz
-BuildRequires: python
-BuildRequires: python-Sphinx
-BuildRequires: python-pytest
-BuildRequires: python-pytest-runner
-BuildRequires: python-setuptools
-BuildRequires: python-setuptools_scm
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module jaraco.packaging}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module setuptools_scm}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: python2-Sphinx
+BuildRequires: python2-rst.linker
+# SECTION test requirements
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytest-runner}
+# /SECTION
# NOTE:
-# %{python_sitelib}/backports is a namespace package, and so under python 2 it
must have a proper namespace __init__.py
+# %%{python_sitelib}/backports is a namespace package, and so under python 2
it must have a proper namespace __init__.py
# python-backports provides this __init__.py to prevent backports packages
from conflicting.
# Please see:
# https://pypi.python.org/pypi/backports/
# https://www.python.org/dev/peps/pep-0420/%23namespace-packages-today
# If you need to link, the python-backports package is built as a subpackage
of python-configparser
-BuildRequires: python-backports
+BuildRequires: %{python_module backports}
Requires: python-backports
BuildArch: noarch
-Provides: python2-backports.functools_lru_cache
+
+%if %{python3_version_nodots} >= 33
+%define skip_python3 1
+%endif
+
+%python_subpackages
%description
Backport of functools.lru_cache from Python 3.3 as published at
@@ -48,22 +60,33 @@
%prep
%setup -q -n backports.functools_lru_cache-%{version}
+rm -rf backports.functools_lru_cache.egg-info
%build
-python2 setup.py build
-python2 setup.py build_sphinx
+%python_build
+python2 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
-python2 setup.py install \
- --root=%{buildroot} --prefix=%{_prefix}
+%python_install
+%python_expand rm %{buildroot}%{$python_sitelib}/backports/__init__.py*
+%python_expand rm -rf %{buildroot}%{$python_sitelib}/backports/__pycache__/
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-python2 setup.py test
+mv backports backports_temp
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+ln -s %{$python_sitelib}/backports/__init__.py
%{buildroot}%{$python_sitelib}/backports/
+py.test-%{$python_bin_suffix} tests
+rm -r %{buildroot}%{$python_sitelib}/backports/__init__.py*
+rm -rf %{buildroot}%{$python_sitelib}/backports/__pycache__/
+}
+mv backports_temp backports
-%files
+%files %{python_files}
%defattr(-,root,root)
%doc CHANGES.rst README.rst
+%doc build/sphinx/html/
+%{python_sitelib}/backports.functools_lru_cache-%{version}-py*.egg-info
%{python_sitelib}/backports/functools_lru_cache.py*
-%{python_sitelib}/backports.functools_lru_cache-*
%changelog
++++++ backports.functools_lru_cache-1.2.1.tar.gz ->
backports.functools_lru_cache-1.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/.hgtags
new/backports.functools_lru_cache-1.5/.hgtags
--- old/backports.functools_lru_cache-1.2.1/.hgtags 2016-01-01
14:37:41.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/.hgtags 1970-01-01
01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-397bf561a38b94c92fd5ff1503e22d2f703343c2 1.0
-b9d2469280305876acd8745e1b6609fac958fb68 1.0.1
-57f7a0841e640e4445cec7f8f9e2ad61045bc2a2 1.0.2
-e53e0b5bb1740bb8729315da5b818188d8332c6d 1.0.3
-ad9cb3a5566e78c99694c16d964145afee17fa73 1.1
-741cb90b60a8c2386deeaee74e01944a17b1b10f 1.2
-55cf14f2c67eb9f023901abffcd8a829ea8f69dd 1.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/.readthedocs.yml
new/backports.functools_lru_cache-1.5/.readthedocs.yml
--- old/backports.functools_lru_cache-1.2.1/.readthedocs.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/.readthedocs.yml 2018-02-05
00:39:30.000000000 +0100
@@ -0,0 +1,5 @@
+python:
+ version: 3
+ extra_requirements:
+ - docs
+ pip_install: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/.travis.yml
new/backports.functools_lru_cache-1.5/.travis.yml
--- old/backports.functools_lru_cache-1.2.1/.travis.yml 2015-12-26
03:58:01.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/.travis.yml 2018-02-05
00:39:30.000000000 +0100
@@ -1,8 +1,34 @@
+dist: trusty
sudo: false
language: python
+
python:
- - 2.7
- - 3.5
-script:
- - pip install -U pytest
- - python setup.py test
+- 2.7
+- &latest_py3 3.6
+
+jobs:
+ fast_finish: true
+ include:
+ - stage: deploy
+ if: tag IS present
+ python: *latest_py3
+ install: skip
+ script: skip
+ deploy:
+ provider: pypi
+ on:
+ tags: true
+ all_branches: true
+ user: jaraco
+ password:
+ secure:
mJUt/9xGGfOMjAug7PEJojli2VgQyoCKx88amgK595lfdK/cAmTGi/na3Hw3Kt/7bfNjGCWyYzoXZ1VAhCDiiG8mOnWszTSNoeQSS4NCTkR7f1oUEo7izLrsGpEs8aveXY3XlqW5VTnssaL526ju5vIXDPKvhqvLrYkd7mP62HcL3rbSJM72D54OUVVX0gEKf4swgwjQe6xNQyRQpq/QcIKXxqgKF3/qIbnJQWGv7tDuxaWLghh2gx3oBNZVmQKBWfokwjp+PWV7zqIrE2o5sZ5Jkh+kt5+UOVDyMh/3Fd4s2G6ZD6asDRA5QBQxo/QtF2fQsi8heE4VgChRrnKzYXAZN1CSEj9i7BgBq2nbRod5WqlCR44zC44A4qS+D5ZlZVdmamZY9ni2/vZ6xMxl4m8Yk30xBHIoo+huJjLimnOETp9YTArMlebfPetCE6C6Tu3rmVoftiW2npjaBBxDCglSdRmluf+fsuw/Sq77p0q6nBZ2TxlWGxT0QUAF8u41I0I/n+B5rart/H1Yf3HvBAiGf8omU7QrsbA496hgIHY0r2LUsVre7IwjYYyUM6xqd9m7T8yX5yQNijp/rpvHnwcgRvd6WdHJ1BtnoYaAHWmROwC5PFz9mWB3Cw5csPylaC7gOkvD8LkjUk9zOx3C8/TUlr/QmxAAdOooqFey3kY=
+ distributions: dists
+ skip_cleanup: true
+ skip_upload_docs: true
+
+cache: pip
+
+install:
+- pip install tox tox-venv
+
+script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/CHANGES.rst
new/backports.functools_lru_cache-1.5/CHANGES.rst
--- old/backports.functools_lru_cache-1.2.1/CHANGES.rst 2016-01-01
14:36:50.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/CHANGES.rst 2018-02-05
00:39:30.000000000 +0100
@@ -1,3 +1,21 @@
+1.5
+===
+
+Refresh package metadata including publishing license with the
+wheel (#11).
+
+1.4
+===
+
+#9: Updated namespace package to use pkgutil for declaring the
+namespace.
+
+1.3
+===
+
+Tagged commits are automatically released following passing
+tests.
+
1.2
===
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/LICENSE
new/backports.functools_lru_cache-1.5/LICENSE
--- old/backports.functools_lru_cache-1.2.1/LICENSE 1970-01-01
01:00:00.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/LICENSE 2018-02-05
00:39:30.000000000 +0100
@@ -0,0 +1,7 @@
+Copyright Jason R. Coombs
+
+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 the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/PKG-INFO
new/backports.functools_lru_cache-1.5/PKG-INFO
--- old/backports.functools_lru_cache-1.2.1/PKG-INFO 2016-01-01
14:37:48.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/PKG-INFO 2018-02-05
00:39:59.000000000 +0100
@@ -1,19 +1,28 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: backports.functools_lru_cache
-Version: 1.2.1
+Version: 1.5
Summary: backports.functools_lru_cache
Home-page: https://github.com/jaraco/backports.functools_lru_cache
Author: Jason R. Coombs
Author-email: [email protected]
License: UNKNOWN
-Description: backports.functools_lru_cache
- =============================
+Description-Content-Type: UNKNOWN
+Description: .. image::
https://img.shields.io/pypi/v/backports.functools_lru_cache.svg
+ :target: https://pypi.org/project/backports.functools_lru_cache
+
+ .. image::
https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg
+
+ .. image::
https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
+ :target: https://travis-ci.org/jaraco/backports.functools_lru_cache
+
+ .. .. image::
https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest
+ .. :target:
https://backportsfunctools_lru_cache.readthedocs.io/en/latest/?badge=latest
Backport of functools.lru_cache from Python 3.3 as published at
`ActiveState
<http://code.activestate.com/recipes/578078/>`_.
Usage
- -----
+ =====
Consider using this technique for importing the 'lru_cache' function::
@@ -29,3 +38,4 @@
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Requires-Python: >=2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/README.rst
new/backports.functools_lru_cache-1.5/README.rst
--- old/backports.functools_lru_cache-1.2.1/README.rst 2016-01-01
14:36:50.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/README.rst 2018-02-05
00:39:30.000000000 +0100
@@ -1,11 +1,19 @@
-backports.functools_lru_cache
-=============================
+.. image:: https://img.shields.io/pypi/v/backports.functools_lru_cache.svg
+ :target: https://pypi.org/project/backports.functools_lru_cache
+
+.. image::
https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg
+
+.. image::
https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
+ :target: https://travis-ci.org/jaraco/backports.functools_lru_cache
+
+.. .. image::
https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest
+.. :target:
https://backportsfunctools_lru_cache.readthedocs.io/en/latest/?badge=latest
Backport of functools.lru_cache from Python 3.3 as published at `ActiveState
<http://code.activestate.com/recipes/578078/>`_.
Usage
------
+=====
Consider using this technique for importing the 'lru_cache' function::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/appveyor.yml
new/backports.functools_lru_cache-1.5/appveyor.yml
--- old/backports.functools_lru_cache-1.2.1/appveyor.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/appveyor.yml 2018-02-05
00:39:30.000000000 +0100
@@ -0,0 +1,21 @@
+environment:
+
+ APPVEYOR: true
+
+ matrix:
+ - PYTHON: "C:\\Python36-x64"
+ - PYTHON: "C:\\Python27-x64"
+
+install:
+ # symlink python from a directory with a space
+ - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
+ - "SET PYTHON=\"C:\\Program Files\\Python\""
+ - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
+
+build: off
+
+test_script:
+ - "python -m pip install tox tox-venv"
+ - "tox"
+
+version: '{build}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.functools_lru_cache-1.2.1/backports/__init__.py
new/backports.functools_lru_cache-1.5/backports/__init__.py
--- old/backports.functools_lru_cache-1.2.1/backports/__init__.py
2016-01-01 14:36:50.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/backports/__init__.py 2018-02-05
00:39:30.000000000 +0100
@@ -1 +1 @@
-__import__("pkg_resources").declare_namespace(__name__)
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/PKG-INFO
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/PKG-INFO
---
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/PKG-INFO
2016-01-01 14:37:48.000000000 +0100
+++
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/PKG-INFO
2018-02-05 00:39:59.000000000 +0100
@@ -1,19 +1,28 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: backports.functools-lru-cache
-Version: 1.2.1
+Version: 1.5
Summary: backports.functools_lru_cache
Home-page: https://github.com/jaraco/backports.functools_lru_cache
Author: Jason R. Coombs
Author-email: [email protected]
License: UNKNOWN
-Description: backports.functools_lru_cache
- =============================
+Description-Content-Type: UNKNOWN
+Description: .. image::
https://img.shields.io/pypi/v/backports.functools_lru_cache.svg
+ :target: https://pypi.org/project/backports.functools_lru_cache
+
+ .. image::
https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg
+
+ .. image::
https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
+ :target: https://travis-ci.org/jaraco/backports.functools_lru_cache
+
+ .. .. image::
https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest
+ .. :target:
https://backportsfunctools_lru_cache.readthedocs.io/en/latest/?badge=latest
Backport of functools.lru_cache from Python 3.3 as published at
`ActiveState
<http://code.activestate.com/recipes/578078/>`_.
Usage
- -----
+ =====
Consider using this technique for importing the 'lru_cache' function::
@@ -29,3 +38,4 @@
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Requires-Python: >=2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/SOURCES.txt
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/SOURCES.txt
---
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/SOURCES.txt
2016-01-01 14:37:48.000000000 +0100
+++
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/SOURCES.txt
2018-02-05 00:39:59.000000000 +0100
@@ -1,17 +1,21 @@
.gitignore
-.hgtags
+.readthedocs.yml
.travis.yml
CHANGES.rst
+LICENSE
README.rst
+appveyor.yml
pytest.ini
setup.cfg
setup.py
+tox.ini
backports/__init__.py
backports/functools_lru_cache.py
backports.functools_lru_cache.egg-info/PKG-INFO
backports.functools_lru_cache.egg-info/SOURCES.txt
backports.functools_lru_cache.egg-info/dependency_links.txt
backports.functools_lru_cache.egg-info/namespace_packages.txt
+backports.functools_lru_cache.egg-info/requires.txt
backports.functools_lru_cache.egg-info/top_level.txt
docs/conf.py
docs/history.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/namespace_packages.txt
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/namespace_packages.txt
---
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/namespace_packages.txt
2016-01-01 14:37:48.000000000 +0100
+++
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/namespace_packages.txt
2018-02-05 00:39:59.000000000 +0100
@@ -1 +1 @@
-backports
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/requires.txt
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/requires.txt
---
old/backports.functools_lru_cache-1.2.1/backports.functools_lru_cache.egg-info/requires.txt
1970-01-01 01:00:00.000000000 +0100
+++
new/backports.functools_lru_cache-1.5/backports.functools_lru_cache.egg-info/requires.txt
2018-02-05 00:39:59.000000000 +0100
@@ -0,0 +1,9 @@
+
+[docs]
+sphinx
+jaraco.packaging>=3.2
+rst.linker>=1.9
+
+[testing]
+pytest>=2.8
+collective.checkdocs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/docs/conf.py
new/backports.functools_lru_cache-1.5/docs/conf.py
--- old/backports.functools_lru_cache-1.2.1/docs/conf.py 2016-01-01
14:36:50.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/docs/conf.py 2018-02-05
00:39:30.000000000 +0100
@@ -1,19 +1,32 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-import setuptools_scm
-
extensions = [
- 'sphinx.ext.autodoc',
+ 'sphinx.ext.autodoc',
+ 'jaraco.packaging.sphinx',
+ 'rst.linker',
]
-# General information about the project.
-project = 'backports.functools_lru_cache'
-copyright = '2015 Jason R. Coombs'
-
-# The short X.Y version.
-version = setuptools_scm.get_version(root='..', relative_to=__file__)
-# The full version, including alpha/beta/rc tags.
-release = version
-
master_doc = 'index'
+
+link_files = {
+ '../CHANGES.rst': dict(
+ using=dict(
+ GH='https://github.com',
+ ),
+ replace=[
+ dict(
+ pattern=r'(Issue )?#(?P<issue>\d+)',
+ url='{package_url}/issues/{issue}',
+ ),
+ dict(
+
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
+ with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
+ ),
+ dict(
+ pattern=r'PEP[- ](?P<pep_number>\d+)',
+
url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
+ ),
+ ],
+ ),
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/docs/history.rst
new/backports.functools_lru_cache-1.5/docs/history.rst
--- old/backports.functools_lru_cache-1.2.1/docs/history.rst 2016-01-01
14:36:50.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/docs/history.rst 2018-02-05
00:39:30.000000000 +0100
@@ -5,4 +5,4 @@
History
*******
-.. include:: ../CHANGES.rst
+.. include:: ../CHANGES (links).rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/docs/index.rst
new/backports.functools_lru_cache-1.5/docs/index.rst
--- old/backports.functools_lru_cache-1.2.1/docs/index.rst 2016-01-01
14:36:50.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/docs/index.rst 2018-02-05
00:39:30.000000000 +0100
@@ -1,5 +1,5 @@
Welcome to backports.functools_lru_cache documentation!
-========================================
+============================================
.. toctree::
:maxdepth: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/pytest.ini
new/backports.functools_lru_cache-1.5/pytest.ini
--- old/backports.functools_lru_cache-1.2.1/pytest.ini 2015-12-26
03:58:01.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/pytest.ini 2018-02-05
00:39:30.000000000 +0100
@@ -1,4 +1,4 @@
[pytest]
-norecursedirs=*.egg .eggs dist build
+norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/setup.cfg
new/backports.functools_lru_cache-1.5/setup.cfg
--- old/backports.functools_lru_cache-1.2.1/setup.cfg 2016-01-01
14:37:48.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/setup.cfg 2018-02-05
00:39:59.000000000 +0100
@@ -1,12 +1,14 @@
[aliases]
-release = sdist bdist_wheel build_sphinx upload upload_docs
-test = pytest
+release = dists upload
+dists = clean --all sdist bdist_wheel
-[wheel]
+[bdist_wheel]
universal = 1
+[metadata]
+license_file = LICENSE
+
[egg_info]
-tag_svn_revision = 0
-tag_date = 0
tag_build =
+tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/setup.py
new/backports.functools_lru_cache-1.5/setup.py
--- old/backports.functools_lru_cache-1.2.1/setup.py 2016-01-01
14:36:50.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/setup.py 2018-02-05
00:39:30.000000000 +0100
@@ -1,44 +1,55 @@
#!/usr/bin/env python
-# Generated by jaraco.develop 2.27.1
-# https://pypi.python.org/pypi/jaraco.develop
+
+# Project skeleton maintained at https://github.com/jaraco/skeleton
import io
-import sys
import setuptools
with io.open('README.rst', encoding='utf-8') as readme:
long_description = readme.read()
-needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
-pytest_runner = ['pytest_runner'] if needs_pytest else []
-needs_sphinx = {'release', 'build_sphinx',
'upload_docs'}.intersection(sys.argv)
-sphinx = ['sphinx'] if needs_sphinx else []
-needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
-wheel = ['wheel'] if needs_wheel else []
+name = 'backports.functools_lru_cache'
+description = ''
+nspkg_technique = 'native'
+"""
+Does this package use "native" namespace packages or
+pkg_resources "managed" namespace packages?
+"""
-setup_params = dict(
- name='backports.functools_lru_cache',
+params = dict(
+ name=name,
use_scm_version=True,
author="Raymond Hettinger",
author_email="[email protected]",
maintainer="Jason R. Coombs",
maintainer_email="[email protected]",
- description="backports.functools_lru_cache",
+ description=description or name,
long_description=long_description,
- url="https://github.com/jaraco/backports.functools_lru_cache",
+ url="https://github.com/jaraco/" + name,
packages=setuptools.find_packages(),
include_package_data=True,
- namespace_packages=['backports'],
+ namespace_packages=(
+ name.split('.')[:-1] if nspkg_technique == 'managed'
+ else []
+ ),
+ python_requires='>=2.6',
install_requires=[
],
extras_require={
+ 'testing': [
+ 'pytest>=2.8',
+ # 'pytest-sugar',
+ 'collective.checkdocs',
+ ],
+ 'docs': [
+ 'sphinx',
+ 'jaraco.packaging>=3.2',
+ 'rst.linker>=1.9',
+ ],
},
setup_requires=[
- 'setuptools_scm>=1.9',
- ] + pytest_runner + sphinx + wheel,
- tests_require=[
- 'pytest>=2.8',
+ 'setuptools_scm>=1.15.0',
],
classifiers=[
"Development Status :: 5 - Production/Stable",
@@ -52,4 +63,4 @@
},
)
if __name__ == '__main__':
- setuptools.setup(**setup_params)
+ setuptools.setup(**params)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.functools_lru_cache-1.2.1/tox.ini
new/backports.functools_lru_cache-1.5/tox.ini
--- old/backports.functools_lru_cache-1.2.1/tox.ini 1970-01-01
01:00:00.000000000 +0100
+++ new/backports.functools_lru_cache-1.5/tox.ini 2018-02-05
00:39:30.000000000 +0100
@@ -0,0 +1,20 @@
+[tox]
+envlist = python
+minversion = 2.4
+
+[testenv]
+deps =
+ setuptools>=31.0.1
+commands =
+ py.test {posargs}
+ python setup.py checkdocs
+usedevelop = True
+extras = testing
+
+[testenv:build-docs]
+extras =
+ docs
+ testing
+changedir = docs
+commands =
+ python -m sphinx . {toxinidir}/build/html