forked from pool/python-pytest-tldr
Accepting request 1275115 from devel:languages:python:pytest
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1275115 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-tldr?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 06:59:51 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 11:56:24 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-tldr
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -21,12 +21,13 @@ Version: 0.2.5
|
||||
Release: 0
|
||||
Summary: A pytest plugin that limits the output to just the things you need
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/freakboy3742/pytest-tldr
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-tldr/pytest-tldr-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 3.5.0}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 3.5.0
|
||||
@@ -40,10 +41,10 @@ A pytest plugin that limits the output to just the things you need.
|
||||
%setup -q -n pytest-tldr-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -54,6 +55,6 @@ A pytest plugin that limits the output to just the things you need.
|
||||
%license LICENSE
|
||||
%pycache_only %{python_sitelib}/__pycache__/*.pyc
|
||||
%{python_sitelib}/pytest_tldr.py
|
||||
%{python_sitelib}/pytest_tldr-%{version}*-info
|
||||
%{python_sitelib}/pytest_tldr-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user