Blob Blame History Raw
%global pypi_name rcssmin
%global desc %{expand: \
RCSSmin is a CSS minifier.

The minifier is based on the semantics of the YUI compressor, which itself
is based on the rule list by Isaac Schlueter.

This module is a re-implementation aiming for speed instead of maximum
compression, so it can be used at runtime (rather than during a preprocessing

Name:		python-%{pypi_name}
Version:	1.1.1
Release:	%autorelease
Summary:	CSS Minifier

License:	Apache-2.0
Source0:	%{pypi_source}

BuildRequires:	gcc
BuildRequires:	python3-devel
BuildRequires:	python3-pytest


%package -n python3-%{pypi_name}
Summary:	CSS Minifier

%description -n python3-%{pypi_name}

%autosetup -n %{pypi_name}-%{version}

# strip bang path from
sed -i '1d'



%pyproject_save_files %{pypi_name}

%pytest -v

%files -n python3-%{pypi_name} -f %{pyproject_files}