From a291ff1bca6e6ba7e0d05aff61f584aaa9a0e67639440cedee95ddd1b7a13eba Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 May 2023 09:21:30 +0000 Subject: [PATCH] - update to 1.13: * Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11. The codebase was significantly reorganized and modernized. Public API is unchanged. Imports should continue to be directly from the top-level ``webcolors`` module; attempting to import from submodules is not supported. * Now packaging declaratively via ``pyproject.toml`` with `PEP 517 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webcolors?expand=0&rev=20 --- python-webcolors.changes | 12 ++++++++++++ python-webcolors.spec | 9 +++++---- webcolors-1.12.tar.gz | 3 --- webcolors-1.13.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 webcolors-1.12.tar.gz create mode 100644 webcolors-1.13.tar.gz diff --git a/python-webcolors.changes b/python-webcolors.changes index dc5d163..66f728b 100644 --- a/python-webcolors.changes +++ b/python-webcolors.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed May 3 09:20:57 UTC 2023 - Dirk Müller + +- update to 1.13: + * Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and + 3.11. The codebase was significantly reorganized and modernized. + Public API is unchanged. Imports should continue to be directly + from the top-level ``webcolors`` module; attempting to import + from submodules is not supported. + * Now packaging declaratively via ``pyproject.toml`` with `PEP + 517 + ------------------------------------------------------------------- Fri Apr 21 12:38:42 UTC 2023 - Dirk Müller diff --git a/python-webcolors.spec b/python-webcolors.spec index b5a0e17..bdc8288 100644 --- a/python-webcolors.spec +++ b/python-webcolors.spec @@ -20,14 +20,15 @@ %global skip_python2 1 %{?sle15_python_module_pythons} Name: python-webcolors -Version: 1.12 +Version: 1.13 Release: 0 Summary: Support for color names and value formats defined by the HTML License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/ubernostrum/webcolors Source: https://files.pythonhosted.org/packages/source/w/webcolors/webcolors-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # test requirements @@ -58,10 +59,10 @@ Full documentation is `available online `_. %setup -q -n webcolors-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check diff --git a/webcolors-1.12.tar.gz b/webcolors-1.12.tar.gz deleted file mode 100644 index 1a1236c..0000000 --- a/webcolors-1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16d043d3a08fd6a1b1b7e3e9e62640d09790dce80d2bdd4792a175b35fe794a9 -size 38112 diff --git a/webcolors-1.13.tar.gz b/webcolors-1.13.tar.gz new file mode 100644 index 0000000..40e1356 --- /dev/null +++ b/webcolors-1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a +size 41152