Name: python-httmock Version: 1.4.0 Release: 9%{?dist} Summary: A mocking library for requests License: Apache-2.0 URL: https://github.com/patrys/httmock # Switch to github at next release to avoid the extra Source1 Source0: https://files.pythonhosted.org/packages/source/h/httmock/httmock-%{version}.tar.gz Source1: https://raw.githubusercontent.com/patrys/httmock/%{version}/tests.py # Add a tox file. # https://bugzilla.redhat.com/show_bug.cgi?id=2019409 Patch0: https://patch-diff.githubusercontent.com/raw/patrys/httmock/pull/64.diff BuildArch: noarch %global _description %{expand: A mocking library for requests for Python. You can use it to mock third-party APIs and test libraries that use requests internally} %description %_description %package -n python3-httmock Summary: %{summary} BuildRequires: python3-devel %description -n python3-httmock %_description %prep %autosetup -p1 -n httmock-%{version} cp %{SOURCE1} . %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files httmock %check %{tox} %files -n python3-httmock -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Fri May 05 2023 Steve Traylen 1.4.0-9 - Complete migration to pyproject macros - Switch SPDX license field - Use tests.py matching released version of module (rhbz#2175195) * Fri Jan 20 2023 Fedora Release Engineering - 1.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.4.0-6 - Rebuilt for Python 3.11 * Fri Jan 28 2022 Steve Traylen 1.4.0-5 - Migrate tests to tox rhbz#2019409 * Fri Jan 21 2022 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.4.0-2 - Rebuilt for Python 3.10 * Mon Mar 8 2021 Steve Traylen - 1.4.0-1 - Update to 1.4.0 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.3.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 13 2019 Steve Traylen - 1.3.0-1 - Update to 1.3.0 * Thu Oct 03 2019 Miro Hrončok - 1.2.6-9 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.2.6-8 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.2.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.2.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 04 2019 Igor Gnatenko - 1.2.6-5 - Enable python dependency generator * Fri Jan 04 2019 Miro Hrončok - 1.2.6-4 - Subpackage python2-httmock has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 1.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.2.6-2 - Rebuilt for Python 3.7 * Fri May 11 2018 Steve Traylen - 1.2.6-1 - Initial package.