Hello community, here is the log from the commit of package python-m2r for openSUSE:Factory checked in at 2019-03-29 20:37:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-m2r (Old) and /work/SRC/openSUSE:Factory/.python-m2r.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-m2r" Fri Mar 29 20:37:46 2019 rev:3 rq:688722 version:0.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-m2r/python-m2r.changes 2018-12-27 00:27:13.615769358 +0100 +++ /work/SRC/openSUSE:Factory/.python-m2r.new.25356/python-m2r.changes 2019-03-29 20:37:47.774651065 +0100 @@ -1,0 +2,24 @@ +Tue Mar 26 12:54:38 UTC 2019 - [email protected] + +- require python-setuptools + +------------------------------------------------------------------- +Mon Mar 25 11:29:09 UTC 2019 - [email protected] + +- version update to 0.2.1 + * Add `--disable-inline-math` and `m2r_disable_inline_math` sphinx option + * Add `start-line` and `end-line` option to `mdinclude` directive + * Add `anonymous_references` option + * Support Sphinx's doc/ref directives for relative links + * Implement markdown link with title + * Catch up sphinx updates + * Support multi byte characters for heading + * Add metadata for sphinx + * Add `convert(src)` function, which is shortcut of `m2r.M2R()(src)` + * Include CHANGES and test files in source distribution + * Print help when input_file is not specified on command-line + * Fix undefined name error (PR #5). +- run unit tests +- package CHANGES.md + +------------------------------------------------------------------- Old: ---- m2r-0.1.6.tar.gz New: ---- m2r-0.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-m2r.spec ++++++ --- /var/tmp/diff_new_pack.4Vcax4/_old 2019-03-29 20:37:48.282651349 +0100 +++ /var/tmp/diff_new_pack.4Vcax4/_new 2019-03-29 20:37:48.282651349 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-m2r # -# Copyright (c) 2018 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 @@ -17,9 +17,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test %global modname m2r Name: python-m2r -Version: 0.1.6 +Version: 0.2.1 Release: 0 Summary: Markdown to reStructuredText converter License: MIT @@ -29,10 +30,16 @@ BuildRequires: %{python_module docutils} BuildRequires: %{python_module mistune} BuildRequires: %{python_module setuptools} +%if %{with test} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pygments} +BuildRequires: %{python_module pytest} +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docutils Requires: python-mistune +Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch @@ -55,14 +62,19 @@ %python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/ %post -%{python_install_alternative m2r} +%python_install_alternative m2r %postun %python_uninstall_alternative m2r +%check +%if %{with test} +%pytest +%endif + %files %{python_files} %license LICENSE -%doc README.md +%doc README.md CHANGES.md %python_alternative %{_bindir}/m2r %{python_sitelib}/%{modname}* %pycache_only %{python_sitelib}/__pycache__ ++++++ m2r-0.1.6.tar.gz -> m2r-0.2.1.tar.gz ++++++ ++++ 1924 lines of diff (skipped)
