Blame SPECS/python-html5lib.spec

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