Commit Graph

47 Commits

Author SHA1 Message Date
Miro Hrončok
dcc846ee9e Use pytest 4 2020-05-30 11:03:49 +02:00
Miro Hrončok
bc2d4314d8 Rebuilt for Python 3.9 2020-05-23 09:04:34 +02:00
Fedora Release Engineering
b28d4188f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 12:38:30 +00:00
Miro Hrončok
4f49aca776 Drop python2-html5lib 2019-09-16 12:05:41 +02:00
Miro Hrončok
63d8f6fb84 Reduce Python 2 build dependencies 2019-08-26 13:22:13 +02:00
Miro Hrončok
7eca60e7a9 Rebuilt for Python 3.8 2019-08-16 15:14:02 +02:00
Miro Hrončok
d0f5779852 Fix FTBFS with Pytest 4, deselect test_encoding
________________________________ test_encoding _________________________________

    def test_encoding():
        for filename in get_data_files("encoding"):
            tests = _TestData(filename, b"data", encoding=None)
            for test in tests:
>               runParserEncodingTest(test[b'data'], test[b'encoding'])

html5lib/tests/test_encoding.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

data = b'<!DOCTYPE HTML>\n<script>document.write(\'<meta charset="ISO-8859-\' + \'2">\')</script>'
encoding = 'iso-8859-2'

    def runParserEncodingTest(data, encoding):
        p = HTMLParser()
        assert p.documentEncoding is None
        p.parse(data, useChardet=False)
        encoding = encoding.lower().decode("ascii")

>       assert encoding == p.documentEncoding, errorMessage(data, encoding, p.documentEncoding)
E       AssertionError: Input:
E         b'<!DOCTYPE HTML>\n<script>document.write(\'<meta charset="ISO-8859-\' + \'2">\')</script>'
E         Expected:
E         'iso-8859-2'
E         Recieved
E         'windows-1252'
E
E       assert 'iso-8859-2' == 'windows-1252'
E         - iso-8859-2
E         + windows-1252

html5lib/tests/test_encoding.py:84: AssertionError
2019-07-30 01:26:45 +02:00
Fedora Release Engineering
67d7f86944 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 13:54:09 +00:00
Fedora Release Engineering
9171f31ea9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 07:11:50 +00:00
Miro Hrončok
05a4c7d078 Fix dire deprecation warnings (#1627071) 2018-09-24 15:13:19 +02:00
Miro Hrončok
4bf006ca4b Use pytest-expect on python3 (#1593231) 2018-08-21 16:56:38 +02:00
Miro Hrončok
3dc5755f57 Update to 1.0.1 (#1584176), run some tests (#1593231) 2018-08-21 00:30:16 +02:00
Igor Gnatenko
e4e13ab47e
%{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:11:35 +02:00
Fedora Release Engineering
3e8868619a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 00:32:18 +00:00
Miro Hrončok
ba72516387 Rebuilt for Python 3.7 2018-06-16 10:10:43 +02:00
Iryna Shcherbina
327fc13734 Update Python 2 dependency declarations to new packaging standards 2018-02-12 03:10:54 +01:00
Fedora Release Engineering
a6b47afeca - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 08:17:08 +00:00
Troy Dawson
3281e2d935 Cleanup spec file conditionals 2017-09-29 08:30:29 -07:00
Kevin Fenzi
1f453246c9 Add Requires on python-webencodings. Fixes bug #1474883 2017-07-27 11:54:05 -07:00
Fedora Release Engineering
d238010378 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 10:34:04 +00:00
Kevin Fenzi
d4e91d45c3 Update to 0.999999999. Fixes bug #1431378 and #1305828
Security fix for CVE-2016-9909, CVE-2016-9910. Fixes bug #1402706 and #1402707
2017-07-21 13:55:13 -07:00
Fedora Release Engineering
989dad4b90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 09:15:09 +00:00
Toshio Kuratomi
86bdc60a99 Correct usage of python_provide macro 2016-12-30 23:07:18 -08:00
Orion Poplawski
5580b93d3d Ship python2-html5lib
Modernize spec
Use %license
2016-12-30 16:56:20 -07:00
Charalampos Stratakis
bf3e7d8ed5 Rebuild for Python 3.6
Added patch for fixing invalid escape sequences with Python 3.6
2016-12-12 19:17:03 +01:00
Fedora Release Engineering
5140d18684 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 10:00:15 +00:00
Fedora Release Engineering
bb05b33f2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 19:52:15 +00:00
Robert Kuska
9aa598d3e5 Rebuilt for Python3.5 rebuild 2015-11-03 20:15:12 +01:00
Dennis Gilmore
d2040145ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 19:36:06 +00:00
Rex Dieter
189d28f856 no python3 in epel (yet) 2014-06-18 08:42:54 -05:00
Dennis Gilmore
454acd3ffb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 15:48:44 -05:00
Slavek Kabrda
4cc39b6e6e Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-15 15:45:00 +02:00
Dennis Gilmore
5656997aa8 move python3 Requires and BuildRequires into the python3 sub-package 2014-05-09 14:23:09 -05:00
Dan Scott
92a09b16ec Add six module as a runtime requirement
Per https://lists.fedoraproject.org/pipermail/devel/2014-March/196647.html it
turns out that "six" is a runtime requirement. Other modules, like rdflib, that
depend on functionality will fail in a mock build where six is not installed.

Signed-off-by: Dan Scott <dan@coffeecode.net>
2014-03-12 15:43:04 -04:00
Praveen Kumar
512dc87f8d Update to latest upstream release 2014-03-01 21:57:34 +05:30
Praveen Kumar
3e2128f106 clog 2014-03-01 21:55:14 +05:30
Dennis Gilmore
17f85b40b5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 02:58:45 -05:00
Praveen Kumar
2d6f0148a5 clog 2013-07-08 22:17:19 +05:30
Praveen Kumar
72dca3af35 Added python3 support which accidently removed from spec 2013-07-08 21:51:51 +05:30
Praveen Kumar
f2f07e6cf5 clog 2013-07-08 08:18:56 +05:30
Dennis Gilmore
81c110b5a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 13:39:07 -06:00
David Malcolm
e48666bb11 rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 2012-08-04 04:55:33 -04:00
Dennis Gilmore
600774a9ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 01:35:08 -05:00
Praveen
95e0a2ae94 Added python3 spec and updated new source 2012-02-21 22:39:29 +05:30
Dennis Gilmore
54eb17a044 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:46:55 -06:00
Praveen
55b8fb6da2 Initial import (#722874). 2011-07-18 22:29:43 +05:30
Fedora Release Engineering
d9594f8327 Initial setup of the repo 2011-07-18 16:40:15 +00:00