7 Commits

Author SHA256 Message Date
0ad0140360 Accepting request 1282302 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pook?expand=0&rev=9
2025-06-03 15:56:22 +00:00
d72b4e1c10 add missing test dep
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pook?expand=0&rev=20
2025-06-03 12:06:03 +00:00
5e55589770 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pook?expand=0&rev=19
2025-06-03 11:53:34 +00:00
248b71d369 Accepting request 1135870 from devel:languages:python
- Use %{?sle15_python_module_pythons}

  * feat(History): add release changes

OBS-URL: https://build.opensuse.org/request/show/1135870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pook?expand=0&rev=8
2024-01-05 21:58:39 +00:00
5377bec621 * feat(History): add release changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pook?expand=0&rev=17
2023-12-31 12:34:23 +00:00
1d340e5add Accepting request 1135670 from home:alarrosa:branches:devel:languages:python
- Use %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1135670
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pook?expand=0&rev=16
2023-12-31 12:33:39 +00:00
8360e5d42d Accepting request 1135703 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1135703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pook?expand=0&rev=15
2023-12-31 12:30:03 +00:00
2 changed files with 18 additions and 5 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 3 11:53:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Dec 29 15:26:13 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- Use %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Fri Jan 13 06:33:49 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
@@ -28,7 +38,7 @@ Mon Sep 20 02:54:50 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
* fix(#69): use match keyword in pytest.raises
* fix(History): invalid rst syntax
* fix(aiohttp): compatible with non aiohttp projects (#67)
* feat(History): add release changes
* feat(History): add release changes
- Drop pytest5.patch, no longer required.
- Drop nose BuildRequires, and its suite, the remainder covers it.

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pook
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
# requires python-aiohttp
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pook
Version: 1.1.1
Release: 0
@@ -25,7 +25,9 @@ Summary: HTTP traffic mocking and expectations
License: MIT
URL: https://github.com/h2non/pook
Source: https://files.pythonhosted.org/packages/source/p/pook/pook-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aiohttp
@@ -38,6 +40,7 @@ BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module furl >= 0.5.6}
BuildRequires: %{python_module jsonschema >= 2.5.1}
BuildRequires: %{python_module mocket >= 1.6.0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module urllib3 >= 1.19.1}
@@ -56,10 +59,10 @@ rm -f setup.cfg pytest.ini tox.ini
touch tests/__init__.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
%fdupes %{buildroot}%{$python_sitelib}
}