From f691e139031fde89c29afb66ccec27ab239988ec Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 11 2021 10:58:04 +0000 Subject: Import python-pytest-toolbox-0.4-6.el9 in CloudSIG xena --- diff --git a/.python-pytest-toolbox.metadata b/.python-pytest-toolbox.metadata new file mode 100644 index 0000000..45115c4 --- /dev/null +++ b/.python-pytest-toolbox.metadata @@ -0,0 +1 @@ +80933d16ebd5df0e5afe724c6fa8c8c5e5b2c269 SOURCES/pytest-toolbox-0.4.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..dc85c43 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-pytest-toolbox + +The python-pytest-toolbox package \ No newline at end of file diff --git a/SPECS/python-pytest-toolbox.spec b/SPECS/python-pytest-toolbox.spec new file mode 100644 index 0000000..52e81e4 --- /dev/null +++ b/SPECS/python-pytest-toolbox.spec @@ -0,0 +1,67 @@ +%global pypi_name pytest-toolbox + +Name: python-%{pypi_name} +Version: 0.4 +Release: 6%{?dist} +Summary: Numerous useful plugins for pytest + +License: MIT +URL: https://github.com/samuelcolvin/pytest-toolbox +Source0: https://github.com/samuelcolvin/pytest-toolbox/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +Numerous useful plugins for pytest. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-pytest-isort +BuildRequires: python3-pydantic +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Numerous useful plugins for pytest. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +# Fails with pytest.PytestConfigWarning: Unknown config option: timeout +PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests \ + -k "not test_any_int_false and not test_is_uuid_false" || true +rm -rf %{buildroot}%{python3_sitelib}/pytest_toolbox/__pycache__/*.cpython-%{python3_version_nodots}-PYTEST.pyc + +%files -n python3-%{pypi_name} +%doc README.rst +%{python3_sitelib}/pytest_toolbox/ +%{python3_sitelib}/pytest_toolbox-%{version}-py%{python3_version}.egg-info + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro HronĨok - 0.4-4 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 06 2020 Fabian Affolter - 0.4-2 +- Update removal of test files (rhbz#1787450) + +* Thu Jan 02 2020 Fabian Affolter - 0.4-1 +- Initial package for Fedora