diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-webcolors.spec | 42 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 27 insertions, 18 deletions
@@ -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 <https://webcolors.readthedocs.io/>`_. %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 <https://webcolors.readthedocs.io/>`_. @@ -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 <https://webcolors.readthedocs.io/>`_. %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 <Python_Bot@openeuler.org> - 1.12-1 +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.13-1 - Package Spec generated @@ -1 +1 @@ -66d88b014c1f3f9b791acc1f7d43fc5f webcolors-1.12.tar.gz +c9be30c5b0cf1cad32e4cbacbb2229e9 webcolors-1.13.tar.gz |