14
0
forked from pool/python-w3lib

- update to 2.2.0:

* Dropped Python 3.7 support (#214).
  * Added Python 3.12 and PyPy 3.10 support (#218).
  * Added the description to the package metadata (#227).
  * Improved type hints (#226).
  * Added the ``pre-commit`` configuration, code reformatted with
    ``black``
  * Updated CI configuration (#217, #227).
- use PEP517 build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=24
This commit is contained in:
2024-06-10 09:27:02 +00:00
committed by Git OBS Bridge
parent 75982c34f4
commit f349430ee6
4 changed files with 23 additions and 7 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Jun 10 09:25:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.2.0:
* Dropped Python 3.7 support (#214).
* Added Python 3.12 and PyPy 3.10 support (#218).
* Added the description to the package metadata (#227).
* Improved type hints (#226).
* Added the ``pre-commit`` configuration, code reformatted with
``black``
* Updated CI configuration (#217, #227).
- use PEP517 build
-------------------------------------------------------------------
Fri Jan 12 08:28:28 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,15 +18,17 @@
%{?sle15_python_module_pythons}
Name: python-w3lib
Version: 2.1.2
Version: 2.2.0
Release: 0
Summary: Library of Web-Related Functions
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/scrapy/w3lib
Source: https://files.pythonhosted.org/packages/source/w/w3lib/w3lib-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -59,10 +61,10 @@ This is a Python library of web-related functions, such as:
%autosetup -p1 -n w3lib-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -71,6 +73,7 @@ This is a Python library of web-related functions, such as:
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/w3lib
%{python_sitelib}/w3lib-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed5b74e997eea2abe3c1321f916e344144ee8e9072a6f33463ee8e57f858a4b1
size 48715

3
w3lib-2.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09a11148a8e25d63bac836bedd4e82fdb3fc77e91889eab07e132c17d023af0d
size 49428