From 1c5b212a05b40f14d713022c289543d73dc19d47 Mon Sep 17 00:00:00 2001 From: mcalabkova <> Date: Jun 02 2025 20:37:28 +0000 Subject: Update python-mechanize to version 0.4.10 / rev 35 via SR 1281826 https://build.opensuse.org/request/show/1281826 by user mcalabkova + anag_factory - Convert to pip-based build --- diff --git a/.files b/.files index a1472a2..5a6a0b8 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index f306b33..31f7e68 100644 --- a/.rev +++ b/.rev @@ -320,4 +320,12 @@ * Fix overly long MIME multipart separator on 64 bit systems</comment> <requestid>1171542</requestid> </revision> + <revision rev="35" vrev="2"> + <srcmd5>96d9414ee4b683468508d12f2320dd96</srcmd5> + <version>0.4.10</version> + <time>1748894430</time> + <user>anag_factory</user> + <comment>- Convert to pip-based build</comment> + <requestid>1281826</requestid> + </revision> </revisionlist> diff --git a/python-mechanize.changes b/python-mechanize.changes index 5bb8c01..2393992 100644 --- a/python-mechanize.changes +++ b/python-mechanize.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jun 2 08:53:17 UTC 2025 - Markéta Machová <mmachova@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- Fri May 3 07:40:41 UTC 2024 - Dirk Müller <dmueller@suse.com> - update to 0.4.10: diff --git a/python-mechanize.spec b/python-mechanize.spec index 7768565..99505c0 100644 --- a/python-mechanize.spec +++ b/python-mechanize.spec @@ -1,7 +1,7 @@ # # spec file for package python-mechanize # -# Copyright (c) 2024 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,7 +27,9 @@ URL: https://github.com/python-mechanize/mechanize Source: https://files.pythonhosted.org/packages/source/m/mechanize/%{modname}-%{version}.tar.gz BuildRequires: %{python_module Twisted} BuildRequires: %{python_module html5lib} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -47,10 +49,10 @@ sed -i -e '1{/^#!/d}' examples/forms/{echo.cgi,example.py,simple.py} chmod -x examples/forms/{echo.cgi,example.py,simple.py} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check