Hello community,
here is the log from the commit of package python-restructuredtext_lint for
openSUSE:Factory checked in at 2019-03-26 15:43:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-restructuredtext_lint (Old)
and /work/SRC/openSUSE:Factory/.python-restructuredtext_lint.new.25356
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-restructuredtext_lint"
Tue Mar 26 15:43:59 2019 rev:5 rq:688133 version:1.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-restructuredtext_lint/python-restructuredtext_lint.changes
2019-02-27 17:28:06.579343141 +0100
+++
/work/SRC/openSUSE:Factory/.python-restructuredtext_lint.new.25356/python-restructuredtext_lint.changes
2019-03-26 15:44:22.744152859 +0100
@@ -1,0 +2,7 @@
+Mon Mar 25 03:03:34 UTC 2019 - John Vandenberg <[email protected]>
+
+- Removed no longer needed python37.patch
+- Update to v1.3.0
+ * Added Python 3.7 support
+
+-------------------------------------------------------------------
Old:
----
python37.patch
restructuredtext_lint-1.2.2.tar.gz
New:
----
restructuredtext_lint-1.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-restructuredtext_lint.spec ++++++
--- /var/tmp/diff_new_pack.RMZEaF/_old 2019-03-26 15:44:23.508151963 +0100
+++ /var/tmp/diff_new_pack.RMZEaF/_new 2019-03-26 15:44:23.512151958 +0100
@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-restructuredtext_lint
-Version: 1.2.2
+Version: 1.3.0
Release: 0
Summary: Linter for reStructuredText
License: Unlicense
Group: Development/Languages/Python
Url: https://github.com/twolfson/restructuredtext-lint
Source:
https://files.pythonhosted.org/packages/source/r/restructuredtext_lint/restructuredtext_lint-%{version}.tar.gz
-Patch0: python37.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -46,7 +45,6 @@
%prep
%setup -q -n restructuredtext_lint-%{version}
-%patch0 -p1
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
%build
++++++ restructuredtext_lint-1.2.2.tar.gz -> restructuredtext_lint-1.3.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/restructuredtext_lint-1.2.2/.travis.yml
new/restructuredtext_lint-1.3.0/.travis.yml
--- old/restructuredtext_lint-1.2.2/.travis.yml 2018-11-14 07:37:14.000000000
+0100
+++ new/restructuredtext_lint-1.3.0/.travis.yml 2019-03-23 23:10:24.000000000
+0100
@@ -1,8 +1,11 @@
language: python
+dist: xenial
python:
- "2.7"
- "3.4"
- "3.5"
+ - "3.6"
+ - "3.7"
install:
# Install `restructuredtext_lint`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/restructuredtext_lint-1.2.2/CHANGELOG.rst
new/restructuredtext_lint-1.3.0/CHANGELOG.rst
--- old/restructuredtext_lint-1.2.2/CHANGELOG.rst 2019-01-06
11:02:50.000000000 +0100
+++ new/restructuredtext_lint-1.3.0/CHANGELOG.rst 2019-03-23
23:10:48.000000000 +0100
@@ -1,5 +1,7 @@
restructuredtext-lint changelog
===============================
+1.3.0 - Added Python 3.7 support via @Jenselme in #47
+
1.2.2 - Dropped PyYAML dev dependency to fix GitHub vulnerability warning
1.2.1 - Dropped Python 3.3 from Travis CI to fix testing errors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/restructuredtext_lint-1.2.2/PKG-INFO
new/restructuredtext_lint-1.3.0/PKG-INFO
--- old/restructuredtext_lint-1.2.2/PKG-INFO 2019-01-06 11:03:07.000000000
+0100
+++ new/restructuredtext_lint-1.3.0/PKG-INFO 2019-03-23 23:11:09.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: restructuredtext_lint
-Version: 1.2.2
+Version: 1.3.0
Summary: reStructuredText linter
Home-page: https://github.com/twolfson/restructuredtext-lint
Author: Todd Wolfson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/restructuredtext_lint-1.2.2/restructuredtext_lint/VERSION
new/restructuredtext_lint-1.3.0/restructuredtext_lint/VERSION
--- old/restructuredtext_lint-1.2.2/restructuredtext_lint/VERSION
2019-01-06 11:02:55.000000000 +0100
+++ new/restructuredtext_lint-1.3.0/restructuredtext_lint/VERSION
2019-03-23 23:10:58.000000000 +0100
@@ -1 +1 @@
-1.2.2
+1.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/restructuredtext_lint-1.2.2/restructuredtext_lint/test/test.py
new/restructuredtext_lint-1.3.0/restructuredtext_lint/test/test.py
--- old/restructuredtext_lint-1.2.2/restructuredtext_lint/test/test.py
2019-01-06 11:01:34.000000000 +0100
+++ new/restructuredtext_lint-1.3.0/restructuredtext_lint/test/test.py
2019-03-23 23:10:24.000000000 +0100
@@ -9,12 +9,12 @@
import restructuredtext_lint
-__dir__ = os.path.dirname(os.path.abspath(__file__))
-valid_rst = os.path.join(__dir__, 'test_files', 'valid.rst')
-warning_rst = os.path.join(__dir__, 'test_files', 'second_short_heading.rst')
-dir_rst = os.path.join(__dir__, 'test_files', 'dir')
-invalid_rst = os.path.join(__dir__, 'test_files', 'invalid.rst')
-rst_lint_path = os.path.join(__dir__, os.pardir, 'cli.py')
+_dir = os.path.dirname(os.path.abspath(__file__))
+valid_rst = os.path.join(_dir, 'test_files', 'valid.rst')
+warning_rst = os.path.join(_dir, 'test_files', 'second_short_heading.rst')
+dir_rst = os.path.join(_dir, 'test_files', 'dir')
+invalid_rst = os.path.join(_dir, 'test_files', 'invalid.rst')
+rst_lint_path = os.path.join(_dir, os.pardir, 'cli.py')
"""
# TODO: Implement this as a class (options) with a sugar function that lints a
string against a set of options
@@ -58,7 +58,7 @@
def test_encoding_utf8(self):
"""A document with utf-8 characters is valid."""
- filepath = os.path.join(__dir__, 'test_files', 'utf8.rst')
+ filepath = os.path.join(_dir, 'test_files', 'utf8.rst')
errors = restructuredtext_lint.lint_file(filepath, encoding='utf-8')
self.assertEqual(errors, [])
@@ -67,7 +67,7 @@
This is a regression test for
https://github.com/twolfson/restructuredtext-lint/issues/5
"""
- filepath = os.path.join(__dir__, 'test_files',
'second_short_heading.rst')
+ filepath = os.path.join(_dir, 'test_files', 'second_short_heading.rst')
errors = restructuredtext_lint.lint_file(filepath)
self.assertEqual(errors[0].line, 6)
self.assertEqual(errors[0].source, filepath)
@@ -77,7 +77,7 @@
This is a regression test for
https://github.com/twolfson/restructuredtext-lint/issues/6
"""
- filepath = os.path.join(__dir__, 'test_files', 'invalid_target.rst')
+ filepath = os.path.join(_dir, 'test_files', 'invalid_target.rst')
errors = restructuredtext_lint.lint_file(filepath)
self.assertIn('Unknown target name', errors[0].message)
@@ -86,7 +86,7 @@
This is a regression test for
https://github.com/twolfson/restructuredtext-lint/issues/7
"""
- filepath = os.path.join(__dir__, 'test_files',
'invalid_line_mismatch.rst')
+ filepath = os.path.join(_dir, 'test_files',
'invalid_line_mismatch.rst')
errors = restructuredtext_lint.lint_file(filepath)
self.assertIn('Title overline & underline mismatch', errors[0].message)
@@ -95,7 +95,7 @@
This is a regression test for
https://github.com/twolfson/restructuredtext-lint/issues/12
"""
- filepath = os.path.join(__dir__, 'test_files', 'invalid_link.rst')
+ filepath = os.path.join(_dir, 'test_files', 'invalid_link.rst')
errors = restructuredtext_lint.lint_file(filepath)
self.assertIn('Anonymous hyperlink mismatch: 1 references but 0
targets.', errors[0].message)
self.assertIn('Hyperlink target "hello" is not referenced.',
errors[1].message)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/restructuredtext_lint-1.2.2/restructuredtext_lint.egg-info/PKG-INFO
new/restructuredtext_lint-1.3.0/restructuredtext_lint.egg-info/PKG-INFO
--- old/restructuredtext_lint-1.2.2/restructuredtext_lint.egg-info/PKG-INFO
2019-01-06 11:03:07.000000000 +0100
+++ new/restructuredtext_lint-1.3.0/restructuredtext_lint.egg-info/PKG-INFO
2019-03-23 23:11:09.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: restructuredtext-lint
-Version: 1.2.2
+Version: 1.3.0
Summary: reStructuredText linter
Home-page: https://github.com/twolfson/restructuredtext-lint
Author: Todd Wolfson