Accepting request 1085834 from devel:languages:python:pytest

- update to 0.5.0:
  * Mention in the README that the doctest directive is
    supported.
  * CI improvements

OBS-URL: https://build.opensuse.org/request/show/1085834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-sphinx?expand=0&rev=6
This commit is contained in:
2023-05-10 14:18:54 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 8 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 8 08:26:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.5.0:
* Mention in the README that the doctest directive is
supported.
* CI improvements
-------------------------------------------------------------------
Mon Apr 25 06:23:43 UTC 2022 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-sphinx
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-sphinx
Version: 0.4.0
Version: 0.5.0
Release: 0
Summary: Doctest plugin for pytest with support for Sphinx-specific doctest-directives
License: BSD-3-Clause
URL: https://github.com/thisch/pytest-sphinx
Source: https://github.com/thisch/pytest-sphinx/archive/v%{version}.tar.gz#/pytest-sphinx-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 7.0.0
@@ -43,10 +45,10 @@ Doctest plugin for pytest with support for Sphinx-specific doctest-directives.
%setup -q -n pytest-sphinx-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,6 +57,8 @@ Doctest plugin for pytest with support for Sphinx-specific doctest-directives.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_sphinx.py
%{python_sitelib}/pytest_sphinx-%{version}.dist-info
%pycache_only %{python_sitelib}/__pycache__/*
%changelog