python-webcolors-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. License: MIT License
  10. URL: https://pypi.python.org/pypi/webcolors
  11. Source0: https://pypi.python.org/packages/source/w/webcolors/webcolors-%{version}.tar.gz
  12. BuildArch: noarch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  14. BuildRequires: python-rpm-macros
  15. BuildRequires: python3-devel
  16. BuildRequires: python3-setuptools
  17. BuildRequires: python3-rpm-macros
  18. %description
  19. 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.
  20. 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):
  21. - Specification-defined color names
  22. - Six-digit hexadecimal
  23. - Three-digit hexadecimal
  24. - Integer rgb() triplet
  25. - Percentage rgb() triplet
  26. %package -n python3-webcolors
  27. Summary: a Python library for working with color names and color value formats defined by the HTML etc.
  28. Group: programming
  29. Requires: python3
  30. %description -n python3-webcolors
  31. 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.
  32. 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):
  33. - Specification-defined color names
  34. - Six-digit hexadecimal
  35. - Three-digit hexadecimal
  36. - Integer rgb() triplet
  37. - Percentage rgb() triplet
  38. %prep
  39. %setup -q -n webcolors-%{version}
  40. %build
  41. %py3_build
  42. %install
  43. %__rm -rf %{buildroot}
  44. %py3_install
  45. %clean
  46. %__rm -rf %{buildroot}
  47. %files -n python3-webcolors
  48. %defattr(-,root,root,-)
  49. %license LICENSE
  50. %doc README
  51. %{python3_sitelib}/webcolors*
  52. %{python3_sitelib}/__pycache__/webcolors*
  53. %changelog
  54. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11.1-1
  55. - new upstream release.
  56. - dropped python2.
  57. * Thu Nov 21 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10-1
  58. - new upstream release.
  59. - added python3 support.
  60. * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 1.4-1
  61. - initial build for Vine Linux