2020-12-15 15:47:06 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-webcolors
|
2023-04-28 10:14:58 +08:00
|
|
|
Version: 1.13
|
2020-12-15 15:47:06 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: A library for working with color names and color values formats defined by HTML and CSS.
|
|
|
|
|
License: BSD 3-Clause
|
|
|
|
|
URL: https://github.com/ubernostrum/webcolors
|
2023-04-28 10:14:58 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/a1/fb/f95560c6a5d4469d9c49e24cf1b5d4d21ffab5608251c6020a965fb7791c/webcolors-1.13.tar.gz
|
|
|
|
|
BuildRequires: python3-pip python3-wheel
|
2020-12-15 15:47:06 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
|
|
``webcolors`` is a module for working with HTML/CSS color definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-webcolors
|
|
|
|
|
Summary: A library for working with color names and color values formats defined by HTML and CSS.
|
|
|
|
|
Provides: python-webcolors
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
%description -n python3-webcolors
|
|
|
|
|
|
|
|
|
|
``webcolors`` is a module for working with HTML/CSS color definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for webcolors
|
|
|
|
|
Provides: python3-webcolors-doc
|
|
|
|
|
%description help
|
|
|
|
|
|
|
|
|
|
``webcolors`` is a module for working with HTML/CSS color definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-09-14 15:53:26 +08:00
|
|
|
%autosetup -n webcolors-%{version}
|
2020-12-15 15:47:06 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-04-28 10:14:58 +08:00
|
|
|
%pyproject_build
|
2020-12-15 15:47:06 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-04-28 10:14:58 +08:00
|
|
|
%pyproject_install webcolors==%{version}
|
2020-12-15 15:47:06 +08:00
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
2023-04-28 10:14:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-webcolors
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
2020-12-15 15:47:06 +08:00
|
|
|
%{_docdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-04-28 10:14:58 +08:00
|
|
|
* Fri Apr 28 2023 wulei <wu_lei@hoperun.com> - 1.13-1
|
|
|
|
|
- Update to 1.13
|
|
|
|
|
|
2022-09-14 15:53:26 +08:00
|
|
|
* Wed Sep 14 2022 Qiao Jijun <qiaojijun@kylinos.cn> - 1.12-1
|
|
|
|
|
- Update to 1.12
|
|
|
|
|
|
2020-12-15 15:47:06 +08:00
|
|
|
* Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org>
|
|
|
|
|
- Package Spec generated
|