From e883ddd1d8202f792986c06e8f1e0be41c50c4c2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 06:35:16 +0000 Subject: automatic import of python-webcolors --- .gitignore | 1 + python-webcolors.spec | 42 +++++++++++++++++++++++++----------------- sources | 2 +- 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 0b30a1c..5da16cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /webcolors-1.12.tar.gz +/webcolors-1.13.tar.gz diff --git a/python-webcolors.spec b/python-webcolors.spec index 2aa56ad..8df2bbe 100644 --- a/python-webcolors.spec +++ b/python-webcolors.spec @@ -1,13 +1,21 @@ %global _empty_manifest_terminate_build 0 Name: python-webcolors -Version: 1.12 +Version: 1.13 Release: 1 -Summary: A library for working with color names and color values formats defined by HTML and CSS. -License: BSD 3-Clause -URL: https://github.com/ubernostrum/webcolors -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5f/f5/004dabd8f86abe0e770df4bcde8baf658709d3ebdd4d8fa835f6680012bb/webcolors-1.12.tar.gz +Summary: A library for working with the color formats defined by HTML and CSS. +License: BSD-3-Clause +URL: https://pypi.org/project/webcolors/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a1/fb/f95560c6a5d4469d9c49e24cf1b5d4d21ffab5608251c6020a965fb7791c/webcolors-1.13.tar.gz BuildArch: noarch +Requires: python3-furo +Requires: python3-sphinx +Requires: python3-sphinx-copybutton +Requires: python3-sphinx-inline-tabs +Requires: python3-sphinx-notfound-page +Requires: python3-sphinxext-opengraph +Requires: python3-pytest +Requires: python3-pytest-cov %description .. -*-restructuredtext-*- @@ -37,8 +45,8 @@ For example: .. code-block:: python >>> import webcolors - >>> webcolors.hex_to_name(u'#daa520') - u'goldenrod' + >>> webcolors.hex_to_name("#daa520") + 'goldenrod' Implementations are also provided for the HTML5 color parsing and serialization algorithms. For example, parsing the infamous @@ -47,14 +55,14 @@ serialization algorithms. For example, parsing the infamous .. code-block:: python >>> import webcolors - >>> webcolors.html5_parse_legacy_color(u'chucknorris') + >>> webcolors.html5_parse_legacy_color("chucknorris") HTML5SimpleColor(red=192, green=0, blue=0) Full documentation is `available online `_. %package -n python3-webcolors -Summary: A library for working with color names and color values formats defined by HTML and CSS. +Summary: A library for working with the color formats defined by HTML and CSS. Provides: python-webcolors BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -87,8 +95,8 @@ For example: .. code-block:: python >>> import webcolors - >>> webcolors.hex_to_name(u'#daa520') - u'goldenrod' + >>> webcolors.hex_to_name("#daa520") + 'goldenrod' Implementations are also provided for the HTML5 color parsing and serialization algorithms. For example, parsing the infamous @@ -97,7 +105,7 @@ serialization algorithms. For example, parsing the infamous .. code-block:: python >>> import webcolors - >>> webcolors.html5_parse_legacy_color(u'chucknorris') + >>> webcolors.html5_parse_legacy_color("chucknorris") HTML5SimpleColor(red=192, green=0, blue=0) Full documentation is `available online `_. @@ -134,8 +142,8 @@ For example: .. code-block:: python >>> import webcolors - >>> webcolors.hex_to_name(u'#daa520') - u'goldenrod' + >>> webcolors.hex_to_name("#daa520") + 'goldenrod' Implementations are also provided for the HTML5 color parsing and serialization algorithms. For example, parsing the infamous @@ -144,14 +152,14 @@ serialization algorithms. For example, parsing the infamous .. code-block:: python >>> import webcolors - >>> webcolors.html5_parse_legacy_color(u'chucknorris') + >>> webcolors.html5_parse_legacy_color("chucknorris") HTML5SimpleColor(red=192, green=0, blue=0) Full documentation is `available online `_. %prep -%autosetup -n webcolors-1.12 +%autosetup -n webcolors-1.13 %build %py3_build @@ -191,5 +199,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Thu Mar 09 2023 Python_Bot - 1.12-1 +* Mon Apr 10 2023 Python_Bot - 1.13-1 - Package Spec generated diff --git a/sources b/sources index 84622cd..99db1bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -66d88b014c1f3f9b791acc1f7d43fc5f webcolors-1.12.tar.gz +c9be30c5b0cf1cad32e4cbacbb2229e9 webcolors-1.13.tar.gz -- cgit v1.2.3