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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user