Hello community,

here is the log from the commit of package python-rst.linker for 
openSUSE:Factory checked in at 2019-03-01 20:25:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rst.linker (Old)
 and      /work/SRC/openSUSE:Factory/.python-rst.linker.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rst.linker"

Fri Mar  1 20:25:54 2019 rev:2 rq:679748 version:1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rst.linker/python-rst.linker.changes      
2018-04-19 15:32:08.824506848 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-rst.linker.new.28833/python-rst.linker.changes
   2019-03-01 20:25:56.978061408 +0100
@@ -1,0 +2,10 @@
+Wed Feb 27 05:54:37 UTC 2019 - John Vandenberg <jay...@gmail.com>
+
+- Add LICENSE
+- Run Sphinx on Python 2 also
+- Update to v1.10
+  * Refreshed package metadata.
+  * Package now presents the ``rst`` package a pkg-util
+    namespace package (instead of pkg_resources).
+
+-------------------------------------------------------------------

Old:
----
  rst.linker-1.9.tar.gz

New:
----
  rst.linker-1.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-rst.linker.spec ++++++
--- /var/tmp/diff_new_pack.SRArmh/_old  2019-03-01 20:25:57.542061276 +0100
+++ /var/tmp/diff_new_pack.SRArmh/_new  2019-03-01 20:25:57.546061275 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rst.linker
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define _name   rst.linker
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-rst.linker
-Version:        1.9
+Version:        1.10
 Release:        0
 Summary:        Changelog link and timestamp adding Sphinx plugin
 License:        MIT
@@ -27,10 +27,9 @@
 Url:            https://github.com/jaraco/rst.linker
 Source:         
https://files.pythonhosted.org/packages/source/r/%{_name}/%{_name}-%{version}.tar.gz
 BuildRequires:  %{python_module Sphinx}
-BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module jaraco.packaging >= 3.2}
 BuildRequires:  %{python_module path.py}
-BuildRequires:  %{python_module pytest-runner}
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest >= 3.5}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
@@ -48,11 +47,13 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
-rm -rf rst.linker.egg-info
+sed -i 's/--flake8//' pytest.ini
 
 %build
 %python_build
-%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
+# Running Sphinx with rst-linker enabled under both Python 2 & 3 is a
+# smoketest, and the last Python 3 built version added to doc package
+%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo
 
 %install
 %python_install
@@ -62,7 +63,7 @@
 %python_exec %{_bindir}/py.test -v test_all.py
 
 %files %{python_files}
-%defattr(-,root,root)
+%license LICENSE
 %doc CHANGES.rst README.rst
 %doc build/sphinx/html
 %{python_sitelib}/*

++++++ rst.linker-1.9.tar.gz -> rst.linker-1.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/.flake8 new/rst.linker-1.10/.flake8
--- old/rst.linker-1.9/.flake8  1970-01-01 01:00:00.000000000 +0100
+++ new/rst.linker-1.10/.flake8 2018-05-22 17:49:10.000000000 +0200
@@ -0,0 +1,6 @@
+[flake8]
+ignore =
+       # Allow tabs for indentation
+       W191
+       # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
+       W503
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/.readthedocs.yml 
new/rst.linker-1.10/.readthedocs.yml
--- old/rst.linker-1.9/.readthedocs.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/rst.linker-1.10/.readthedocs.yml        2018-05-22 17:49:10.000000000 
+0200
@@ -0,0 +1,5 @@
+python:
+  version: 3
+  extra_requirements:
+    - docs
+  pip_install: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/.travis.yml 
new/rst.linker-1.10/.travis.yml
--- old/rst.linker-1.9/.travis.yml      2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/.travis.yml     2018-05-22 17:49:10.000000000 +0200
@@ -1,26 +1,37 @@
+dist: trusty
 sudo: false
 language: python
+
 python:
 - 2.7
-- 3.6
+- &latest_py3 3.6
+
 git:
   depth: 99999
+
+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: 
ieliSqIQhbLtQFH9MQhh/kYY/Xjv2Bf3nyNjtjSfLjhgjKi/uzO9+UyTHV7BB4hL8NrrE+W/nAD1O+/h8CS1HUK/Lat0GoFTj8jvYyK3sDXvUxY5j3OMn0wyYq78r1ryaeB0yIC0h0DVVVUKVeBGOkGHY1uWre5XFalgZipMyz7ELwdEX37dMQJ7wLeEH2ZHV5S0Up/uDCMqP4TN3VjNhFNCoCnkDaH7O6uDY+pQ01LOJHpE95VdvgyApm7+vX5Xr9DOXkqsymArA4/97sDZVxis3jtt6stuazyHJtL9dh9Y73J4csjDbcu/4sQLnx7Yonh9i6MJgPTXZjQjF5lnCixFMMYYToWChhUJA8QsTEHQ+e3mFhmMkcCcBAodkp/INd5+sfJs/FF12mZlKiX7nQZNqwiEA8xjpM1JchHgf+7MOurQdWbCJVLd63qG1U87CgORbtXdv0xzcJ/KBMiKvXUcezBuPVU9XktJVkDQPUeV2V3Sj7RUh3MzAEwYEsyyubRcUTQzWwE2i8J1f4/6KdhSR6iBOQG8htOj2ER5/5T4OxHVZN40h1hDn9i0Zf+wULOxXIfH+FPhTm9TEgCJ9U0RSGIivR9QjFo23AGvHCXuXmLlaZK9SAeutMaCcit8yul3VoaQxoJyBXpaZoNmb27BloxcqJg6ruoQTT3lVJ4=
+      distributions: dists
+      skip_cleanup: true
+      skip_upload_docs: true
+
+cache: pip
+
 install:
-- pip install tox "setuptools>=28.2"
-script:
-- tox
-branches:
-  except:
-  - skeleton
-deploy:
-  provider: pypi
-  server: https://upload.pypi.org/legacy/
-  on:
-    tags: true
-    all_branches: true
-    python: 3.6
-  user: jaraco
-  distributions: dists
-  skip_upload_docs: true
-  password:
-    secure: 
ieliSqIQhbLtQFH9MQhh/kYY/Xjv2Bf3nyNjtjSfLjhgjKi/uzO9+UyTHV7BB4hL8NrrE+W/nAD1O+/h8CS1HUK/Lat0GoFTj8jvYyK3sDXvUxY5j3OMn0wyYq78r1ryaeB0yIC0h0DVVVUKVeBGOkGHY1uWre5XFalgZipMyz7ELwdEX37dMQJ7wLeEH2ZHV5S0Up/uDCMqP4TN3VjNhFNCoCnkDaH7O6uDY+pQ01LOJHpE95VdvgyApm7+vX5Xr9DOXkqsymArA4/97sDZVxis3jtt6stuazyHJtL9dh9Y73J4csjDbcu/4sQLnx7Yonh9i6MJgPTXZjQjF5lnCixFMMYYToWChhUJA8QsTEHQ+e3mFhmMkcCcBAodkp/INd5+sfJs/FF12mZlKiX7nQZNqwiEA8xjpM1JchHgf+7MOurQdWbCJVLd63qG1U87CgORbtXdv0xzcJ/KBMiKvXUcezBuPVU9XktJVkDQPUeV2V3Sj7RUh3MzAEwYEsyyubRcUTQzWwE2i8J1f4/6KdhSR6iBOQG8htOj2ER5/5T4OxHVZN40h1hDn9i0Zf+wULOxXIfH+FPhTm9TEgCJ9U0RSGIivR9QjFo23AGvHCXuXmLlaZK9SAeutMaCcit8yul3VoaQxoJyBXpaZoNmb27BloxcqJg6ruoQTT3lVJ4=
+- pip install tox tox-venv
+
+script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/CHANGES.rst 
new/rst.linker-1.10/CHANGES.rst
--- old/rst.linker-1.9/CHANGES.rst      2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/CHANGES.rst     2018-05-22 17:49:10.000000000 +0200
@@ -1,3 +1,11 @@
+1.10
+====
+
+Refreshed package metadata.
+
+Package now presents the ``rst`` package a pkg-util
+namespace package (instead of pkg_resources).
+
 1.9
 ===
 
@@ -6,7 +14,7 @@
 or ``copyright`` may be referenced in the format
 strings. This feature is particularly useful when
 coupled with the `jaraco.packaging
-<https://pypi.org/project/jaraco.packaging>`.sphinx
+<https://pypi.org/project/jaraco.packaging>`_.sphinx
 plugin, which supplies a ``package_url``.
 
 1.8.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/LICENSE new/rst.linker-1.10/LICENSE
--- old/rst.linker-1.9/LICENSE  1970-01-01 01:00:00.000000000 +0100
+++ new/rst.linker-1.10/LICENSE 2018-05-22 17:49:10.000000000 +0200
@@ -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/rst.linker-1.9/PKG-INFO new/rst.linker-1.10/PKG-INFO
--- old/rst.linker-1.9/PKG-INFO 2017-03-30 10:31:07.000000000 +0200
+++ new/rst.linker-1.10/PKG-INFO        2018-05-22 17:50:54.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: rst.linker
-Version: 1.9
+Version: 1.10
 Summary: rst.linker
 Home-page: https://github.com/jaraco/rst.linker
 Author: Jason R. Coombs
@@ -11,22 +11,20 @@
         
         .. image:: https://img.shields.io/pypi/pyversions/rst.linker.svg
         
-        .. image:: https://img.shields.io/pypi/dm/rst.linker.svg
-        
         .. image:: https://img.shields.io/travis/jaraco/rst.linker/master.svg
-           :target: http://travis-ci.org/jaraco/rst.linker
+           :target: https://travis-ci.org/jaraco/rst.linker
+        
+        .. .. image:: 
https://img.shields.io/appveyor/ci/jaraco/rst-linker/master.svg
+        ..    :target: 
https://ci.appveyor.com/project/jaraco/rst-linker/branch/master
+        
+        .. .. image:: 
https://readthedocs.org/projects/rstlinker/badge/?version=latest
+        ..    :target: https://rstlinker.readthedocs.io/en/latest/?badge=latest
+        
         
         ``rst.linker`` provides a routine for adding links and performing
         other custom replacements to reStructuredText files as a Sphinx
         extension.
         
-        License
-        =======
-        
-        License is indicated in the project metadata (typically one or more
-        of the Trove classifiers). For more details, see `this explanation
-        <https://github.com/jaraco/skeleton/issues/1>`_.
-        
         Usage
         =====
         
@@ -44,3 +42,6 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Framework :: Sphinx :: Extension
+Requires-Python: >=2.7
+Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/README.rst 
new/rst.linker-1.10/README.rst
--- old/rst.linker-1.9/README.rst       2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/README.rst      2018-05-22 17:49:10.000000000 +0200
@@ -3,22 +3,20 @@
 
 .. image:: https://img.shields.io/pypi/pyversions/rst.linker.svg
 
-.. image:: https://img.shields.io/pypi/dm/rst.linker.svg
-
 .. image:: https://img.shields.io/travis/jaraco/rst.linker/master.svg
-   :target: http://travis-ci.org/jaraco/rst.linker
+   :target: https://travis-ci.org/jaraco/rst.linker
+
+.. .. image:: https://img.shields.io/appveyor/ci/jaraco/rst-linker/master.svg
+..    :target: https://ci.appveyor.com/project/jaraco/rst-linker/branch/master
+
+.. .. image:: https://readthedocs.org/projects/rstlinker/badge/?version=latest
+..    :target: https://rstlinker.readthedocs.io/en/latest/?badge=latest
+
 
 ``rst.linker`` provides a routine for adding links and performing
 other custom replacements to reStructuredText files as a Sphinx
 extension.
 
-License
-=======
-
-License is indicated in the project metadata (typically one or more
-of the Trove classifiers). For more details, see `this explanation
-<https://github.com/jaraco/skeleton/issues/1>`_.
-
 Usage
 =====
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/appveyor.yml 
new/rst.linker-1.10/appveyor.yml
--- old/rst.linker-1.9/appveyor.yml     1970-01-01 01:00:00.000000000 +0100
+++ new/rst.linker-1.10/appveyor.yml    2018-05-22 17:49:10.000000000 +0200
@@ -0,0 +1,24 @@
+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
+
+cache:
+  - '%LOCALAPPDATA%\pip\Cache'
+
+test_script:
+  - "python -m pip install tox tox-venv"
+  - "tox"
+
+version: '{build}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/docs/conf.py 
new/rst.linker-1.10/docs/conf.py
--- old/rst.linker-1.9/docs/conf.py     2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/docs/conf.py    2018-05-22 17:49:10.000000000 +0200
@@ -1,56 +1,30 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
-import os
-import sys
-import subprocess
-import datetime
-
-if 'check_output' not in dir(subprocess):
-       import subprocess32 as subprocess
-
 extensions = [
-    'sphinx.ext.autodoc',
-    'rst.linker',
+       'sphinx.ext.autodoc',
+       'jaraco.packaging.sphinx',
+       'rst.linker',
 ]
 
-# General information about the project.
-
-root = os.path.join(os.path.dirname(__file__), '..')
-setup_script = os.path.join(root, 'setup.py')
-fields = ['--name', '--version', '--url', '--author']
-dist_info_cmd = [sys.executable, setup_script] + fields
-output_bytes = subprocess.check_output(dist_info_cmd, cwd=root)
-project, version, url, author = 
output_bytes.decode('utf-8').strip().split('\n')
-
-origin_date = datetime.date(2015,1,1)
-today = datetime.date.today()
-
-copyright = '{origin_date.year}-{today.year} {author}'.format(**locals())
-
-# The full version, including alpha/beta/rc tags.
-release = version
-
 master_doc = 'index'
 
 link_files = {
        '../CHANGES.rst': dict(
                using=dict(
                        GH='https://github.com',
-                       project=project,
-                       url=url,
                ),
                replace=[
                        dict(
-                               pattern=r"(Issue )?#(?P<issue>\d+)",
-                               url='{url}/issues/{issue}',
+                               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",
+                               
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+)",
+                               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/rst.linker-1.9/docs/requirements.txt 
new/rst.linker-1.10/docs/requirements.txt
--- old/rst.linker-1.9/docs/requirements.txt    2017-03-30 10:30:44.000000000 
+0200
+++ new/rst.linker-1.10/docs/requirements.txt   1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-rst.linker
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/pyproject.toml 
new/rst.linker-1.10/pyproject.toml
--- old/rst.linker-1.9/pyproject.toml   1970-01-01 01:00:00.000000000 +0100
+++ new/rst.linker-1.10/pyproject.toml  2018-05-22 17:49:10.000000000 +0200
@@ -0,0 +1,2 @@
+[build-system]
+requires = ["setuptools", "wheel", "setuptools_scm>=1.15"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/pytest.ini 
new/rst.linker-1.10/pytest.ini
--- old/rst.linker-1.9/pytest.ini       2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/pytest.ini      2018-05-22 17:49:10.000000000 +0200
@@ -1,4 +1,4 @@
 [pytest]
-norecursedirs=dist build .tox
-addopts=--doctest-modules
+norecursedirs=dist build .tox .eggs
+addopts=--doctest-modules --flake8
 doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/rst/__init__.py 
new/rst.linker-1.10/rst/__init__.py
--- old/rst.linker-1.9/rst/__init__.py  2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/rst/__init__.py 2018-05-22 17:49:10.000000000 +0200
@@ -1 +1 @@
-__import__("pkg_resources").declare_namespace(__name__)
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)  # noqa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/rst/linker.py 
new/rst.linker-1.10/rst/linker.py
--- old/rst.linker-1.9/rst/linker.py    2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/rst/linker.py   2018-05-22 17:49:10.000000000 +0200
@@ -28,7 +28,7 @@
         vars(self).update(defn)
 
     def matches(self, text):
-        return re.match(self.pattern+'$', text)
+        return re.match(self.pattern + '$', text)
 
     def __bool__(self):
         return False
@@ -39,7 +39,7 @@
 
 
 class URLLinker(Repl):
-    """
+    r"""
     Each replacement should have the form:
 
     {
@@ -64,7 +64,7 @@
 
 
 class SCMTimestamp(Repl):
-    """
+    r"""
     Replace content with a version number to include the date stamp
     from the SCM.
 
@@ -109,18 +109,22 @@
     def _get_scm_info_for(scm_version):
         scm = 'hg' if os.path.isdir('.hg') else 'git'
         commands = dict(
-            hg=['hg', 'log', '-l', '1', '--template', '{date|isodate}', '-r', 
scm_version],
+            hg=[
+                'hg', 'log',
+                '-l', '1',
+                '--template', '{date|isodate}',
+                '-r', scm_version,
+            ],
             git=['git', 'log', '-1', '--format=%ai', scm_version],
         )
         cmd = commands[scm]
         try:
             with open(os.devnull, 'w') as devnull:
-                ts = subprocess.check_output(cmd, 
stderr=devnull).decode('utf-8').strip()
-            assert ts
-            ts = dateutil.parser.parse(ts)
+                out = subprocess.check_output(cmd, stderr=devnull)
+                ts = out.decode('utf-8').strip()
+            return dict(timestamp=dateutil.parser.parse(ts))
         except Exception:
-            return
-        return dict(timestamp=ts)
+            pass
 
     def __bool__(self):
         return 'with_scm' in vars(self)
@@ -170,10 +174,12 @@
     app.add_config_value(str('link_files'), {}, '')
     app.connect(str('builder-inited'), make_links)
 
+
 def _extend_name(filename):
     base, ext = os.path.splitext(filename)
     return base + ' (links)' + ext
 
+
 def _locater(app):
     """
     Return a function suitable for locating the path
@@ -204,5 +210,6 @@
         remover = functools.partial(_remove, target=target)
         app.connect(str('build-finished'), remover)
 
+
 def _remove(app, exception, target):
     os.remove(target)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/rst.linker.egg-info/PKG-INFO 
new/rst.linker-1.10/rst.linker.egg-info/PKG-INFO
--- old/rst.linker-1.9/rst.linker.egg-info/PKG-INFO     2017-03-30 
10:31:07.000000000 +0200
+++ new/rst.linker-1.10/rst.linker.egg-info/PKG-INFO    2018-05-22 
17:50:53.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: rst.linker
-Version: 1.9
+Version: 1.10
 Summary: rst.linker
 Home-page: https://github.com/jaraco/rst.linker
 Author: Jason R. Coombs
@@ -11,22 +11,20 @@
         
         .. image:: https://img.shields.io/pypi/pyversions/rst.linker.svg
         
-        .. image:: https://img.shields.io/pypi/dm/rst.linker.svg
-        
         .. image:: https://img.shields.io/travis/jaraco/rst.linker/master.svg
-           :target: http://travis-ci.org/jaraco/rst.linker
+           :target: https://travis-ci.org/jaraco/rst.linker
+        
+        .. .. image:: 
https://img.shields.io/appveyor/ci/jaraco/rst-linker/master.svg
+        ..    :target: 
https://ci.appveyor.com/project/jaraco/rst-linker/branch/master
+        
+        .. .. image:: 
https://readthedocs.org/projects/rstlinker/badge/?version=latest
+        ..    :target: https://rstlinker.readthedocs.io/en/latest/?badge=latest
+        
         
         ``rst.linker`` provides a routine for adding links and performing
         other custom replacements to reStructuredText files as a Sphinx
         extension.
         
-        License
-        =======
-        
-        License is indicated in the project metadata (typically one or more
-        of the Trove classifiers). For more details, see `this explanation
-        <https://github.com/jaraco/skeleton/issues/1>`_.
-        
         Usage
         =====
         
@@ -44,3 +42,6 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Framework :: Sphinx :: Extension
+Requires-Python: >=2.7
+Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/rst.linker.egg-info/SOURCES.txt 
new/rst.linker-1.10/rst.linker.egg-info/SOURCES.txt
--- old/rst.linker-1.9/rst.linker.egg-info/SOURCES.txt  2017-03-30 
10:31:07.000000000 +0200
+++ new/rst.linker-1.10/rst.linker.egg-info/SOURCES.txt 2018-05-22 
17:50:54.000000000 +0200
@@ -1,6 +1,11 @@
+.flake8
+.readthedocs.yml
 .travis.yml
 CHANGES.rst
+LICENSE
 README.rst
+appveyor.yml
+pyproject.toml
 pytest.ini
 setup.cfg
 setup.py
@@ -9,7 +14,6 @@
 docs/conf.py
 docs/history.rst
 docs/index.rst
-docs/requirements.txt
 rst/__init__.py
 rst/linker.py
 rst.linker.egg-info/PKG-INFO
@@ -17,5 +21,4 @@
 rst.linker.egg-info/dependency_links.txt
 rst.linker.egg-info/namespace_packages.txt
 rst.linker.egg-info/requires.txt
-rst.linker.egg-info/top_level.txt
-tests/requirements.txt
\ No newline at end of file
+rst.linker.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rst.linker-1.9/rst.linker.egg-info/namespace_packages.txt 
new/rst.linker-1.10/rst.linker.egg-info/namespace_packages.txt
--- old/rst.linker-1.9/rst.linker.egg-info/namespace_packages.txt       
2017-03-30 10:31:07.000000000 +0200
+++ new/rst.linker-1.10/rst.linker.egg-info/namespace_packages.txt      
2018-05-22 17:50:53.000000000 +0200
@@ -1 +1 @@
-rst
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/rst.linker.egg-info/requires.txt 
new/rst.linker-1.10/rst.linker.egg-info/requires.txt
--- old/rst.linker-1.9/rst.linker.egg-info/requires.txt 2017-03-30 
10:31:07.000000000 +0200
+++ new/rst.linker-1.10/rst.linker.egg-info/requires.txt        2018-05-22 
17:50:53.000000000 +0200
@@ -1,2 +1,14 @@
 six
 python-dateutil
+
+[docs]
+sphinx
+jaraco.packaging>=3.2
+rst.linker>=1.9
+
+[testing]
+pytest>=3.5
+pytest-sugar>=0.9.1
+collective.checkdocs
+pytest-flake8
+path.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/setup.cfg 
new/rst.linker-1.10/setup.cfg
--- old/rst.linker-1.9/setup.cfg        2017-03-30 10:31:07.000000000 +0200
+++ new/rst.linker-1.10/setup.cfg       2018-05-22 17:50:54.000000000 +0200
@@ -2,11 +2,13 @@
 release = dists upload
 dists = clean --all sdist bdist_wheel
 
-[wheel]
+[bdist_wheel]
 universal = 1
 
+[metadata]
+license_file = LICENSE
+
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/setup.py new/rst.linker-1.10/setup.py
--- old/rst.linker-1.9/setup.py 2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/setup.py        2018-05-22 17:49:10.000000000 +0200
@@ -11,6 +11,11 @@
 
 name = 'rst.linker'
 description = ''
+nspkg_technique = 'native'
+"""
+Does this package use "native" namespace packages or
+pkg_resources "managed" namespace packages?
+"""
 
 params = dict(
        name=name,
@@ -22,12 +27,34 @@
        url="https://github.com/jaraco/"; + name,
        packages=setuptools.find_packages(),
        include_package_data=True,
-       namespace_packages=name.split('.')[:-1],
+       namespace_packages=(
+               name.split('.')[:-1] if nspkg_technique == 'managed'
+               else []
+       ),
+       python_requires='>=2.7',
        install_requires=[
                'six',
                'python-dateutil',
        ],
        extras_require={
+               'testing': [
+                       # upstream
+                       'pytest>=3.5',
+                       'pytest-sugar>=0.9.1',
+                       'collective.checkdocs',
+                       'pytest-flake8',
+
+                       # local
+                       'path.py',
+               ],
+               'docs': [
+                       # upstream
+                       'sphinx',
+                       'jaraco.packaging>=3.2',
+                       'rst.linker>=1.9',
+
+                       # local
+               ],
        },
        setup_requires=[
                'setuptools_scm>=1.15.0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/test_all.py 
new/rst.linker-1.10/test_all.py
--- old/rst.linker-1.9/test_all.py      2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/test_all.py     2018-05-22 17:49:10.000000000 +0200
@@ -10,10 +10,10 @@
 @pytest.fixture
 def linker_defn():
     return dict(
-        using = dict(
+        using=dict(
             kiln='https://org.kilnhg.com/Code/Repositories'
         ),
-        replace = [
+        replace=[
             dict(
                 pattern=r"proj (?P<proj_ver>\d+(\.\d+)*([abc]\d+)?)",
                 url='{kiln}/repo/proj/Files/CHANGES?rev={proj_ver}',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/tests/requirements.txt 
new/rst.linker-1.10/tests/requirements.txt
--- old/rst.linker-1.9/tests/requirements.txt   2017-03-30 10:30:44.000000000 
+0200
+++ new/rst.linker-1.10/tests/requirements.txt  1970-01-01 01:00:00.000000000 
+0100
@@ -1,3 +0,0 @@
-pytest >= 2.8
-subprocess32; python_version=="2.6"
-path.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.9/tox.ini new/rst.linker-1.10/tox.ini
--- old/rst.linker-1.9/tox.ini  2017-03-30 10:30:44.000000000 +0200
+++ new/rst.linker-1.10/tox.ini 2018-05-22 17:49:10.000000000 +0200
@@ -1,6 +1,22 @@
+[tox]
+envlist = python
+minversion = 2.4
+
 [testenv]
 deps =
-       -rtests/requirements.txt
-
-commands = py.test {posargs}
+       setuptools>=31.0.1
+       # workaround for yaml/pyyaml#126
+       # 
git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7";
+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


Reply via email to