obsolete python-mechanize-py310 [release 0.4.9-2mamba;Tue Mar 26 2024]

This commit is contained in:
Silvan Calarco 2024-03-26 09:25:25 +01:00
parent 74edb6ef30
commit 4fc9e5597f

View File

@ -1,14 +1,13 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-mechanize
Version: 0.4.9
Release: 1mamba
Release: 2mamba
Summary: Stateful programmatic web browsing in Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/python-mechanize/mechanize
#Source: https://github.com/python-mechanize/mechanize.git/v%{version}/mechanize-%{version}.tar.bz2
Source: https://pypi.debian.net/mechanize/mechanize-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
@ -19,24 +18,23 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
BuildRequires: python-build-py3
BuildRequires: python-wheel-py3
BuildRequires: python-python_install-py3
BuildRequires: python-build-py310
BuildRequires: python-wheel-py310
BuildRequires: python-python_install-py310
%description
Stateful programmatic web browsing in Python, after Andy Lesters Perl module WWW::Mechanize.
%if 0%{?with_pyver}
%if "%{?with_pyver}" == "3"
%define py_requires_append \
Obsoletes: python-mechanize-py310 <= 0.4.9-1mamba
%endif
%pyver_package
%endif
%prep
%setup -q -n mechanize-%{version}
#%patch0 -p1
%build
%{__python} -m build --wheel --skip-dependency-check
#--no-isolation
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -51,6 +49,9 @@ Stateful programmatic web browsing in Python, after Andy Lesters Perl module
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%changelog
* Tue Mar 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.9-2mamba
- obsolete python-mechanize-py310
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
- automatic version update by autodist