- Apply spec-cleaner and package README
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pytest-jupyter?expand=0&rev=3
This commit is contained in:
parent
4fc280896b
commit
a58490a334
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 29 22:30:34 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Apply spec-cleaner and package README
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 25 21:36:22 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Sun Dec 25 21:36:22 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@ -28,24 +29,24 @@ Name: python-pytest-jupyter%{psuffix}
|
|||||||
Version: 0.6.2
|
Version: 0.6.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A pytest plugin for testing Jupyter libraries and extensions
|
Summary: A pytest plugin for testing Jupyter libraries and extensions
|
||||||
License: MIT and BSD-3-Clause
|
License: MIT AND BSD-3-Clause
|
||||||
URL: https://github.com/jupyter-server/pytest-jupyter
|
URL: https://github.com/jupyter-server/pytest-jupyter
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-jupyter/pytest_jupyter-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest_jupyter/pytest_jupyter-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-jupyter_core
|
Requires: python-jupyter_core
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module pytest-jupyter = %{version}}
|
|
||||||
BuildRequires: %{python_module pytest-jupyter-server = %{version}}
|
|
||||||
BuildRequires: %{python_module pytest-jupyter-client = %{version}}
|
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
|
||||||
BuildRequires: %{python_module nbformat}
|
|
||||||
%endif
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module nbformat}
|
||||||
|
BuildRequires: %{python_module pytest-jupyter = %{version}}
|
||||||
|
BuildRequires: %{python_module pytest-jupyter-client = %{version}}
|
||||||
|
BuildRequires: %{python_module pytest-jupyter-server = %{version}}
|
||||||
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,9 +54,9 @@ A pytest plugin for testing Jupyter libraries and extensions.
|
|||||||
|
|
||||||
%package client
|
%package client
|
||||||
Summary: A pytest plugin for testing Jupyter libraries and extensions [client] extra
|
Summary: A pytest plugin for testing Jupyter libraries and extensions [client] extra
|
||||||
Requires: python-pytest-jupyter = %{version}
|
|
||||||
Requires: python-jupyter_client >= 7.4
|
|
||||||
Requires: python-ipykernel
|
Requires: python-ipykernel
|
||||||
|
Requires: python-jupyter_client >= 7.4
|
||||||
|
Requires: python-pytest-jupyter = %{version}
|
||||||
|
|
||||||
%description client
|
%description client
|
||||||
A pytest plugin for testing Jupyter libraries and extensions.
|
A pytest plugin for testing Jupyter libraries and extensions.
|
||||||
@ -63,10 +64,10 @@ This subpackage provides the [client] extra dependencies
|
|||||||
|
|
||||||
%package server
|
%package server
|
||||||
Summary: A pytest plugin for testing Jupyter libraries and extensions [server] extra
|
Summary: A pytest plugin for testing Jupyter libraries and extensions [server] extra
|
||||||
|
Requires: python-jupyter-server >= 1.21
|
||||||
|
Requires: python-nbformat >= 5.3
|
||||||
Requires: python-pytest-jupyter = %{version}
|
Requires: python-pytest-jupyter = %{version}
|
||||||
Requires: python-pytest-jupyter-client = %{version}
|
Requires: python-pytest-jupyter-client = %{version}
|
||||||
Requires: python-nbformat >= 5.3
|
|
||||||
Requires: python-jupyter-server >= 1.21
|
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
A pytest plugin for testing Jupyter libraries and extensions.
|
A pytest plugin for testing Jupyter libraries and extensions.
|
||||||
@ -93,6 +94,7 @@ sed -i 's/--color=yes//' pyproject.toml
|
|||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
%{python_sitelib}/pytest_jupyter
|
%{python_sitelib}/pytest_jupyter
|
||||||
%{python_sitelib}/pytest_jupyter-%{version}.dist-info
|
%{python_sitelib}/pytest_jupyter-%{version}.dist-info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user