forked from pool/python-MechanicalSoup
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
515099f1a1 | |||
51fee537ac | |||
3924d39502 | |||
a345706807 |
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
@@ -16,28 +16,31 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-MechanicalSoup
|
||||
Version: 1.3.0
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: A Python library for automating interaction with websites
|
||||
License: MIT
|
||||
URL: https://github.com/hickford/MechanicalSoup
|
||||
Source: https://files.pythonhosted.org/packages/source/M/MechanicalSoup/MechanicalSoup-%{version}.tar.gz
|
||||
BuildRequires: %{python_module beautifulsoup4 >= 4.4}
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mechanicalsoup/mechanicalsoup-%{version}.tar.gz
|
||||
BuildRequires: %{python_module beautifulsoup4 >= 4.7}
|
||||
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 >= 2.22.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
|
||||
Requires: python-beautifulsoup4 >= 4.7
|
||||
Requires: python-lxml
|
||||
Requires: python-requests >= 2.0
|
||||
Requires: python-requests >= 2.22.0
|
||||
Recommends: python-httpbin
|
||||
Recommends: python-jsonschema >= 2.5.1
|
||||
BuildArch: noarch
|
||||
@@ -55,15 +58,15 @@ Python giants Requests (for http sessions) and BeautifulSoup (for
|
||||
document navigation).
|
||||
|
||||
%prep
|
||||
%setup -q -n MechanicalSoup-%{version}
|
||||
%setup -q -n mechanicalsoup-%{version}
|
||||
# do not require cov/xdist/etc
|
||||
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 +76,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
|
||||
|
Reference in New Issue
Block a user