[7587] | 1 | Summary: a Python library for working with color names and color value formats defined by the HTML etc. |
---|
| 2 | Name: python-webcolors |
---|
[12469] | 3 | Version: 1.11.1 |
---|
[12316] | 4 | Release: 1%{?_dist_release} |
---|
[12469] | 5 | Group: programming |
---|
| 6 | Vendor: Project Vine |
---|
| 7 | Distribution: Vine Linux |
---|
| 8 | Packager: iwaim |
---|
| 9 | |
---|
[7587] | 10 | License: MIT License |
---|
| 11 | URL: https://pypi.python.org/pypi/webcolors |
---|
[12316] | 12 | Source0: https://pypi.python.org/packages/source/w/webcolors/webcolors-%{version}.tar.gz |
---|
[12469] | 13 | |
---|
| 14 | BuildArch: noarch |
---|
[7587] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
[12469] | 16 | |
---|
[12316] | 17 | BuildRequires: python-rpm-macros |
---|
[7587] | 18 | |
---|
[12469] | 19 | BuildRequires: python3-devel |
---|
| 20 | BuildRequires: python3-setuptools |
---|
| 21 | BuildRequires: python3-rpm-macros |
---|
[7587] | 22 | |
---|
| 23 | %description |
---|
| 24 | A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web. |
---|
| 25 | |
---|
| 26 | Support is included for the following formats (RGB colorspace only; conversion to/from HSL can be handled by the colorsys module in the Python standard library): |
---|
| 27 | |
---|
| 28 | - Specification-defined color names |
---|
| 29 | - Six-digit hexadecimal |
---|
| 30 | - Three-digit hexadecimal |
---|
| 31 | - Integer rgb() triplet |
---|
| 32 | - Percentage rgb() triplet |
---|
| 33 | |
---|
[12316] | 34 | |
---|
| 35 | %package -n python3-webcolors |
---|
| 36 | Summary: a Python library for working with color names and color value formats defined by the HTML etc. |
---|
[12469] | 37 | Group: programming |
---|
[12316] | 38 | Requires: python3 |
---|
| 39 | |
---|
| 40 | %description -n python3-webcolors |
---|
| 41 | A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web. |
---|
| 42 | |
---|
| 43 | Support is included for the following formats (RGB colorspace only; conversion to/from HSL can be handled by the colorsys module in the Python standard library): |
---|
| 44 | |
---|
| 45 | - Specification-defined color names |
---|
| 46 | - Six-digit hexadecimal |
---|
| 47 | - Three-digit hexadecimal |
---|
| 48 | - Integer rgb() triplet |
---|
| 49 | - Percentage rgb() triplet |
---|
| 50 | |
---|
| 51 | |
---|
[7587] | 52 | %prep |
---|
[12316] | 53 | %setup -q -n webcolors-%{version} |
---|
[7587] | 54 | |
---|
[12469] | 55 | |
---|
[7587] | 56 | %build |
---|
[12316] | 57 | %py3_build |
---|
[7587] | 58 | |
---|
[12469] | 59 | |
---|
[7587] | 60 | %install |
---|
| 61 | %__rm -rf %{buildroot} |
---|
[12316] | 62 | %py3_install |
---|
[7587] | 63 | |
---|
[12469] | 64 | |
---|
[7587] | 65 | %clean |
---|
| 66 | %__rm -rf %{buildroot} |
---|
| 67 | |
---|
| 68 | |
---|
[12316] | 69 | %files -n python3-webcolors |
---|
| 70 | %defattr(-,root,root,-) |
---|
| 71 | %license LICENSE |
---|
| 72 | %doc README |
---|
| 73 | %{python3_sitelib}/webcolors* |
---|
| 74 | %{python3_sitelib}/__pycache__/webcolors* |
---|
[12469] | 75 | |
---|
[12316] | 76 | |
---|
[7587] | 77 | %changelog |
---|
[12469] | 78 | * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11.1-1 |
---|
| 79 | - new upstream release. |
---|
| 80 | - dropped python2. |
---|
| 81 | |
---|
[12316] | 82 | * Thu Nov 21 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10-1 |
---|
| 83 | - new upstream release. |
---|
| 84 | - added python3 support. |
---|
| 85 | |
---|
[7587] | 86 | * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 1.4-1 |
---|
| 87 | - initial build for Vine Linux |
---|