Sync from SUSE:SLFO:Main python-covdefaults revision d28260ef941b24cf56106c354d0387c0

This commit is contained in:
Adrian Schröter 2024-12-13 11:17:37 +01:00
commit a63c7c78af
4 changed files with 115 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
covdefaults-2.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,31 @@
-------------------------------------------------------------------
Sun Jun 11 08:31:24 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Tue Mar 14 22:32:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.3.0:
* Add assert_never to coverage ignore rules
-------------------------------------------------------------------
Wed Dec 7 15:57:27 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to v2.2.2
* Merge pull request #97 from sobolevn/patch-1
* Do not report class level `if TYPE_CHECKING` as uncovered
- Update to v2.2.1
* A coverage plugin to provide sensible default settings
-------------------------------------------------------------------
Tue Sep 27 00:03:20 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to v2.2.0
No log
-------------------------------------------------------------------
Tue Aug 18 07:15:14 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.1.0

58
python-covdefaults.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package python-covdefaults
#
# 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
# 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/
#
%{?sle15_python_module_pythons}
Name: python-covdefaults
Version: 2.3.0
Release: 0
Summary: Python coverage plugin to provide default settings
License: MIT
Group: Development/Languages/Python
URL: https://github.com/asottile/covdefaults
Source: https://github.com/asottile/covdefaults/archive/v%{version}.tar.gz#/covdefaults-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-coverage
BuildArch: noarch
%python_subpackages
%description
Python coverage plugin to provide default settings.
%prep
%setup -q -n covdefaults-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m coverage run -m pytest -v
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog