Miro Hrončok
b42ee23f79
Use curly brackets around "value"-like macros
3 years ago
Miro Hrončok
32b27391b3
Align everything
3 years ago
Miro Hrončok
52d4532f9a
Expand %{srcname} for readability
3 years ago
Miro Hrončok
65c6149f88
Remove redundant things
3 years ago
Miro Hrončok
8443890e11
Use standard library unittest.mock instead of 3rd party mock
3 years ago
Fedora Release Engineering
23457b85f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
3 years ago
Fedora Release Engineering
d39ec7f682
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
4 years ago
Python Maint
a0487bdf59
Rebuilt for Python 3.10
4 years ago
Fedora Release Engineering
92e7903528
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
4 years ago
Miro Hrončok
98d1d09957
Fix compatibility with pytest 6
5 years ago
Fedora Release Engineering
5b044c92c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
5 years ago
Charalampos Stratakis
6e51503f96
Update to 1.1 ( #1849837 )
...
Use pytest 5
5 years ago
Miro Hrončok
dcc846ee9e
Use pytest 4
5 years ago
Miro Hrončok
bc2d4314d8
Rebuilt for Python 3.9
5 years ago
Fedora Release Engineering
b28d4188f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
5 years ago
Miro Hrončok
4f49aca776
Drop python2-html5lib
5 years ago
Miro Hrončok
63d8f6fb84
Reduce Python 2 build dependencies
6 years ago
Miro Hrončok
7eca60e7a9
Rebuilt for Python 3.8
6 years ago
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
6 years ago
Fedora Release Engineering
67d7f86944
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
6 years ago
Fedora Release Engineering
9171f31ea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
6 years ago
Miro Hrončok
05a4c7d078
Fix dire deprecation warnings ( #1627071 )
6 years ago
Miro Hrončok
4bf006ca4b
Use pytest-expect on python3 ( #1593231 )
7 years ago
Miro Hrončok
3dc5755f57
Update to 1.0.1 ( #1584176 ), run some tests ( #1593231 )
7 years ago
Igor Gnatenko
e4e13ab47e
%{python_sitelib} → %{python2_sitelib}
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
7 years ago
Fedora Release Engineering
3e8868619a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
7 years ago
Miro Hrončok
ba72516387
Rebuilt for Python 3.7
7 years ago
Iryna Shcherbina
327fc13734
Update Python 2 dependency declarations to new packaging standards
7 years ago
Fedora Release Engineering
a6b47afeca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
7 years ago
Troy Dawson
3281e2d935
Cleanup spec file conditionals
7 years ago
Kevin Fenzi
1f453246c9
Add Requires on python-webencodings. Fixes bug #1474883
8 years ago
Fedora Release Engineering
d238010378
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8 years ago
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
8 years ago
Fedora Release Engineering
989dad4b90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8 years ago
Toshio Kuratomi
86bdc60a99
Correct usage of python_provide macro
8 years ago
Orion Poplawski
5580b93d3d
Ship python2-html5lib
...
Modernize spec
Use %license
8 years ago
Charalampos Stratakis
bf3e7d8ed5
Rebuild for Python 3.6
...
Added patch for fixing invalid escape sequences with Python 3.6
8 years ago
Fedora Release Engineering
5140d18684
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
9 years ago
Fedora Release Engineering
bb05b33f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9 years ago
Robert Kuska
9aa598d3e5
Rebuilt for Python3.5 rebuild
9 years ago
Dennis Gilmore
d2040145ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
10 years ago
Rex Dieter
189d28f856
no python3 in epel (yet)
11 years ago
Dennis Gilmore
454acd3ffb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
11 years ago
Slavek Kabrda
4cc39b6e6e
Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
11 years ago
Dennis Gilmore
5656997aa8
move python3 Requires and BuildRequires into the python3 sub-package
11 years ago
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>
11 years ago
Praveen Kumar
3e2128f106
clog
11 years ago
Dennis Gilmore
17f85b40b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12 years ago
Praveen Kumar
2d6f0148a5
clog
12 years ago
Praveen Kumar
72dca3af35
Added python3 support which accidently removed from spec
12 years ago