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.

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