import python-pytest-github-actions-annotate-failures-0.2.0-2.el10

i10ce changed/i10ce/python-pytest-github-actions-annotate-failures-0.2.0-2.el10
Arkady L. Shane 2 weeks ago
commit 5de0b3e1f4
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/pytest-github-actions-annotate-failures-0.2.0.tar.gz

@ -0,0 +1 @@
ef79329d432e25da6096bec22e385d62d2c3b1c3 SOURCES/pytest-github-actions-annotate-failures-0.2.0.tar.gz

@ -0,0 +1,84 @@
## START: Set by rpmautospec
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
%global pypi_name pytest-github-actions-annotate-failures
Name: python-%{pypi_name}
Version: 0.2.0
Release: %{autorelease}
Summary: Pytest plugin to annotate failed tests in GitHub Actions
%global forgeurl https://github.com/pytest-dev/pytest-github-actions-annotate-failures
%forgemeta
License: MIT
URL: %forgeurl
Source: %forgesource
BuildArch: noarch
BuildRequires: python3-devel
%global _description %{expand:
Pytest plugin to annotate failed tests with a workflow command for
GitHub Actions.}
%description %_description
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name} %_description
%prep
%forgeautosetup -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l pytest_github_actions_annotate_failures
%check
# Test fails with pytest >= 7.4 (F40+)
%if %{fedora} >= 40
k="${k-}${k+ and }not test_annotation_pytest_error"
%endif
%pytest -v ${k+-k }"${k-}"
# Additional smoke test
%pyproject_check_import
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%changelog
* Sat Dec 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.0-2
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Jun 30 2024 Sandro <devel@penguinpee.nl> - 0.2.0-1
- Initial release (RHBZ#2294809)
## END: Generated by rpmautospec
Loading…
Cancel
Save