Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-httmock for openSUSE:Factory checked in at 2025-05-30 14:33:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-httmock (Old) and /work/SRC/openSUSE:Factory/.python-httmock.new.25440 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httmock" Fri May 30 14:33:46 2025 rev:5 rq:1280840 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-httmock/python-httmock.changes 2020-12-01 14:23:24.365633527 +0100 +++ /work/SRC/openSUSE:Factory/.python-httmock.new.25440/python-httmock.changes 2025-05-30 17:25:52.072601828 +0200 @@ -1,0 +2,5 @@ +Wed May 28 11:28:35 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-httmock.spec ++++++ --- /var/tmp/diff_new_pack.oDZrQF/_old 2025-05-30 17:25:52.600623557 +0200 +++ /var/tmp/diff_new_pack.oDZrQF/_new 2025-05-30 17:25:52.600623557 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-httmock # -# Copyright (c) 2020 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-httmock Version: 1.4.0 Release: 0 @@ -25,15 +24,16 @@ Group: Development/Languages/Python URL: https://github.com/patrys/httmock Source: https://github.com/patrys/httmock/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-requests >= 1.0.0 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module requests >= 1.0.0} # /SECTION -Requires: python-requests >= 1.0.0 -BuildArch: noarch - %python_subpackages %description @@ -47,17 +47,19 @@ %setup -q -n httmock-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover +%pyunittest %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/httmock.py +%{python_sitelib}/httmock-%{version}*-info +%pycache_only %{python_sitelib}/__pycache__/httmock*