forked from pool/python-mechanize
Accepting request 1281826 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1281826 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mechanize?expand=0&rev=35
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user