From f349430ee6f486182e605bdf70b4b433ed4ac4f2d2bcd75c3c2691ccb19be2c5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Jun 2024 09:27:02 +0000 Subject: [PATCH] - 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 --- python-w3lib.changes | 13 +++++++++++++ python-w3lib.spec | 11 +++++++---- w3lib-2.1.2.tar.gz | 3 --- w3lib-2.2.0.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 7 deletions(-) delete mode 100644 w3lib-2.1.2.tar.gz create mode 100644 w3lib-2.2.0.tar.gz diff --git a/python-w3lib.changes b/python-w3lib.changes index b509e66..07c98ab 100644 --- a/python-w3lib.changes +++ b/python-w3lib.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jun 10 09:25:26 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-w3lib.spec b/python-w3lib.spec index 355189f..f1feeda 100644 --- a/python-w3lib.spec +++ b/python-w3lib.spec @@ -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 diff --git a/w3lib-2.1.2.tar.gz b/w3lib-2.1.2.tar.gz deleted file mode 100644 index 608daeb..0000000 --- a/w3lib-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed5b74e997eea2abe3c1321f916e344144ee8e9072a6f33463ee8e57f858a4b1 -size 48715 diff --git a/w3lib-2.2.0.tar.gz b/w3lib-2.2.0.tar.gz new file mode 100644 index 0000000..5736124 --- /dev/null +++ b/w3lib-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09a11148a8e25d63bac836bedd4e82fdb3fc77e91889eab07e132c17d023af0d +size 49428