source: projects/specs/trunk/p/python-webcolors/python-webcolors-vl.spec @ 12469

Revision 12469, 2.3 KB checked in by tomop, 4 years ago (diff)

python-3.8.5 and related packages.

Line 
1Summary: a Python library for working with color names and color value formats defined by the HTML etc.
2Name: python-webcolors
3Version: 1.11.1
4Release: 1%{?_dist_release}
5Group: programming
6Vendor: Project Vine
7Distribution: Vine Linux
8Packager: iwaim
9
10License: MIT License
11URL: https://pypi.python.org/pypi/webcolors
12Source0: https://pypi.python.org/packages/source/w/webcolors/webcolors-%{version}.tar.gz
13
14BuildArch: noarch
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16
17BuildRequires: python-rpm-macros
18
19BuildRequires: python3-devel
20BuildRequires: python3-setuptools
21BuildRequires: python3-rpm-macros
22
23%description
24A 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
26Support 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
36Summary: a Python library for working with color names and color value formats defined by the HTML etc.
37Group: programming
38Requires: python3
39
40%description -n python3-webcolors
41A 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
43Support 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
Note: See TracBrowser for help on using the repository browser.