forked from pool/python-tinycss2
Accepting request 1036647 from home:bnavigator:branches:devel:languages:python
- Clean specfile - Requires Python >= 3.7, prevent failing build for 15.x targets - Update Summary and Description OBS-URL: https://build.opensuse.org/request/show/1036647 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tinycss2?expand=0&rev=23
This commit is contained in:
parent
a92d349939
commit
ac7695ce51
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 17 13:30:44 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Clean specfile
|
||||||
|
- Requires Python >= 3.7, prevent failing build for 15.x targets
|
||||||
|
- Update Summary and Description
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 29 16:06:46 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Sat Oct 29 16:06:46 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
@ -16,16 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-tinycss2
|
Name: python-tinycss2
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Low-level CSS parser for Python
|
Summary: A tiny CSS parser
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/Kozea/tinycss2
|
URL: https://github.com/Kozea/tinycss2
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tinycss2/tinycss2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tinycss2/tinycss2-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module flit-core}
|
BuildRequires: %{python_module flit-core}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -40,12 +39,16 @@ BuildArch: noarch
|
|||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TinyCSS2 is a rewrite of tinycss with a simpler API, based on the
|
tinycss2 is a low-level CSS parser and generator written in Python:
|
||||||
more recent CSS Syntax Level 3 specification.
|
it can parse strings, return objects representing tokens and blocks,
|
||||||
|
and generate CSS strings corresponding to these objects.
|
||||||
|
|
||||||
|
Based on the CSS Syntax Level 3 specification, tinycss2 knows the
|
||||||
|
grammar of CSS but doesn't know specific rules, properties or values
|
||||||
|
supported in various CSS modules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tinycss2-%{version}
|
%setup -q -n tinycss2-%{version}
|
||||||
sed -i 's/--isort//;s/--flake8//;s/--cov --no-cov-on-fail//' pyproject.toml
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
Loading…
Reference in New Issue
Block a user