!1 init package version 0.9.5 of python-csscompressor

From: @luolu12 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-25 01:33:58 +00:00 committed by Gitee
commit 7740e8479c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 50 additions and 0 deletions

BIN
csscompressor-0.9.5.tar.gz Normal file

Binary file not shown.

50
python-csscompressor.spec Normal file
View File

@ -0,0 +1,50 @@
%global pypi_name csscompressor
%global pypi_version 0.9.5
Name: python-%{pypi_name}
Version: 0.9.5
Release: 1
Summary: A python port of YUI CSS Compressor
License: BSD
URL: http://github.com/sprymix/csscompressor
Source0: https://files.pythonhosted.org/packages/f1/2a/8c3ac3d8bc94e6de8d7ae270bb5bc437b210bb9d6d9e46630c98f4abd20c/csscompressor-0.9.5.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Almost exact port of YUI CSS Compressor.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Almost exact port of YUI CSS Compressor.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}*
%changelog
* Tue Aug 22 2023 luolu12 <luluoc@isoftstone.com> - 0.9.5-1
- Initial package.