From f7bc4ff52838fadd4a889f4715e0681cd5611929c8d0506b648e566cd4f0b149 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 23 Feb 2021 10:16:42 +0000 Subject: [PATCH] Accepting request 874428 from home:bnavigator:branches:devel:languages:python - Update to 2.0.1 * Make :class:`~sybil.parsers.doctest.DocTestParser` more permissive with respect to tabs in documents. Tabs that aren't in the doctest block not longer cause parsing of the document to fail. - Release 2.0.0 * Drop support for nose. * Handle encoded data returned by doctest execution on Python 2. OBS-URL: https://build.opensuse.org/request/show/874428 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sybil?expand=0&rev=23 --- python-sybil.changes | 12 ++++++++++++ python-sybil.spec | 16 +++++++--------- sybil-1.4.0.tar.gz | 3 --- sybil-2.0.1.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 sybil-1.4.0.tar.gz create mode 100644 sybil-2.0.1.tar.gz diff --git a/python-sybil.changes b/python-sybil.changes index 05094c8..b72786c 100644 --- a/python-sybil.changes +++ b/python-sybil.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Feb 22 19:14:00 UTC 2021 - Ben Greiner + +- Update to 2.0.1 + * Make :class:`~sybil.parsers.doctest.DocTestParser` more + permissive with respect to tabs in documents. Tabs that aren't + in the doctest block not longer cause parsing of the document to + fail. +- Release 2.0.0 + * Drop support for nose. + * Handle encoded data returned by doctest execution on Python 2. + ------------------------------------------------------------------- Thu Aug 27 15:29:02 UTC 2020 - Marketa Calabkova diff --git a/python-sybil.spec b/python-sybil.spec index 53feca8..6db6f7e 100644 --- a/python-sybil.spec +++ b/python-sybil.spec @@ -1,7 +1,7 @@ # # spec file for package python-sybil # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,33 +18,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sybil -Version: 1.4.0 +Version: 2.0.1 Release: 0 Summary: Automated testing of examples in documentation License: MIT Group: Development/Languages/Python URL: https://github.com/cjw296/sybil Source: https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz -BuildRequires: %{python_module nose} -BuildRequires: %{python_module pytest >= 3.5.0} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools-git} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-pytest -Suggests: python-nose BuildArch: noarch %python_subpackages %description python-sybil provides a way to test examples in one's documentation by parsing them from the documentation source and evaluating the parsed examples as part -of the normal test run. Integration is provided for the three main Python -test runners. +of the normal test run. Integration is provided for the main Python test runners. %prep %setup -q -n sybil-%{version} -sed -i '/build=/d;/coveralls/d' setup.py +sed -i '/pytest-cov/ d' setup.py %build %python_build @@ -59,6 +56,7 @@ sed -i '/build=/d;/coveralls/d' setup.py %files %{python_files} %doc README.rst docs/changes.rst %license docs/license.rst -%{python_sitelib}/* +%{python_sitelib}/sybil +%{python_sitelib}/sybil-%{version}*-info %changelog diff --git a/sybil-1.4.0.tar.gz b/sybil-1.4.0.tar.gz deleted file mode 100644 index ea79573..0000000 --- a/sybil-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc46117619f2f704d1d1b02634fa3285f40479a3008172763b9998fe964f4d11 -size 30062 diff --git a/sybil-2.0.1.tar.gz b/sybil-2.0.1.tar.gz new file mode 100644 index 0000000..888561d --- /dev/null +++ b/sybil-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:597d71e246690b9223c132f0ed7dcac470dcbe9ad022004a801e108a00dc3524 +size 29316