1 | Summary: a Python library for working with color names and color value formats defined by the HTML etc. |
---|
2 | Name: python-webcolors |
---|
3 | Version: 1.11.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Group: programming |
---|
6 | Vendor: Project Vine |
---|
7 | Distribution: Vine Linux |
---|
8 | Packager: iwaim |
---|
9 | |
---|
10 | License: MIT License |
---|
11 | URL: https://pypi.python.org/pypi/webcolors |
---|
12 | Source0: https://pypi.python.org/packages/source/w/webcolors/webcolors-%{version}.tar.gz |
---|
13 | |
---|
14 | BuildArch: noarch |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
16 | |
---|
17 | BuildRequires: python-rpm-macros |
---|
18 | |
---|
19 | BuildRequires: python3-devel |
---|
20 | BuildRequires: python3-setuptools |
---|
21 | BuildRequires: python3-rpm-macros |
---|
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 | |
---|
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. |
---|
37 | Group: programming |
---|
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 | |
---|
52 | %prep |
---|
53 | %setup -q -n webcolors-%{version} |
---|
54 | |
---|
55 | |
---|
56 | %build |
---|
57 | %py3_build |
---|
58 | |
---|
59 | |
---|
60 | %install |
---|
61 | %__rm -rf %{buildroot} |
---|
62 | %py3_install |
---|
63 | |
---|
64 | |
---|
65 | %clean |
---|
66 | %__rm -rf %{buildroot} |
---|
67 | |
---|
68 | |
---|
69 | %files -n python3-webcolors |
---|
70 | %defattr(-,root,root,-) |
---|
71 | %license LICENSE |
---|
72 | %doc README |
---|
73 | %{python3_sitelib}/webcolors* |
---|
74 | %{python3_sitelib}/__pycache__/webcolors* |
---|
75 | |
---|
76 | |
---|
77 | %changelog |
---|
78 | * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11.1-1 |
---|
79 | - new upstream release. |
---|
80 | - dropped python2. |
---|
81 | |
---|
82 | * Thu Nov 21 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10-1 |
---|
83 | - new upstream release. |
---|
84 | - added python3 support. |
---|
85 | |
---|
86 | * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 1.4-1 |
---|
87 | - initial build for Vine Linux |
---|