2019-09-20 10:00:06 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-pytest-listener
|
|
|
|
|
#
|
2025-02-04 04:13:57 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2019-09-20 10:00:06 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-pytest-listener
|
2025-02-04 04:13:57 +00:00
|
|
|
Version: 1.8.1
|
2019-09-20 10:00:06 +00:00
|
|
|
Release: 0
|
2024-10-22 06:10:20 +00:00
|
|
|
Summary: A simple network listener for pytest
|
2019-09-20 10:00:06 +00:00
|
|
|
License: MIT
|
2024-10-22 06:10:20 +00:00
|
|
|
URL: https://github.com/man-group/pytest-plugins
|
2019-09-20 10:00:06 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-listener/pytest-listener-%{version}.tar.gz
|
2022-12-09 10:50:13 +00:00
|
|
|
# https://github.com/man-group/pytest-plugins/issues/209
|
|
|
|
|
Patch0: python-pytest-listener-no-six.patch
|
2024-10-22 06:10:20 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2019-09-20 10:00:06 +00:00
|
|
|
BuildRequires: %{python_module setuptools-git}
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-10-22 06:10:20 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2019-09-20 10:00:06 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2024-10-22 06:10:20 +00:00
|
|
|
Requires: python-pytest
|
2019-09-20 10:00:06 +00:00
|
|
|
Requires: python-pytest-server-fixtures
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# SECTION test requirements
|
|
|
|
|
BuildRequires: %{python_module pytest-server-fixtures}
|
|
|
|
|
# /SECTION
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2021-05-16 20:46:51 +00:00
|
|
|
Simple JSON listener using TCP that listens for data and stores it in a queue for later retrieval.
|
2019-09-20 10:00:06 +00:00
|
|
|
|
|
|
|
|
%prep
|
2022-12-09 10:50:13 +00:00
|
|
|
%autosetup -p1 -n pytest-listener-%{version}
|
2019-09-20 10:00:06 +00:00
|
|
|
|
|
|
|
|
%build
|
2024-10-22 06:10:20 +00:00
|
|
|
%pyproject_wheel
|
2019-09-20 10:00:06 +00:00
|
|
|
|
|
|
|
|
%install
|
2024-10-22 06:10:20 +00:00
|
|
|
%pyproject_install
|
2019-09-20 10:00:06 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%check
|
2019-12-28 17:17:53 +00:00
|
|
|
%pytest
|
2019-09-20 10:00:06 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%doc CHANGES.md README.md
|
|
|
|
|
%license LICENSE
|
2024-10-22 06:10:20 +00:00
|
|
|
%{python_sitelib}/pytest_listener.py
|
2021-05-16 20:46:51 +00:00
|
|
|
%pycache_only %{python_sitelib}/__pycache__/pytest_listener*.pyc
|
2024-10-22 06:10:20 +00:00
|
|
|
%{python_sitelib}/pytest_listener-%{version}.dist-info
|
2019-09-20 10:00:06 +00:00
|
|
|
|
|
|
|
|
%changelog
|