- Sprinkle in multibuild to avoid a cycle.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sybil?expand=0&rev=37
This commit is contained in:
parent
03c5560bbe
commit
727079f4c2
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
@ -1,5 +1,5 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 8 04:19:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Mon May 13 04:09:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
- Update to 6.1.0:
|
- Update to 6.1.0:
|
||||||
* Add support for lexing nested fenced codeblocks in markdown.
|
* Add support for lexing nested fenced codeblocks in markdown.
|
||||||
@ -45,6 +45,7 @@ Wed May 8 04:19:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|||||||
while testing examples in target languages such as Python, doctest and bash.
|
while testing examples in target languages such as Python, doctest and bash.
|
||||||
* Add support for MyST examples.
|
* Add support for MyST examples.
|
||||||
- Drop patch pytest74.patch, included upstream.
|
- Drop patch pytest74.patch, included upstream.
|
||||||
|
- Sprinkle in multibuild to avoid a cycle.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 16 15:22:42 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
Tue Jan 16 15:22:42 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
@ -16,25 +16,35 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%define psuffix -test
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-sybil
|
Name: python-sybil%{psuffix}
|
||||||
Version: 6.1.0
|
Version: 6.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Automated testing of examples in documentation
|
Summary: Automated testing of examples in documentation
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/simplistix/sybil
|
URL: https://github.com/simplistix/sybil
|
||||||
Source: https://github.com/simplistix/sybil/archive/refs/tags/%{version}.tar.gz#/sybil-%{version}.tar.gz
|
Source: https://github.com/simplistix/sybil/archive/refs/tags/%{version}.tar.gz#/sybil-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module PyYAML}
|
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module pytest >= 7.1}
|
BuildRequires: %{python_module pytest >= 7.1}
|
||||||
BuildRequires: %{python_module seedir}
|
BuildRequires: %{python_module seedir}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module testfixtures}
|
BuildRequires: %{python_module testfixtures}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
%if 0%{?sle_version} && 0%{?sle_version} <= 150400
|
%if 0%{?sle_version} && 0%{?sle_version} <= 150400
|
||||||
BuildRequires: %{python_module dataclasses}
|
BuildRequires: %{python_module dataclasses}
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Recommends: python-pytest
|
Recommends: python-pytest
|
||||||
@ -53,17 +63,23 @@ sed -i '/pytest-cov/ d' setup.py
|
|||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%if !%{with test}
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with test}
|
||||||
%pytest
|
%pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if !%{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst docs/changes.rst
|
%doc README.rst docs/changes.rst
|
||||||
%license docs/license.rst
|
%license docs/license.rst
|
||||||
%{python_sitelib}/sybil
|
%{python_sitelib}/sybil
|
||||||
%{python_sitelib}/sybil-%{version}.dist-info
|
%{python_sitelib}/sybil-%{version}.dist-info
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user