|
|
4322c5d |
Name: python-css-parser
|
|
|
741d70b |
Version: 1.0.6
|
|
|
a8d39aa |
Release: 3%{?dist}
|
|
|
4322c5d |
Summary: Parse and build Cascading Style Sheets
|
|
|
4322c5d |
|
|
|
883423e |
%global forgeurl https://github.com/ebook-utils/css-parser
|
|
|
883423e |
%forgemeta
|
|
|
4322c5d |
|
|
|
883423e |
License: LGPLv3
|
|
|
883423e |
URL: %{forgeurl}
|
|
|
883423e |
Source0: %{forgesource}
|
|
|
86cace9 |
|
|
|
73c304e |
Patch0: 0001-test-relax-assertRaisesMsg-to-match-longer-strings.patch
|
|
|
73c304e |
|
|
|
4322c5d |
BuildArch: noarch
|
|
|
4322c5d |
BuildRequires: python3-devel
|
|
|
a04180b |
BuildRequires: python3-setuptools
|
|
|
4322c5d |
# for tests
|
|
|
4322c5d |
BuildRequires: python3-chardet
|
|
|
4322c5d |
|
|
|
4322c5d |
%global _description %{expand:
|
|
|
4322c5d |
A fork of the cssutils project based on version 1.0.2. This fork includes
|
|
|
4322c5d |
general bug fixes and extensions specific to editing and working with ebooks.}
|
|
|
4322c5d |
|
|
|
4322c5d |
%description %_description
|
|
|
4322c5d |
|
|
|
4322c5d |
%package -n python3-css-parser
|
|
|
4322c5d |
Summary: %{summary}
|
|
|
4322c5d |
%{?python_provide:%python_provide python3-css-parser}
|
|
|
4322c5d |
|
|
|
4322c5d |
%description -n python3-css-parser %_description
|
|
|
4322c5d |
|
|
|
4322c5d |
%prep
|
|
|
73c304e |
%forgeautosetup -p1
|
|
|
4322c5d |
|
|
|
4322c5d |
%build
|
|
|
4322c5d |
sed -r -i '1{/.usr.bin.env python/d;}' src/css_parser/*py src/css_parser/*/*py
|
|
|
4322c5d |
|
|
|
4322c5d |
%py3_build
|
|
|
4322c5d |
|
|
|
4322c5d |
%install
|
|
|
4322c5d |
%py3_install
|
|
|
4322c5d |
|
|
|
4322c5d |
%check
|
|
|
4322c5d |
%{__python3} run_tests.py
|
|
|
4322c5d |
|
|
|
4322c5d |
%files -n python3-css-parser
|
|
|
4322c5d |
%{python3_sitelib}/css_parser/
|
|
|
4322c5d |
%{python3_sitelib}/css_parser-%{version}-py%{python3_version}.egg-info/
|
|
|
4322c5d |
%doc README.md
|
|
|
4322c5d |
%license COPYING COPYING.LESSER
|
|
|
4322c5d |
|
|
|
4322c5d |
%changelog
|
|
|
a8d39aa |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-3
|
|
|
a8d39aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a8d39aa |
|
|
|
0296e95 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.6-2
|
|
|
0296e95 |
- Rebuilt for Python 3.10
|
|
|
0296e95 |
|
|
|
ccb81fb |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
|
|
|
ccb81fb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ccb81fb |
|
|
|
3f68083 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-8
|
|
|
3f68083 |
- Rebuilt for Python 3.9
|
|
|
3f68083 |
|
|
|
883423e |
* Tue Mar 17 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-7
|
|
|
883423e |
- Switch to version of patches merged by upstream (#1792929)
|
|
|
883423e |
|
|
|
5774c2a |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
|
|
|
5774c2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5774c2a |
|
|
|
082d2d4 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-5
|
|
|
082d2d4 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
082d2d4 |
|
|
|
4605ed3 |
* Thu Aug 22 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-4
|
|
|
4605ed3 |
- Subpackage python2-css-parser has been removed (#1741018)
|
|
|
4605ed3 |
|
|
|
e0a873a |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-3
|
|
|
e0a873a |
- Rebuilt for Python 3.8
|
|
|
e0a873a |
|
|
|
3121caa |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
|
|
|
3121caa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3121caa |
|
|
|
4322c5d |
* Tue Jun 11 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-1
|
|
|
4322c5d |
- Initial packaging
|