From e5ca12a808fc0bfdce2a51df2abcd184a1df11e315edf41fbfc455b8e3744d31 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 May 2023 08:27:19 +0000 Subject: [PATCH 1/2] - update to 0.5.0: * Mention in the README that the doctest directive is supported. * CI improvements OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-sphinx?expand=0&rev=12 --- pytest-sphinx-0.4.0.tar.gz | 3 --- pytest-sphinx-0.5.0.tar.gz | 3 +++ python-pytest-sphinx.changes | 8 ++++++++ python-pytest-sphinx.spec | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 pytest-sphinx-0.4.0.tar.gz create mode 100644 pytest-sphinx-0.5.0.tar.gz diff --git a/pytest-sphinx-0.4.0.tar.gz b/pytest-sphinx-0.4.0.tar.gz deleted file mode 100644 index b5cf19f..0000000 --- a/pytest-sphinx-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f0db6b8d115442912fe1f55407c9f0e3f120e2eacf3c7e62c7727c48dc9f42c -size 15477 diff --git a/pytest-sphinx-0.5.0.tar.gz b/pytest-sphinx-0.5.0.tar.gz new file mode 100644 index 0000000..761280c --- /dev/null +++ b/pytest-sphinx-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:548312ea3d8e2f46700f2343eb6e09fe532ca4794661bb44be2f9f7ff284ca15 +size 16217 diff --git a/python-pytest-sphinx.changes b/python-pytest-sphinx.changes index 1755d56..6998b1f 100644 --- a/python-pytest-sphinx.changes +++ b/python-pytest-sphinx.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 8 08:26:45 UTC 2023 - Dirk Müller + +- 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á diff --git a/python-pytest-sphinx.spec b/python-pytest-sphinx.spec index 68c031c..33491a3 100644 --- a/python-pytest-sphinx.spec +++ b/python-pytest-sphinx.spec @@ -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,7 +19,7 @@ %{?!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 From d532f1af151429d140e0ed6d6d130f331e4940549930e6b38cbc7fe3f3c12715 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 May 2023 21:06:28 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-sphinx?expand=0&rev=13 --- python-pytest-sphinx.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-pytest-sphinx.spec b/python-pytest-sphinx.spec index 33491a3..3c5f664 100644 --- a/python-pytest-sphinx.spec +++ b/python-pytest-sphinx.spec @@ -25,7 +25,9 @@ Summary: Doctest plugin for pytest with support for Sphinx-specific docte 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