Blob Blame History Raw
Name:           python-css-parser
Version:        1.0.7
Release:        %autorelease
Summary:        Parse and build Cascading Style Sheets

%global forgeurl

License:        LGPLv3
URL:            %{forgeurl}
Source0:        %{forgesource}


BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
# for tests
BuildRequires:  python3-chardet

%global _description %{expand:
A fork of the cssutils project based on version 1.0.2. This fork includes
general bug fixes and extensions specific to editing and working with ebooks.}

%description %_description

%package -n python3-css-parser
Summary:        %{summary}
%{?python_provide:%python_provide python3-css-parser}

%description -n python3-css-parser %_description

%forgeautosetup -p1

sed -r -i '1{/.usr.bin.env python/d;}' src/css_parser/*py src/css_parser/*/*py




%files -n python3-css-parser