2024-01-06 11:00:53 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 11:00:53 +01:00
|
|
|
Name: python-cssutils
|
2024-04-01 11:14:48 +02:00
|
|
|
Version: 2.10.2
|
2024-01-06 11:00:54 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:00:53 +01:00
|
|
|
Summary: A Python package to parse and build CSS Cascading Style Sheets.
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 11:00:53 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://cthedot.de/cssutils/
|
2024-01-06 11:00:53 +01:00
|
|
|
Source: https://pypi.debian.net/cssutils/cssutils-%{version}.tar.gz
|
2024-01-06 11:00:53 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:00:54 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 11:00:53 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:00:54 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 11:00:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A Python package to parse and build CSS Cascading Style Sheets. Currently a DOM only, no rendering options.
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n cssutils-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:00:53 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:00:53 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:00:53 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:00:53 +01:00
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
mv %{buildroot}%{_bindir}/csscapture{,-%{?pyappend}}
|
|
|
|
mv %{buildroot}%{_bindir}/csscombine{,-%{?pyappend}}
|
|
|
|
mv %{buildroot}%{_bindir}/cssparse{,-%{?pyappend}}
|
|
|
|
%endif
|
2024-01-06 11:00:53 +01:00
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 11:00:53 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:00:53 +01:00
|
|
|
%{_bindir}/csscapture*
|
|
|
|
%{_bindir}/csscombine*
|
|
|
|
%{_bindir}/cssparse*
|
2024-01-06 11:00:53 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
|
|
|
%dir %{python_sitelib}/encutils
|
|
|
|
%{python_sitelib}/encutils/*
|
2024-01-06 11:00:53 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-04-01 11:14:48 +02:00
|
|
|
* Mon Apr 01 2024 Automatic Build System <autodist@openmamba.org> 2.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-01 00:07:27 +02:00
|
|
|
* Sun Mar 31 2024 Automatic Build System <autodist@openmamba.org> 2.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:00:54 +01:00
|
|
|
* Fri Oct 13 2023 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:00:54 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.7.1-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
* Tue Jun 13 2023 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
* Tue Jan 11 2022 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
* Sat Mar 18 2017 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
* Thu Dec 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- update to 1.0.1
|
|
|
|
|
2024-01-06 11:00:53 +01:00
|
|
|
* Mon Mar 03 2014 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10b1-2mamba
|
|
|
|
- remove conflicting tests files
|
|
|
|
- renamed to python-cssutils
|
|
|
|
- added build requirements
|
|
|
|
|
|
|
|
* Wed Nov 06 2013 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.10b1-1mamba
|
|
|
|
- update to 0.9.10b1
|
|
|
|
|
|
|
|
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Mon Dec 27 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.7-1mamba
|
|
|
|
- package created by autospec
|