diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3cc9db8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/0.999999999.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/python-html5lib.spec b/python-html5lib.spec new file mode 100644 index 0000000..251ec68 --- /dev/null +++ b/python-html5lib.spec @@ -0,0 +1,147 @@ +%global modulename html5lib + +Name: python-%{modulename} +Summary: A python based HTML parser/tokenizer +Version: 0.999999999 +Release: 6%{?dist} +Epoch: 1 +Group: Development/Libraries +License: MIT +URL: https://pypi.python.org/pypi/%{modulename} +Source0: https://github.com/html5lib/html5lib-python/archive/%{version}.tar.gz +BuildArch: noarch + +%description +A python based HTML parser/tokenizer based on the WHATWG HTML5 +specification for maximum compatibility with major desktop web browsers. + +%package -n python3-%{modulename} +Summary: A python based HTML parser/tokenizer +Group: Development/Libraries + +Requires: python3-six +Requires: python3-webencodings +BuildRequires: python3-devel +BuildRequires: python3-setuptools +#BuildRequires: python3-nose +#BuildRequires: python3-pytest +BuildRequires: python3-six +BuildRequires: python3-webencodings +%{?python_provide:%python_provide python3-%{modulename}} + +%description -n python3-%{modulename} +A python based HTML parser/tokenizer based on the WHATWG HTML5 +specification for maximum compatibility with major desktop web browsers. + + +%prep +%autosetup -n %{modulename}-python-%{version} + +%build +%py3_build + + +%install +%py3_install + +%check +# Tests no longer run, see https://bugzilla.redhat.com/show_bug.cgi?id=1593231 +#{__python3} -m pytest + +%files -n python3-%{modulename} +%license LICENSE +%doc CHANGES.rst README.rst +%{python3_sitelib}/%{modulename}-*.egg-info +%{python3_sitelib}/%{modulename} + + +%changelog +* Tue Jun 19 2018 Petr Viktorin - 1:0.999999999-6 +- Drop the python2 subpackage + https://bugzilla.redhat.com/show_bug.cgi?id=1590670 + +* Fri Feb 09 2018 Fedora Release Engineering - 1:0.999999999-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Sep 29 2017 Troy Dawson - 0.999999999-4 +- Cleanup spec file conditionals + +* Thu Jul 27 2017 Kevin Fenzi - 0.999999999-3 +- Add Requires on python-webencodings. Fixes bug #1474883 + +* Thu Jul 27 2017 Fedora Release Engineering - 1:0.999999999-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Jul 21 2017 Kevin Fenzi - 1:0.999999999-1 +- Update to 0.999999999. Fixes bug #1431378 and #1305828 +- Security fix for CVE-2016-9909, CVE-2016-9910. Fixes bug #1402706 and #1402707 + +* Sat Feb 11 2017 Fedora Release Engineering - 1:0.999-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Dec 30 2016 Toshio Kuratomi - 1:0.999-12 +- Correct usage of the %%python_provide macro + +* Fri Dec 30 2016 Orion Poplawski - 1:0.999-11 +- Ship python2-html5lib +- Modernize spec +- Use %%license + +* Mon Dec 12 2016 Charalampos Stratakis - 1:0.999-10 +- Rebuild for Python 3.6 +- Fix invalid escape sequences + +* Tue Jul 19 2016 Fedora Release Engineering - 1:0.999-9 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 1:0.999-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 03 2015 Robert Kuska - 1:0.999-7 +- Rebuilt for Python3.5 rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1:0.999-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1:0.999-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 14 2014 Bohuslav Kabrda - 1:0.999-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Fri May 09 2014 Dennis Gilmore - 0.999-3 +- move python3 Requires and BuildRequires into the python3 sub-package + +* Wed Mar 12 2014 Dan Scott - 0.999-2 +- "six" module is a runtime requirement + +* Sat Mar 01 2014 Praveen Kumar 0.999-1 +- Added epoch information + +* Wed Feb 26 2014 Dan Scott - 0.999-1 +- Updated for new version +- Fixed bogus dates in changelog + +* Sun Aug 04 2013 Fedora Release Engineering - 1.0b2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 8 2013 Praveen Kumar - 1.0b2-2 +- Updated python3 support which accidently removed from previous revision. + +* Mon Jul 8 2013 Praveen Kumar - 1.0b2-1 +- Updated new source + +* Thu Feb 14 2013 Fedora Release Engineering - 0.95-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Aug 04 2012 David Malcolm - 0.95-3 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + +* Sat Jul 21 2012 Fedora Release Engineering - 0.95-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Feb 21 2012 Praveen Kumar - 0.95-1 +- Added python3 spec and updated new source + +* Mon Jul 18 2011 Praveen Kumar - 0.90-1 +- Initial spec diff --git a/sources b/sources new file mode 100644 index 0000000..5f63c29 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (0.999999999.tar.gz) = 74205c25ea38a1a0690181d56bdf4560ef36cf0d39acbb1ab16e2199e3657f87636508ba128d522970876c9a0ba2ac8df877053ff0179403668a2f0300af7877