From 8ed6214045496ee51c11ceada07a798fdc37e1b3 Mon Sep 17 00:00:00 2001
From: mcalabkova <>
Date: May 14 2025 14:53:13 +0000
Subject: Update python-MechanicalSoup to version 1.3.0 / rev 11 via SR 1274906


https://build.opensuse.org/request/show/1274906
by user mcalabkova + anag_factory

---

diff --git a/.files b/.files
index 3cd92ef..cc519a3 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 2996b7d..9df6c86 100644
--- a/.rev
+++ b/.rev
@@ -111,4 +111,12 @@
     which exposed more local information than users may have been expecting. [#375]</comment>
     <requestid>1131724</requestid>
   </revision>
+  <revision rev="11" vrev="2">
+    <srcmd5>b4d319a1283e73bb445971170ada558b</srcmd5>
+    <version>1.3.0</version>
+    <time>1746542646</time>
+    <user>anag_factory</user>
+    <comment></comment>
+    <requestid>1274906</requestid>
+  </revision>
 </revisionlist>
diff --git a/python-MechanicalSoup.changes b/python-MechanicalSoup.changes
index c27a7f8..4dd4e6e 100644
--- a/python-MechanicalSoup.changes
+++ b/python-MechanicalSoup.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Tue May  6 09:10:35 UTC 2025 - Markéta Machová <mmachova@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
 Thu Dec  7 22:24:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
 
 - update to 1.3.0 (bsc#1213006, CVE-2023-34457):
diff --git a/python-MechanicalSoup.spec b/python-MechanicalSoup.spec
index c7c7142..7d3a642 100644
--- a/python-MechanicalSoup.spec
+++ b/python-MechanicalSoup.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MechanicalSoup
 #
-# 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
@@ -27,12 +27,14 @@ BuildRequires:  %{python_module beautifulsoup4 >= 4.4}
 BuildRequires:  %{python_module httpbin}
 BuildRequires:  %{python_module jsonschema >= 2.5.1}
 BuildRequires:  %{python_module lxml}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest-httpbin}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests >= 2.0}
 BuildRequires:  %{python_module requests-mock}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-beautifulsoup4 >= 4.4
@@ -60,10 +62,10 @@ document navigation).
 sed -i -e '/addopts/d' setup.cfg
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -73,7 +75,7 @@ sed -i -e '/addopts/d' setup.cfg
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/MechanicalSoup*
-%{python_sitelib}/mechanicalsoup*
+%{python_sitelib}/mechanicalsoup
+%{python_sitelib}/[Mm]echanical[Ss]oup-%{version}*info
 
 %changelog