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
This commit is contained in:
Dirk Mueller 2021-02-23 10:16:42 +00:00 committed by Git OBS Bridge
parent c7cb304ae3
commit f7bc4ff528
4 changed files with 22 additions and 12 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Feb 22 19:14:00 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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 <mcalabkova@suse.com>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc46117619f2f704d1d1b02634fa3285f40479a3008172763b9998fe964f4d11
size 30062

3
sybil-2.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:597d71e246690b9223c132f0ed7dcac470dcbe9ad022004a801e108a00dc3524
size 29316