Hello community,
here is the log from the commit of package python-sphinx-testing for
openSUSE:Factory checked in at 2017-07-07 10:16:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx-testing (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx-testing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-testing"
Fri Jul 7 10:16:38 2017 rev:2 rq:507906 version:0.7.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx-testing/python-sphinx-testing.changes
2016-09-30 15:30:57.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx-testing.new/python-sphinx-testing.changes
2017-07-07 10:16:39.385219084 +0200
@@ -1,0 +2,7 @@
+Mon Jul 3 16:28:10 UTC 2017 - [email protected]
+
+- update to 0.7.2:
+ * Fix cleanups for Sphinx 1.6
+- convert to singlespec
+
+-------------------------------------------------------------------
Old:
----
sphinx-testing-0.7.1.tar.gz
New:
----
sphinx-testing-0.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx-testing.spec ++++++
--- /var/tmp/diff_new_pack.Lgcptk/_old 2017-07-07 10:16:40.381078174 +0200
+++ /var/tmp/diff_new_pack.Lgcptk/_new 2017-07-07 10:16:40.385077608 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-testing
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -13,27 +13,31 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinx-testing
-Version: 0.7.1
+Version: 0.7.2
Release: 0
-License: BSD-2-Clause
Summary: testing utility classes and functions for Sphinx extensions
-Url: https://github.com/sphinx-doc/sphinx-testing
+License: BSD-2-Clause
Group: Development/Languages/Python
+Url: https://github.com/sphinx-doc/sphinx-testing
Source:
https://pypi.io/packages/source/s/sphinx-testing/sphinx-testing-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-setuptools
-BuildRequires: python-six
-BuildRequires: python-Sphinx
-# test requirements
-BuildRequires: python-mock
-Requires: python-six
+BuildRequires: %{python_module Sphinx}
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module six}
+BuildRequires: python-rpm-macros
Requires: python-Sphinx
+Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+%python_subpackages
+
%description
sphinx-testing provides testing utility classes and functions for Sphinx
extensions.
@@ -41,15 +45,15 @@
%setup -q -n sphinx-testing-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
%check
-python setup.py test
+%python_exec setup.py test
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS CHANGES.rst LICENSE README.rst
%{python_sitelib}/*
++++++ sphinx-testing-0.7.1.tar.gz -> sphinx-testing-0.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/CHANGES.rst
new/sphinx-testing-0.7.2/CHANGES.rst
--- old/sphinx-testing-0.7.1/CHANGES.rst 2015-05-23 17:02:56.000000000
+0200
+++ new/sphinx-testing-0.7.2/CHANGES.rst 2017-05-03 15:49:32.000000000
+0200
@@ -1,6 +1,12 @@
Changelog
==========
+0.7.2 (2017-05-03)
+-------------------
+- Fix bug:
+
+ - #2: Fix cleanups for Sphinx 1.6
+
0.7.1 (2015-05-24)
-------------------
- Fix bug:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/PKG-INFO
new/sphinx-testing-0.7.2/PKG-INFO
--- old/sphinx-testing-0.7.1/PKG-INFO 2015-05-23 17:03:10.000000000 +0200
+++ new/sphinx-testing-0.7.2/PKG-INFO 2017-05-03 15:49:44.000000000 +0200
@@ -1,24 +1,32 @@
Metadata-Version: 1.1
Name: sphinx-testing
-Version: 0.7.1
+Version: 0.7.2
Summary: testing utility classes and functions for Sphinx extensions
Home-page: https://github.com/sphinx-doc/sphinx-testing
Author: Takeshi Komiya
-Author-email: i.tkomiya at gmail.com
+Author-email: [email protected]
License: UNKNOWN
Description: UNKNOWN
Keywords: sphinx,testing
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
+Classifier: Environment :: Console
+Classifier: Environment :: Web Environment
+Classifier: Framework :: Sphinx :: Extension
+Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Topic :: Documentation
+Classifier: Topic :: Documentation :: Sphinx
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Text Processing :: Markup
+Classifier: Topic :: Utilities
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/setup.cfg
new/sphinx-testing-0.7.2/setup.cfg
--- old/sphinx-testing-0.7.1/setup.cfg 2015-05-23 17:03:10.000000000 +0200
+++ new/sphinx-testing-0.7.2/setup.cfg 2017-05-03 15:49:44.000000000 +0200
@@ -1,7 +1,6 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
[build]
build-base = _build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/setup.py
new/sphinx-testing-0.7.2/setup.py
--- old/sphinx-testing-0.7.1/setup.py 2015-05-23 17:01:41.000000000 +0200
+++ new/sphinx-testing-0.7.2/setup.py 2017-05-03 15:49:32.000000000 +0200
@@ -4,18 +4,26 @@
classifiers = [
"Development Status :: 4 - Beta",
+ "Environment :: Console",
+ "Environment :: Web Environment",
+ "Framework :: Sphinx :: Extension",
+ "Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
+ "Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
+ "Topic :: Documentation",
+ "Topic :: Documentation :: Sphinx",
"Topic :: Software Development",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Testing",
"Topic :: Text Processing :: Markup",
+ "Topic :: Utilities",
]
test_require = []
@@ -27,12 +35,12 @@
setup(
name='sphinx-testing',
- version='0.7.1',
+ version='0.7.2',
description='testing utility classes and functions for Sphinx extensions',
classifiers=classifiers,
keywords=['sphinx', 'testing'],
author='Takeshi Komiya',
- author_email='i.tkomiya at gmail.com',
+ author_email='[email protected]',
url='https://github.com/sphinx-doc/sphinx-testing',
packages=find_packages('src'),
package_dir={'': 'src'},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/src/sphinx_testing/util.py
new/sphinx-testing-0.7.2/src/sphinx_testing/util.py
--- old/sphinx-testing-0.7.1/src/sphinx_testing/util.py 2015-05-23
14:51:27.000000000 +0200
+++ new/sphinx-testing-0.7.2/src/sphinx_testing/util.py 2017-05-03
15:46:53.000000000 +0200
@@ -87,13 +87,14 @@
return '<%s buildername=%r>' % (classname, self.builder.name)
def cleanup(self, error=None):
- from sphinx.theming import Theme
- from sphinx.ext.autodoc import AutoDirective
-
if error and self.cleanup_on_errors is False:
return
- Theme.themes.clear()
+ if sphinx_version < '1.6':
+ from sphinx.theming import Theme
+ Theme.themes.clear()
+
+ from sphinx.ext.autodoc import AutoDirective
AutoDirective._registry.clear()
for tree in self.cleanup_trees:
shutil.rmtree(tree, True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-testing-0.7.1/src/sphinx_testing.egg-info/PKG-INFO
new/sphinx-testing-0.7.2/src/sphinx_testing.egg-info/PKG-INFO
--- old/sphinx-testing-0.7.1/src/sphinx_testing.egg-info/PKG-INFO
2015-05-23 17:03:05.000000000 +0200
+++ new/sphinx-testing-0.7.2/src/sphinx_testing.egg-info/PKG-INFO
2017-05-03 15:49:43.000000000 +0200
@@ -1,24 +1,32 @@
Metadata-Version: 1.1
Name: sphinx-testing
-Version: 0.7.1
+Version: 0.7.2
Summary: testing utility classes and functions for Sphinx extensions
Home-page: https://github.com/sphinx-doc/sphinx-testing
Author: Takeshi Komiya
-Author-email: i.tkomiya at gmail.com
+Author-email: [email protected]
License: UNKNOWN
Description: UNKNOWN
Keywords: sphinx,testing
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
+Classifier: Environment :: Console
+Classifier: Environment :: Web Environment
+Classifier: Framework :: Sphinx :: Extension
+Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Topic :: Documentation
+Classifier: Topic :: Documentation :: Sphinx
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Text Processing :: Markup
+Classifier: Topic :: Utilities
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/tests/test_path.py
new/sphinx-testing-0.7.2/tests/test_path.py
--- old/sphinx-testing-0.7.1/tests/test_path.py 2015-01-18 05:52:05.000000000
+0100
+++ new/sphinx-testing-0.7.2/tests/test_path.py 2017-05-03 15:39:10.000000000
+0200
@@ -1,6 +1,12 @@
# -*- coding: utf-8 -*-
+import os
import sys
+import shutil
+from tempfile import mkdtemp
+from sphinx_testing import with_tmpdir
+from sphinx_testing.path import path
+
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
@@ -9,12 +15,6 @@
if sys.version_info < (3,):
unittest.TestCase.assertCountEqual = unittest.TestCase.assertItemsEqual
-import os
-import shutil
-from tempfile import mkdtemp
-from sphinx_testing import with_tmpdir
-from sphinx_testing.path import path
-
class TestPath(unittest.TestCase):
def test_instantiate(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/tests/test_tmpdir.py
new/sphinx-testing-0.7.2/tests/test_tmpdir.py
--- old/sphinx-testing-0.7.1/tests/test_tmpdir.py 2015-01-18
05:52:05.000000000 +0100
+++ new/sphinx-testing-0.7.2/tests/test_tmpdir.py 2017-05-03
15:39:10.000000000 +0200
@@ -1,15 +1,15 @@
# -*- coding: utf-8 -*-
import sys
+import shutil
+from sphinx_testing.path import path
+from sphinx_testing.tmpdir import mkdtemp, with_tmpdir
+
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
import unittest
-import shutil
-from sphinx_testing.path import path
-from sphinx_testing.tmpdir import mkdtemp, with_tmpdir
-
class TestTmpdir(unittest.TestCase):
def test_mkdtemp(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/tests/test_util.py
new/sphinx-testing-0.7.2/tests/test_util.py
--- old/sphinx-testing-0.7.1/tests/test_util.py 2015-05-23 14:53:34.000000000
+0200
+++ new/sphinx-testing-0.7.2/tests/test_util.py 2017-05-03 15:39:10.000000000
+0200
@@ -1,6 +1,13 @@
# -*- coding: utf-8 -*-
+import os
import sys
+import sphinx
+from six import StringIO
+from sphinx_testing.path import path
+from sphinx_testing.tmpdir import mkdtemp
+from sphinx_testing.util import TestApp, with_app
+
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
@@ -14,13 +21,6 @@
else:
from unittest.mock import patch
-import os
-import sphinx
-from six import StringIO
-from sphinx_testing.path import path
-from sphinx_testing.tmpdir import mkdtemp
-from sphinx_testing.util import TestApp, with_app
-
class TestSphinxTesting(unittest.TestCase):
def test_TestApp(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-testing-0.7.1/tox.ini
new/sphinx-testing-0.7.2/tox.ini
--- old/sphinx-testing-0.7.1/tox.ini 2015-03-21 09:34:57.000000000 +0100
+++ new/sphinx-testing-0.7.2/tox.ini 2017-05-03 15:39:10.000000000 +0200
@@ -1,11 +1,13 @@
[tox]
-envlist=py26,py27,py32,py33,py34,sphinx06,sphinx10,sphinx11,sphinx12
+envlist=py26,py27,py33,py34,sphinx06,sphinx10,sphinx11,sphinx12,sphinx13,sphinx14,sphinx15
[testenv]
deps=
nose
mock
flake8
+passenv=
+ TRAVIS*
commands=
nosetests
flake8 setup.py src/ tests/
@@ -23,13 +25,9 @@
deps=
{[testenv]deps}
unittest2
-
-[testenv:py32]
-deps=
- {[testenv]deps}
- Sphinx <= 1.2.9999
- Jinja2 < 2.7
- pygments <= 1.9999
+ Sphinx <= 1.4.9999
+commands=
+ nosetests
[testenv:sphinx06]
deps=
@@ -50,3 +48,18 @@
deps=
{[testenv]deps}
Sphinx <= 1.2.9999
+
+[testenv:sphinx13]
+deps=
+ {[testenv]deps}
+ Sphinx <= 1.3.9999
+
+[testenv:sphinx14]
+deps=
+ {[testenv]deps}
+ Sphinx <= 1.4.9999
+
+[testenv:sphinx15]
+deps=
+ {[testenv]deps}
+ Sphinx <= 1.5.9999