From 2acc92696da545c3e4b13bb47ab75fe077c2ec89 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Nov 27 2020 07:59:29 +0000 Subject: * Thu Nov 26 2020 Fabian Affolter - 2.0.2-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8e71d1c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pytest-error-for-skips-2.0.2.tar.gz diff --git a/python-pytest-error-for-skips.spec b/python-pytest-error-for-skips.spec new file mode 100644 index 0000000..ac3d599 --- /dev/null +++ b/python-pytest-error-for-skips.spec @@ -0,0 +1,49 @@ +%global pypi_name pytest-error-for-skips + +Name: python-%{pypi_name} +Version: 2.0.2 +Release: 1%{?dist} +Summary: Pytest plugin to treat skipped tests a test failure + +License: MIT +URL: https://github.com/janschulz/pytest-error-for-skips +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +Pytest plugin to treat skipped tests a test failures. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(setuptools) +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Pytest plugin to treat skipped tests a test failures. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%pytest -v tests + +%files -n python3-%{pypi_name} +%doc README.md +%license LICENSE +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/pytest_error_for_skips.py +%{python3_sitelib}/pytest_error_for_skips-%{version}-py%{python3_version}.egg-info/ + +%changelog +* Thu Nov 26 2020 Fabian Affolter - 2.0.2-1 +- Initial package for Fedora \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..f09e507 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pytest-error-for-skips-2.0.2.tar.gz) = c1f79ddeb3c10a16ceb7f9d67193ea1e07a200b13f1be00c42d22058f001ca60992d8407261a3474764b9573adb921ecd70bce6a077903e5fa76388a030094f7