Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
21bb672b1f | |||
52dfa0a462 | |||
a33fe45bb8 | |||
b79145dd07 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:38e8748f62fd9455a0818701a9e2dbfa549639d09f829f3fdd03665c825e7ce1
|
|
||||||
size 50826
|
|
3
mechanicalsoup-1.4.0.tar.gz
Normal file
3
mechanicalsoup-1.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dce8a797635a748c4724471b5ebee5b1be42531a8464ed4a955e9a46cf612a4c
|
||||||
|
size 51131
|
@@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 11 12:52:15 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.4.0
|
||||||
|
* Added support for Python 3.12 and 3.13.
|
||||||
|
* Removed support for end of life python versions 3.6, 3.7, and 3.8.
|
||||||
|
* Minimum versions of dependencies ``urllib3`` and ``certifi`` have
|
||||||
|
been specified to mitigate security vulnerabilities.
|
||||||
|
- Adjust upstream source name in spec file
|
||||||
|
- Update BuildRequires and Requires from requirements.txt
|
||||||
|
- Use Python 3.11 on SLE-15 by default
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Dec 7 22:24:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-MechanicalSoup
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,28 +16,31 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-MechanicalSoup
|
Name: python-MechanicalSoup
|
||||||
Version: 1.3.0
|
Version: 1.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python library for automating interaction with websites
|
Summary: A Python library for automating interaction with websites
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/hickford/MechanicalSoup
|
URL: https://github.com/hickford/MechanicalSoup
|
||||||
Source: https://files.pythonhosted.org/packages/source/M/MechanicalSoup/MechanicalSoup-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/mechanicalsoup/mechanicalsoup-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module beautifulsoup4 >= 4.4}
|
BuildRequires: %{python_module beautifulsoup4 >= 4.7}
|
||||||
BuildRequires: %{python_module httpbin}
|
BuildRequires: %{python_module httpbin}
|
||||||
BuildRequires: %{python_module jsonschema >= 2.5.1}
|
BuildRequires: %{python_module jsonschema >= 2.5.1}
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-httpbin}
|
BuildRequires: %{python_module pytest-httpbin}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests >= 2.0}
|
BuildRequires: %{python_module requests >= 2.22.0}
|
||||||
BuildRequires: %{python_module requests-mock}
|
BuildRequires: %{python_module requests-mock}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-beautifulsoup4 >= 4.4
|
Requires: python-beautifulsoup4 >= 4.7
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
Requires: python-requests >= 2.0
|
Requires: python-requests >= 2.22.0
|
||||||
Recommends: python-httpbin
|
Recommends: python-httpbin
|
||||||
Recommends: python-jsonschema >= 2.5.1
|
Recommends: python-jsonschema >= 2.5.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -55,15 +58,15 @@ Python giants Requests (for http sessions) and BeautifulSoup (for
|
|||||||
document navigation).
|
document navigation).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n MechanicalSoup-%{version}
|
%setup -q -n mechanicalsoup-%{version}
|
||||||
# do not require cov/xdist/etc
|
# do not require cov/xdist/etc
|
||||||
sed -i -e '/addopts/d' setup.cfg
|
sed -i -e '/addopts/d' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -73,7 +76,7 @@ sed -i -e '/addopts/d' setup.cfg
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/MechanicalSoup*
|
%{python_sitelib}/mechanicalsoup
|
||||||
%{python_sitelib}/mechanicalsoup*
|
%{python_sitelib}/[Mm]echanical[Ss]oup-%{version}*info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user