|
|
3dc5755 |
%global srcname html5lib
|
|
|
3dc5755 |
Name: python-%{srcname}
|
|
|
3dc5755 |
Summary: A python based HTML parser/tokenizer
|
|
|
6e51503 |
Version: 1.1
|
|
|
98d1d09 |
Release: 3%{?dist}
|
|
|
3dc5755 |
Epoch: 1
|
|
|
3dc5755 |
License: MIT
|
|
|
3dc5755 |
URL: https://github.com/html5lib/html5lib-python
|
|
|
3dc5755 |
Source0: %pypi_source
|
|
|
05a4c7d |
|
|
|
98d1d09 |
# Fix compatibility with pytest 6
|
|
|
98d1d09 |
Patch1: %{url}/pull/506.patch
|
|
|
98d1d09 |
|
|
|
3dc5755 |
BuildArch: noarch
|
|
|
3dc5755 |
|
|
|
3dc5755 |
%?python_enable_dependency_generator
|
|
Orion Poplawski |
5580b93 |
|
|
Orion Poplawski |
5580b93 |
%description
|
|
Orion Poplawski |
5580b93 |
A python based HTML parser/tokenizer based on the WHATWG HTML5
|
|
Orion Poplawski |
5580b93 |
specification for maximum compatibility with major desktop web browsers.
|
|
Orion Poplawski |
5580b93 |
|
|
Orion Poplawski |
5580b93 |
|
|
|
3dc5755 |
%package -n python3-%{srcname}
|
|
|
3dc5755 |
Summary: %summary
|
|
|
3dc5755 |
BuildRequires: python3-devel
|
|
|
3dc5755 |
BuildRequires: python3-setuptools
|
|
|
3dc5755 |
|
|
|
3dc5755 |
# Test deps
|
|
|
dcc846e |
BuildRequires: python3dist(mock)
|
|
|
6e51503 |
BuildRequires: python3dist(pytest)
|
|
|
dcc846e |
BuildRequires: python3dist(pytest-expect)
|
|
|
dcc846e |
BuildRequires: python3dist(six)
|
|
|
dcc846e |
BuildRequires: python3dist(webencodings)
|
|
|
3dc5755 |
|
|
|
3dc5755 |
# Optional test deps:
|
|
|
dcc846e |
BuildRequires: python3dist(chardet)
|
|
|
6e51503 |
BuildRequires: python3dist(genshi)
|
|
|
dcc846e |
BuildRequires: python3dist(lxml)
|
|
|
3dc5755 |
|
|
|
3dc5755 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
5656997 |
|
|
|
3dc5755 |
%description -n python3-%{srcname}
|
|
Praveen |
95e0a2a |
A python based HTML parser/tokenizer based on the WHATWG HTML5
|
|
Praveen |
95e0a2a |
specification for maximum compatibility with major desktop web browsers.
|
|
Praveen |
95e0a2a |
|
|
Praveen |
95e0a2a |
|
|
Praveen |
55b8fb6 |
%prep
|
|
|
05a4c7d |
%autosetup -p1 -n %{srcname}-%{version}
|
|
Praveen |
95e0a2a |
|
|
Praveen |
55b8fb6 |
%build
|
|
Orion Poplawski |
5580b93 |
%py3_build
|
|
Praveen |
95e0a2a |
|
|
Praveen |
95e0a2a |
|
|
Praveen |
55b8fb6 |
%install
|
|
Orion Poplawski |
5580b93 |
%py3_install
|
|
Praveen |
95e0a2a |
|
|
Praveen |
55b8fb6 |
|
|
|
3dc5755 |
%check
|
|
|
6e51503 |
%pytest
|
|
|
4bf006c |
|
|
Praveen |
55b8fb6 |
|
|
|
3dc5755 |
%files -n python3-%{srcname}
|
|
Orion Poplawski |
5580b93 |
%license LICENSE
|
|
Orion Poplawski |
5580b93 |
%doc CHANGES.rst README.rst
|
|
|
3dc5755 |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
3dc5755 |
%{python3_sitelib}/%{srcname}/
|
|
Praveen |
95e0a2a |
|
|
Praveen |
95e0a2a |
|
|
Praveen |
55b8fb6 |
%changelog
|
|
|
98d1d09 |
* Mon Aug 10 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.1-3
|
|
|
98d1d09 |
- Fix compatibility with pytest 6
|
|
|
98d1d09 |
|
|
|
5b044c9 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-2
|
|
|
5b044c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5b044c9 |
|
|
|
6e51503 |
* Wed Jul 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 1:1.1-1
|
|
|
6e51503 |
- Update to 1.1 (#1849837)
|
|
|
6e51503 |
- Use pytest 5
|
|
|
6e51503 |
|
|
|
dcc846e |
* Sat May 30 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-10
|
|
|
dcc846e |
- Use pytest 4
|
|
|
dcc846e |
|
|
|
bc2d431 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-9
|
|
|
bc2d431 |
- Rebuilt for Python 3.9
|
|
|
bc2d431 |
|
|
|
b28d418 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.1-8
|
|
|
b28d418 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b28d418 |
|
|
|
4f49aca |
* Mon Sep 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-7
|
|
|
4f49aca |
- Drop python2-html5lib
|
|
|
4f49aca |
|
|
|
63d8f6f |
* Mon Aug 26 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-6
|
|
|
63d8f6f |
- Reduce Python 2 build dependencies
|
|
|
63d8f6f |
|
|
|
7eca60e |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-5
|
|
|
7eca60e |
- Rebuilt for Python 3.8
|
|
|
7eca60e |
|
|
|
67d7f86 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.1-4
|
|
|
67d7f86 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
67d7f86 |
|
|
|
9171f31 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.1-3
|
|
|
9171f31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
9171f31 |
|
|
|
05a4c7d |
* Mon Sep 24 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-2
|
|
|
05a4c7d |
- Fix dire deprecation warnings (#1627071)
|
|
|
05a4c7d |
|
|
|
3dc5755 |
* Mon Aug 20 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-1
|
|
|
3dc5755 |
- Update to 1.0.1 (#1584176)
|
|
|
3dc5755 |
|
|
|
3e88686 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.999999999-8
|
|
|
3e88686 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3e88686 |
|
|
|
ba72516 |
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1:0.999999999-7
|
|
|
ba72516 |
- Rebuilt for Python 3.7
|
|
|
ba72516 |
|
|
|
327fc13 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1:0.999999999-6
|
|
|
327fc13 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
327fc13 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
327fc13 |
|
|
|
a6b47af |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.999999999-5
|
|
|
a6b47af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a6b47af |
|
|
|
3281e2d |
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.999999999-4
|
|
|
3281e2d |
- Cleanup spec file conditionals
|
|
|
3281e2d |
|
|
|
1f45324 |
* Thu Jul 27 2017 Kevin Fenzi <kevin@scrye.com> - 0.999999999-3
|
|
|
1f45324 |
- Add Requires on python-webencodings. Fixes bug #1474883
|
|
|
1f45324 |
|
|
|
d238010 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.999999999-2
|
|
|
d238010 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d238010 |
|
|
|
d4e91d4 |
* Fri Jul 21 2017 Kevin Fenzi <kevin@scrye.com> - 1:0.999999999-1
|
|
|
d4e91d4 |
- Update to 0.999999999. Fixes bug #1431378 and #1305828
|
|
|
d4e91d4 |
- Security fix for CVE-2016-9909, CVE-2016-9910. Fixes bug #1402706 and #1402707
|
|
|
d4e91d4 |
|
|
|
989dad4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.999-13
|
|
|
989dad4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
989dad4 |
|
|
|
86bdc60 |
* Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1:0.999-12
|
|
|
86bdc60 |
- Correct usage of the %%python_provide macro
|
|
|
86bdc60 |
|
|
Orion Poplawski |
5580b93 |
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1:0.999-11
|
|
Orion Poplawski |
5580b93 |
- Ship python2-html5lib
|
|
Orion Poplawski |
5580b93 |
- Modernize spec
|
|
Orion Poplawski |
5580b93 |
- Use %%license
|
|
Orion Poplawski |
5580b93 |
|
|
|
bf3e7d8 |
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1:0.999-10
|
|
|
bf3e7d8 |
- Rebuild for Python 3.6
|
|
|
bf3e7d8 |
- Fix invalid escape sequences
|
|
|
bf3e7d8 |
|
|
|
5140d18 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.999-9
|
|
|
5140d18 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
5140d18 |
|
|
|
bb05b33 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.999-8
|
|
|
bb05b33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
bb05b33 |
|
|
Robert Kuska |
9aa598d |
* Tue Nov 03 2015 Robert Kuska <rkuska@redhat.com> - 1:0.999-7
|
|
Robert Kuska |
9aa598d |
- Rebuilt for Python3.5 rebuild
|
|
Robert Kuska |
9aa598d |
|
|
|
d204014 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.999-6
|
|
|
d204014 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d204014 |
|
|
|
454acd3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.999-5
|
|
|
454acd3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
454acd3 |
|
|
|
4cc39b6 |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1:0.999-4
|
|
|
4cc39b6 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
4cc39b6 |
|
|
|
5656997 |
* Fri May 09 2014 Dennis Gilmore <dennis@ausil.us> - 0.999-3
|
|
|
5656997 |
- move python3 Requires and BuildRequires into the python3 sub-package
|
|
|
5656997 |
|
|
|
92a09b1 |
* Wed Mar 12 2014 Dan Scott <dan@coffeecode.net> - 0.999-2
|
|
|
92a09b1 |
- "six" module is a runtime requirement
|
|
|
92a09b1 |
|
|
|
3e2128f |
* Sat Mar 01 2014 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> 0.999-1
|
|
|
3e2128f |
- Added epoch information
|
|
|
3e2128f |
|
|
|
3e2128f |
* Wed Feb 26 2014 Dan Scott <dan@coffeecode.net> - 0.999-1
|
|
|
3e2128f |
- Updated for new version
|
|
|
3e2128f |
- Fixed bogus dates in changelog
|
|
|
3e2128f |
|
|
|
17f85b4 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0b2-3
|
|
|
17f85b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
17f85b4 |
|
|
|
3e2128f |
* Mon Jul 8 2013 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 1.0b2-2
|
|
Praveen Kumar |
2d6f014 |
- Updated python3 support which accidently removed from previous revision.
|
|
Praveen Kumar |
2d6f014 |
|
|
|
3e2128f |
* Mon Jul 8 2013 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 1.0b2-1
|
|
Praveen Kumar |
f2f07e6 |
- Updated new source
|
|
Praveen Kumar |
f2f07e6 |
|
|
|
81c110b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-4
|
|
|
81c110b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
81c110b |
|
|
|
e48666b |
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.95-3
|
|
|
e48666b |
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
e48666b |
|
|
|
600774a |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-2
|
|
|
600774a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
600774a |
|
|
Praveen |
95e0a2a |
* Tue Feb 21 2012 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 0.95-1
|
|
Praveen |
95e0a2a |
- Added python3 spec and updated new source
|
|
|
54eb17a |
|
|
Praveen |
55b8fb6 |
* Mon Jul 18 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 0.90-1
|
|
Praveen |
55b8fb6 |
- Initial spec
|