86>Jan 8 10:23:44 userdel[24652]: delete user 'rooter' <86>Jan 8 10:23:44 userdel[24652]: removed group 'rooter' owned by 'rooter' <86>Jan 8 10:23:44 userdel[24652]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 8 10:23:44 groupadd[24664]: group added to /etc/group: name=rooter, GID=579 <86>Jan 8 10:23:44 groupadd[24664]: group added to /etc/gshadow: name=rooter <86>Jan 8 10:23:44 groupadd[24664]: new group: name=rooter, GID=579 <86>Jan 8 10:23:44 useradd[24674]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Jan 8 10:23:44 userdel[24695]: delete user 'builder' <86>Jan 8 10:23:44 userdel[24695]: removed group 'builder' owned by 'builder' <86>Jan 8 10:23:44 userdel[24695]: removed shadow group 'builder' owned by 'builder' <86>Jan 8 10:23:44 groupadd[24706]: group added to /etc/group: name=builder, GID=580 <86>Jan 8 10:23:44 groupadd[24706]: group added to /etc/gshadow: name=builder <86>Jan 8 10:23:44 groupadd[24706]: new group: name=builder, GID=580 <86>Jan 8 10:23:44 useradd[24717]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Jan 8 10:23:47 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 8 10:23:47 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 8 10:23:47 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 8 10:23:47 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959866 installed <13>Jan 8 10:23:47 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 8 10:23:47 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 8 10:23:47 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Jan 8 10:23:47 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 8 10:23:47 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 8 10:23:47 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 8 10:23:47 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 8 10:23:47 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 8 10:23:47 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 8 10:23:49 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 8 10:23:49 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 8 10:23:49 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 8 10:23:53 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Jan 8 10:23:53 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Jan 8 10:23:53 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Jan 8 10:23:53 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847335 installed <13>Jan 8 10:23:53 rpmi: python3-module-toml-0.10.0-alt3 sisyphus+235493.5400.8.1 1565463304 installed <13>Jan 8 10:23:53 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.2.1 sisyphus+228360.2100.5.2 1556666704 installed <13>Jan 8 10:23:53 rpmi: python3-module-traceback2-1.4.0-alt2.1 sisyphus+227534.300.1.3 1555957009 installed <13>Jan 8 10:23:53 rpmi: python3-module-unittest2-1.1.0-alt3 sisyphus+227535.1100.2.1 1556009290 installed <13>Jan 8 10:23:53 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Jan 8 10:23:53 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Jan 8 10:23:53 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Jan 8 10:23:53 rpmi: python3-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555289337 installed <13>Jan 8 10:23:53 rpmi: python3-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>Jan 8 10:23:53 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Jan 8 10:23:53 rpmi: python3-module-pytz-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Jan 8 10:23:54 rpmi: python3-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Jan 8 10:23:54 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Jan 8 10:23:54 rpmi: python3-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Jan 8 10:23:54 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Jan 8 10:23:54 rpmi: python3-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Jan 8 10:23:54 rpmi: python3-module-cffi-1.13.2-alt1 sisyphus+240882.100.2.1 1573892898 installed <13>Jan 8 10:23:54 rpmi: python3-module-cryptography-2.8-alt1 sisyphus+239390.100.1.2 1571349426 installed <13>Jan 8 10:23:54 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Jan 8 10:23:54 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Jan 8 10:23:54 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Jan 8 10:23:54 rpmi: python3-module-requests-2.22.0-alt1 sisyphus+238756.100.1.1 1570338316 installed <13>Jan 8 10:23:54 rpmi: python3-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Jan 8 10:23:54 rpmi: python-sphinx-objects.inv-1:2.3.9.20200101-alt1 sisyphus+243776.100.1.1 1577931051 installed <13>Jan 8 10:23:54 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 8 10:23:54 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 8 10:23:54 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 8 10:23:54 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 8 10:23:55 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Jan 8 10:23:55 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 8 10:23:55 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Jan 8 10:23:55 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Jan 8 10:23:55 rpmi: libxslt-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Jan 8 10:23:55 rpmi: python3-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Jan 8 10:23:55 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Jan 8 10:23:55 rpmi: python3-module-lxml-4.4.1-alt1 sisyphus+236738.100.2.3 1567016394 installed <13>Jan 8 10:23:55 rpmi: python3-module-docutils-0.15.2-alt1 sisyphus+239215.200.1.1 1576583082 installed <13>Jan 8 10:23:55 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Jan 8 10:23:55 rpmi: python3-module-sphinxcontrib-applehelp-1.0.1-alt1 sisyphus+228217.100.1.1 1556282506 installed <13>Jan 8 10:23:55 rpmi: python3-module-sphinxcontrib-devhelp-1.0.1-alt1 sisyphus+228218.100.1.1 1556283262 installed <13>Jan 8 10:23:55 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Jan 8 10:23:55 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>Jan 8 10:23:55 rpmi: python3-module-sphinxcontrib-qthelp-1.0.2-alt1 sisyphus+228215.100.1.1 1556282300 installed <13>Jan 8 10:23:55 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.3-alt1 sisyphus+228216.100.1.1 1556282403 installed <13>Jan 8 10:23:56 rpmi: python3-module-sphinx-1:2.2.0-alt3 sisyphus+238476.100.2.1 1569998637 installed <13>Jan 8 10:23:56 rpmi: python3-module-Pygments-2.4.2-alt1 sisyphus+233443.20.3.1 1561904164 installed <13>Jan 8 10:23:56 rpmi: python3-module-pip-19.3.1-alt1 sisyphus+239412.200.3.1 1571409804 installed <13>Jan 8 10:23:56 rpmi: python3-module-pbr-5.4.4-alt1 sisyphus+242745.100.1.1 1576083899 installed <13>Jan 8 10:23:56 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jan 8 10:23:56 groupadd[1986]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 8 10:23:56 groupadd[1986]: group added to /etc/gshadow: name=_keytab <86>Jan 8 10:23:56 groupadd[1986]: new group: name=_keytab, GID=499 <13>Jan 8 10:23:56 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Jan 8 10:23:56 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 8 10:23:56 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 8 10:23:56 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:56 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:56 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:56 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:57 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:57 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:57 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:57 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:57 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:57 rpmi: python-tools-2to3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 8 10:23:57 rpmi: python3-module-mock-2.0.0-alt1 sisyphus+224400.100.2.1 1554338032 installed <13>Jan 8 10:23:57 rpmi: python3-module-BeautifulSoup4-4.6.3-alt1 sisyphus+227474.1200.1.1 1555687950 installed <13>Jan 8 10:23:57 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-mf2py-1.0.5-alt2.nosrc.rpm Installing python3-module-mf2py-1.0.5-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.46617 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-mf2py-1.0.5 + echo 'Source #0 (python3-module-mf2py-1.0.5.tar):' Source #0 (python3-module-mf2py-1.0.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-mf2py-1.0.5.tar + cd python3-module-mf2py-1.0.5 + /bin/chmod -c -Rf u+rwX,go-w . + find ./ -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./test/test_suite.py RefactoringTool: Refactored ./test/test_parser.py RefactoringTool: No changes to ./test/test_dom_addins.py RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./mf2py/version.py RefactoringTool: No changes to ./mf2py/temp_fixes.py RefactoringTool: Refactored ./mf2py/parser.py --- ./test/test_suite.py (original) +++ ./test/test_suite.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import unicode_literals, print_function + from nose.tools import assert_equal import glob import json --- ./test/test_parser.py (original) +++ ./test/test_parser.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import unicode_literals, print_function + import os.path import re @@ -13,7 +13,7 @@ if sys.version < '3': - text_type = unicode + text_type = str binary_type = str else: text_type = str @@ -344,34 +344,34 @@ result = parse_fixture("area.html") assert result["items"][0]["properties"] == { 'url': ['http://suda.co.uk'], 'name': ['Brian Suda']} - assert 'shape' in result["items"][0].keys() - assert 'coords' in result["items"][0].keys() + assert 'shape' in list(result["items"][0].keys()) + assert 'coords' in list(result["items"][0].keys()) def test_src_equiv(): result = parse_fixture("test_src_equiv.html") for item in result["items"]: - assert 'x-example' in item['properties'].keys() + assert 'x-example' in list(item['properties'].keys()) assert 'http://example.org/' == item['properties']['x-example'][0] def test_rels(): result = parse_fixture("rel.html") assert result['rels'] == { - u'in-reply-to': [u'http://example.com/1', u'http://example.com/2'], - u'author': [u'http://example.com/a', u'http://example.com/b'], - u'alternate': [u'http://example.com/fr'], - u'home': [u'http://example.com/fr'], + 'in-reply-to': ['http://example.com/1', 'http://example.com/2'], + 'author': ['http://example.com/a', 'http://example.com/b'], + 'alternate': ['http://example.com/fr'], + 'home': ['http://example.com/fr'], } assert result['rel-urls'] == { - u'http://example.com/1': {'text': u"post 1", "rels": [u'in-reply-to']}, - u'http://example.com/2': {'text': u"post 2", "rels": [u'in-reply-to']}, - u'http://example.com/a': {'text': u"author a", "rels": [u'author']}, - u'http://example.com/b': {'text': u"author b", "rels": [u'author']}, - u'http://example.com/fr': {'text': u'French mobile homepage', - u'media': u'handheld', - u'rels': [u'alternate', u'home'], - u'hreflang': u'fr'} + 'http://example.com/1': {'text': "post 1", "rels": ['in-reply-to']}, + 'http://example.com/2': {'text': "post 2", "rels": ['in-reply-to']}, + 'http://example.com/a': {'text': "author a", "rels": ['author']}, + 'http://example.com/b': {'text': "author b", "rels": ['author']}, + 'http://example.com/fr': {'text': 'French mobile homepage', + 'media': 'handheld', + 'rels': ['alternate', 'home'], + 'hreflang': 'fr'} } @@ -505,12 +505,12 @@ def test_relative_datetime(): result = parse_fixture("implied_relative_datetimes.html") assert_equal('2015-01-02T05:06:00', - result[u'items'][0][u'properties'][u'updated'][0]) + result['items'][0]['properties']['updated'][0]) def assert_unicode_everywhere(obj): if isinstance(obj, dict): - for k, v in obj.items(): + for k, v in list(obj.items()): assert_false(isinstance(k, binary_type), 'key=%r; type=%r' % (k, type(k))) assert_unicode_everywhere(v) --- ./mf2py/parser.py (original) +++ ./mf2py/parser.py (refactored) @@ -1,5 +1,5 @@ # coding: utf-8 -from __future__ import unicode_literals, print_function + from bs4 import BeautifulSoup from bs4.element import Tag from mf2py import backcompat, mf2_classes, implied_properties, parse_property @@ -11,8 +11,8 @@ import sys if sys.version < '3': - from urlparse import urlparse, urljoin - text_type = unicode + from urllib.parse import urlparse, urljoin + text_type = str binary_type = str eRefactoringTool: Refactored ./mf2py/parse_property.py RefactoringTool: Refactored ./mf2py/mf_helpers.py RefactoringTool: Refactored ./mf2py/mf2_classes.py RefactoringTool: Refactored ./mf2py/implied_properties.py RefactoringTool: Refactored ./mf2py/http_server.py RefactoringTool: Refactored ./mf2py/dom_helpers.py RefactoringTool: Refactored ./mf2py/backcompat.py RefactoringTool: No changes to ./mf2py/__init__.py RefactoringTool: No changes to ./dumpout.py RefactoringTool: Refactored ./doc/source/conf.py lse: from urllib.parse import urlparse, urljoin @@ -138,7 +138,7 @@ # parse for properties and children for child in get_children(el): child_props, child_children = parse_props(child) - for key, new_value in child_props.items(): + for key, new_value in list(child_props.items()): prop_value = properties.get(key, []) prop_value.extend(new_value) properties[key] = prop_value --- ./mf2py/parse_property.py (original) +++ ./mf2py/parse_property.py (refactored) @@ -1,13 +1,13 @@ """functions to parse the properties of elements""" -from __future__ import unicode_literals, print_function + from .dom_helpers import get_attr, get_children import sys import re if sys.version < '3': - from urlparse import urljoin - text_type = unicode + from urllib.parse import urljoin + text_type = str binary_type = str else: from urllib.parse import urljoin --- ./mf2py/mf_helpers.py (original) +++ ./mf2py/mf_helpers.py (refactored) @@ -11,7 +11,7 @@ """ urls = [] for item in mf: - if isinstance(item, basestring): + if isinstance(item, str): urls.append(item) elif (isinstance(item, dict) and any(x.startswith('h-') for x in item.get('type', []))): --- ./mf2py/mf2_classes.py (original) +++ ./mf2py/mf2_classes.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import unicode_literals, print_function + def root(classes): --- ./mf2py/implied_properties.py (original) +++ ./mf2py/implied_properties.py (refactored) @@ -1,10 +1,10 @@ -from __future__ import unicode_literals, print_function + from . import mf2_classes from .dom_helpers import get_attr, get_children import sys if sys.version < '3': - from urlparse import urljoin + from urllib.parse import urljoin else: from urllib.parse import urljoin --- ./mf2py/http_server.py (original) +++ ./mf2py/http_server.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import os from mf2py import Parser from flask import Flask, Response, request @@ -24,7 +24,7 @@ else: u = request.form['url'] print(u) - p = Parser(url=unicode(u)) + p = Parser(url=str(u)) return Response(p.to_json(pretty_print=True), status=200, mimetype='application/json') --- ./mf2py/dom_helpers.py (original) +++ ./mf2py/dom_helpers.py (refactored) @@ -2,12 +2,12 @@ import bs4 if sys.version < '3': - text_type = unicode + text_type = str binary_type = str else: text_type = str binary_type = bytes - basestring = str + str = str def get_attr(el, attr, check_name=None): @@ -24,7 +24,7 @@ """ if check_name is None: return el.get(attr) - if isinstance(check_name, basestring) and el.name == check_name: + if isinstance(check_name, str) and el.name == check_name: return el.get(attr) if isinstance(check_name, (tuple, list)) and el.name in check_name: return el.get(attr) --- ./mf2py/backcompat.py (original) +++ ./mf2py/backcompat.py (refactored) @@ -3,13 +3,13 @@ microformats2 names. Ported and adapted from php-mf2. """ -from __future__ import unicode_literals, print_function + from .dom_helpers import get_descendents import bs4 import sys if sys.version < '3': - from urllib import unquote + from urllib.parse import unquote else: from urllib.parse import unquote @@ -191,8 +191,8 @@ # We'll build the vast majority of it from the CLASSIC_PROPERTY_MAP RULES = dict( (old_root, [make_classes_rule(old_class, new_classes) - for old_class, new_classes in properties.items()]) - for old_root, properties in CLASSIC_PROPERTY_MAP.items()) + for old_class, new_classes in list(properties.items())]) + for old_root, properties in list(CLASSIC_PROPERTY_MAP.items())) def rel_bookmark_to_url_rule(child, **kwargs): --- ./doc/source/conf.py (original) +++ ./doc/source/conf.py (refactored) @@ -RefactoringTool: Files that were modified: RefactoringTool: ./test/test_suite.py RefactoringTool: ./test/test_parser.py RefactoringTool: ./test/test_dom_addins.py RefactoringTool: ./setup.py RefactoringTool: ./mf2py/version.py RefactoringTool: ./mf2py/temp_fixes.py RefactoringTool: ./mf2py/parser.py RefactoringTool: ./mf2py/parse_property.py RefactoringTool: ./mf2py/mf_helpers.py RefactoringTool: ./mf2py/mf2_classes.py RefactoringTool: ./mf2py/implied_properties.py RefactoringTool: ./mf2py/http_server.py RefactoringTool: ./mf2py/dom_helpers.py RefactoringTool: ./mf2py/backcompat.py RefactoringTool: ./mf2py/__init__.py RefactoringTool: ./dumpout.py RefactoringTool: ./doc/source/conf.py 45,8 +45,8 @@ master_doc = 'index' # General information about the project. -project = u'mf2py' -copyright = u'2015, Tom Morris' +project = 'mf2py' +copyright = '2015, Tom Morris' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -198,8 +198,8 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'mf2py.tex', u'mf2py Documentation', - u'Tom Morris', 'manual'), + ('index', 'mf2py.tex', 'mf2py Documentation', + 'Tom Morris', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -228,8 +228,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'mf2py', u'mf2py Documentation', - [u'Tom Morris'], 1) + ('index', 'mf2py', 'mf2py Documentation', + ['Tom Morris'], 1) ] # If true, show URL addresses after external links. @@ -242,8 +242,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'mf2py', u'mf2py Documentation', - u'Tom Morris', 'mf2py', 'One line description of project.', + ('index', 'mf2py', 'mf2py Documentation', + 'Tom Morris', 'mf2py', 'One line description of project.', 'Miscellaneous'), ] ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./test/test_suite.py ./test/test_parser.py ./test/test_dom_addins.py ./setup.py ./mf2py/version.py ./mf2py/temp_fixes.py ./mf2py/parser.py ./mf2py/parse_property.py ./mf2py/mf_helpers.py ./mf2py/mf2_classes.py ./mf2py/implied_properties.py ./mf2py/http_server.py ./mf2py/dom_helpers.py ./mf2py/backcompat.py ./mf2py/__init__.py ./dumpout.py ./doc/source/conf.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.62298 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mf2py-1.0.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/mf2py copying mf2py/__init__.py -> build/lib/mf2py copying mf2py/backcompat.py -> build/lib/mf2py copying mf2py/dom_helpers.py -> build/lib/mf2py copying mf2py/http_server.py -> build/lib/mf2py copying mf2py/implied_properties.py -> build/lib/mf2py copying mf2py/mf2_classes.py -> build/lib/mf2py copying mf2py/mf_helpers.py -> build/lib/mf2py copying mf2py/parse_property.py -> build/lib/mf2py copying mf2py/parser.py -> build/lib/mf2py copying mf2py/temp_fixes.py -> build/lib/mf2py copying mf2py/version.py -> build/lib/mf2py + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.3110 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-mf2py-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-mf2py-buildroot + cd python3-module-mf2py-1.0.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-mf2py-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-mf2py-buildroot creating /usr/src/tmp/python3-module-mf2py-buildroot/usr creating /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib creating /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/version.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/temp_fixes.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/parser.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/parse_property.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/mf_helpers.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/mf2_classes.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/implied_properties.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/http_server.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/dom_helpers.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/backcompat.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py copying build/lib/mf2py/__init__.py -> /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/version.py to version.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/temp_fixes.py to temp_fixes.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parser.py to parser.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py to parse_property.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf_helpers.py to mf_helpers.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf2_classes.py to mf2_classes.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py to implied_properties.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/http_server.py to http_server.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/dom_helpers.py to dom_helpers.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py to backcompat.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__init__.py to __init__.cpython-37.pyc running install_egg_info running egg_info creating mf2py.egg-info writing mf2py.egg-info/PKG-INFO writing dependency_links to mf2py.egg-info/dependency_links.txt writing requirements to mf2py.egg-info/requires.txt writing top-level names to mf2py.egg-info/top_level.txt writing manifest file 'mf2py.egg-info/SOURCES.txt' reading manifest file 'mf2py.egg-info/SOURCES.txt' writing manifest file 'mf2py.egg-info/SOURCES.txt' Copying mf2py.egg-info to /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py-1.0.5-py3.7.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-mf2py-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-mf2py-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-mf2py-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-mf2py-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-mf2py-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-mf2py-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-mf2py-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-mf2py-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-mf2py-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/backcompat.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/dom_helpers.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/http_server.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/implied_properties.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/mf2_classes.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/mf_helpers.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/parse_property.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/parser.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/temp_fixes.cpython-37.pyc unlink /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__pycache__/version.cpython-37.pyc compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__init__.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/dom_helpers.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/http_server.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf2_classes.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf_helpers.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parser.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/temp_fixes.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/version.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-mf2py-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__init__.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/dom_helpers.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/http_server.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf2_classes.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf_helpers.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parser.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/temp_fixes.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/version.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-mf2py-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__init__.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/dom_helpers.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/http_server.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf2_classes.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/mf_helpers.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parser.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/temp_fixes.py compile /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/version.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/mf2py/__pycache__/version.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/version.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/version.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/version.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/temp_fixes.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/temp_fixes.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/temp_fixes.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/temp_fixes.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/parser.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/parser.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/parse_property.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/parse_property.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/mf_helpers.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/mf_helpers.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/mf2_classes.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/mf2_classes.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/implied_properties.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/implied_properties.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/http_server.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/http_server.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/http_server.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/http_server.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/dom_helpers.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/dom_helpers.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/backcompat.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/backcompat.cpython-37.pyc' './usr/lib/python3/site-packages/mf2py/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mf2py/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.15276 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mf2py-1.0.5 + python3 setup.py test running test running egg_info writing mf2py.egg-info/PKG-INFO writing dependency_links to mf2py.egg-info/dependency_links.txt deleting mf2py.egg-info/requires.txt writing top-level names to mf2py.egg-info/top_level.txt reading manifest file 'mf2py.egg-info/SOURCES.txt' writing manifest file 'mf2py.egg-info/SOURCES.txt' running build_ext /usr/lib/python3/site-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Mapping /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/mf2py/parse_property.py:21: DeprecationWarning: invalid escape sequence \. AMPM_RE = 'am|pm|a\.m\.|p\.m\.' test_dom_addins.test_getElementsByClassName ... /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/mf2py/parser.py:80: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. The code that caused this warning is on line 80 of the file /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/mf2py/parser.py. To get rid of this warning, pass the additional argument 'features="lxml"' to the BeautifulSoup constructor. self.__doc__ = BeautifulSoup(doc, features=html_parser) /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/test/test_dom_addins.py:5: ResourceWarning: unclosed file <_io.TextIOWrapper name='test/examples/person_with_url.html' mode='r' encoding='UTF-8'> p = Parser(doc=open("test/examples/person_with_url.html")) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/test/test_parser.py:501: DeprecationWarning: invalid escape sequence \s implied_name = re.sub('\s+', ' ', implied_name).strip() test_parser.test_empty ... ok test_parser.test_open_file ... /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/test/test_parser.py:36: ResourceWarning: unclosed file <_io.TextIOWrapper name='test/examples/empty.html' mode='r' encoding='UTF-8'> p = Parser(doc=open("test/examples/empty.html")) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_parser.test_base ... /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/test/test_parser.py:65: ResourceWarning: unclosed file <_io.TextIOWrapper name='test/examples/base.html' mode='r' encoding='UTF-8'> p = Parser(doc=open("test/examples/base.html")) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_parser.test_simple_parse ... ok test_parser.test_simple_person_reference_implied ... /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/test/test_parser.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper name='test/examples/simple_person_reference_implied.html' mode='r' encoding='UTF-8'> p = Parser(doc=open("test/examples/simple_person_reference_implied.html")) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_parser.test_simple_person_reference_same_element ... ok test_parser.test_person_with_url ... /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/test/test_parser.py:89: ResourceWarning: unclosed file <_io.TextIOWrapper name='test/examples/person_with_url.html' mode='r' encoding='UTF-8'> p = Parser(doc=open("test/examples/person_with_url.html")) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_parser.test_vcp ... ok test_parser.test_multiple_root_classnames ... ok test_parser.test_property_nested_microformat ... ok test_parser.test_plain_child_microformat ... ok test_parser.test_implied_name ... ok test_parser.test_implied_url ... ok test_parser.test_implied_nested_photo ... ok test_parser.test_implied_nested_photo_alt_name ... ok test_parser.test_implied_image ... ok test_parser.test_datetime_parsing ... ok test_parser.test_datetime_vcp_parsing ... ok test_parser.test_dt_end_implied_date Test that events with dt-start and dt-end use the implied date rule ... ok test_parser.test_embedded_parsing ... ok test_parser.test_backcompat ... ok test_parser.test_hoisting_nested_hcard ... ok test_parser.test_html_tag_class ... ok test_parser.test_string_strip ... ok test_parser.test_template_parse ... ok test_parser.test_backcompat_hproduct ... ok test_parser.test_backcompat_hproduct_nested_hreview ... ok test_parser.test_backcompat_rel_bookmark Confirm that rel=bookmark inside of an h-entry is converted ... ok test_parser.test_backcompat_rel_tag Confirm that rel=tag inside of an h-entry is converted ... ok test_parser.test_area_uparsing ... ok test_parser.test_src_equiv ... ok test_parser.test_rels ... ok test_parser.test_alternates ... ok test_parser.test_enclosures ... ok test_parser.test_empty_href ... ok test_parser.test_link_with_u_url ... ok test_parser.test_complex_e_content When parsing h-* e-* properties, we should fold {"value":..., "html":...} ... ok test_parser.test_nested_values When parsing nested microformats, check that value is the value of ... ok test_parser.test_implied_name_empty_alt An empty alt text should not prevent us from including other ... ok test_parser.test_implied_properties_silo_pub ... ok test_parser.test_relative_datetime ... ok test_parser.test_unicode_everywhere('value_class_person.html', {'items': [{'type': ['h-card'], 'properties': {'name': ['Tom Morris'], 'tel': ['+44 1234 567890']}}], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_unicode_everywhere('u-test.html', {'items': [{'type': ['h-entry'], 'properties': {'name': ['Expanding URLs within HTML content'], 'content': [{'html': '\n
Blah blah blah blah blah.
\nBlah.
\nBlah blah blah.
\n ', 'value': '\n Blah blah blah blah blah.\n Blah.\n Blah blah blah.\n '}]}}], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_unicode_everywhere('datetimes.html', {'items': [{'type': ['h-event'], 'properties': {'name': ['Microformats Hootenanny'], 'start': ['2014-01-01T12:00:00+00:00'], 'end': ['3014-01-01T18:00:00+00:00'], 'updated': ['2011-08-26T00:01:21+00:00', '2011-08-26T00:01:21+00:00'], 'duration': ['P1000Y']}}, {'type': ['h-entry'], 'properties': {'published': ['3014-01-01T01:21:00Z'], 'name': ['at precisely 1:21 am'], 'photo': ['onethousandyears.png']}}, {'type': ['h-entry'], 'properties': {'updated': ['2014-03-11 09:55:00'], 'name': ['2014-03-11 09:55']}}, {'type': ['h-entry'], 'properties': {'published': ['2014-01-30T15:28:00'], 'updated': ['2014-01-30T15:28:00'], 'name': ['3:28pm on 2014-01-30']}}, {'type': ['h-entry'], 'properties': {'published': ['9999-01-14T11:52:00+08:00'], 'name': ['9999-01-14T11:52+08:00']}}, {'type': ['h-entry'], 'properties': {'published': ['2014-06-01T12:30:00-06:00'], 'name': ['2014-06-01\n 12:30-06:00']}}, {'type': ['h-event'], 'properties': {'name': ['Implied Date wo Timezone'], 'start': ['2014-05-21T18:30:00'], 'end': ['2014-05-21T19:30:00']}}, {'type': ['h-event'], 'properties': {'name': ['Implied Date w/ Timezone'], 'start': ['2014-06-01T12:30:00-06:00'], 'end': ['2014-06-01T19:30:00-06:00']}}], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_unicode_everywhere('base.html', {'items': [], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_unicode_everywhere('backcompat_hproduct_hreview_nested.html', {'items': [{'type': ['h-product'], 'properties': {'name': ["Tom's Magical Quack Tincture"], 'brand': ['Quacktastic Products'], 'category': ['bullshit'], 'price': ['£299.99'], 'description': ["Magical tasty sugar pills that don't do anything."], 'identifier': ['#BULLSHIT-001']}, 'children': [{'type': ['h-review'], 'properties': {'name': ["I'm a gullible idiot and I love giving money to random developers on the internet\n who are pretending to be quacks for a laugh while writing tests. I love this product!"]}}]}], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_unicode_everywhere('backcompat_hproduct.html', {'items': [{'type': ['h-product'], 'properties': {'name': ["Tom's Magical Quack Tincture"], 'brand': ['Quacktastic Products'], 'category': ['bullshit'], 'price': ['£299.99'], 'description': ["Magical tasty sugar pills that don't do anything.", {'type': ['h-review'], 'properties': {'name': ["I'm a gullible idiot and I love giving money to random developers on the internet\n who are pretending to be quacks for a laugh while writing tests. I love this product!"]}, 'html': "\n I'm a gullible idiot and I love giving money to random developers on the internet\n who are pretending to be quacks for a laugh while writing tests. I love this product!\n ", 'value': "\n I'm a gullible idiot and I love giving money to random developers on the internet\n who are pretending to be quacks for a laugh while writing tests. I love this product!\n "}], 'identifier': ['#BULLSHIT-001'], 'review': [{'type': ['h-review'], 'properties': {'name': ["I'm a gullible idiot and I love giving money to random developers on the internet\n who are pretending to be quacks for a laugh while writing tests. I love this product!"]}, 'value': "I'm a gullible idiot and I love giving money to random developers on the internet\n who are pretending to be quacks for a laugh while writing tests. I love this product!"}]}}], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_unicode_everywhere('backcompat_hentry_with_rel_tag.html', {'items': [{'type': ['h-entry'], 'properties': {'category': ['cat', 'dog', 'mountain lion'], 'name': ['rhinoceros\n giraffe\n hyena']}}], 'rels': {'tag': ['https://example.com/tags/cat', 'https://example.com/tags/dog/', 'https://example.com/tags/mountain%20lion/', '']}, 'rel-urls': {'https://example.com/tags/cat': {'text': 'rhinoceros', 'rels': ['tag']}, 'https://example.com/tags/dog/': {'text': 'giraffe', 'rels': ['tag']}, 'https://example.com/tags/mountain%20lion/': {'text': 'hyena', 'rels': ['tag']}, '': {'text': '', 'rels': ['tag']}}}) ... ok test_parser.test_unicode_everywhere('backcompat_feed_with_rel_bookmark.html', {'items': [{'type': ['h-entry'], 'properties': {'author': [{'type': ['h-card'], 'properties': {'name': ['Lee Adama']}, 'value': 'Lee Adama'}], 'name': ['Jumping Rope for Weight Loss'], 'content': [{'html': 'Some Content', 'value': 'Some Content'}], 'url': ['/2014/11/24/jump-rope']}}, {'type': ['h-entry'], 'properties': {'author': [{'type': ['h-card'], 'properties': {'name': ['Kara Thrace']}, 'value': 'Kara Thrace'}], 'name': ['Abstract Art in Graffiti'], 'content': [{'html': 'More Content', 'value': 'More Content'}], 'url': ['/2014/11/23/graffiti']}}, {'type': ['h-entry'], 'properties': {'author': [{'type': ['h-card'], 'properties': {'name': ['President Roslyn']}, 'value': 'President Roslyn'}], 'name': ['Dreams of Earth'], 'content': [{'html': 'Additional Content', 'value': 'Additional Content'}], 'url': ['/2014/11/21/earth']}}, {'type': ['h-entry'], 'properties': {'author': [{'type': ['h-card'], 'properties': {'name': ['Chief Tyrrol']}, 'value': 'Chief Tyrrol'}], 'name': ['Organized Labor in Mining Colonies'], 'content': [{'html': 'More Content', 'value': 'More Content'}], 'url': ['/2014/11/19/labor']}}], 'rels': {'bookmark': ['/about', '/', '/2014/11/24/jump-rope', '/2014/11/23/graffiti', '/2014/11/21/earth', '/2014/11/19/labor']}, 'rel-urls': {'/about': {'text': '', 'rels': ['bookmark']}, '/': {'text': '', 'rels': ['bookmark']}, '/2014/11/24/jump-rope': {'text': 'Nov 24, 2014', 'rels': ['bookmark']}, '/2014/11/23/graffiti': {'text': 'Nov 23, 2014', 'rels': ['bookmark']}, '/2014/11/21/earth': {'text': 'Nov 21, 2014', 'rels': ['bookmark']}, '/2014/11/19/labor': {'text': 'Nov 19, 2014', 'rels': ['bookmark']}}}) ... ok test_parser.test_unicode_everywhere('backcompat.html', {'items': [{'type': ['h-entry'], 'properties': {'author': [{'type': ['h-card'], 'properties': {'name': ['Tom Morris']}, 'value': 'Tom Morris'}], 'name': ['A Title'], 'content': [{'html': 'Some Content', 'value': 'Some Content'}]}}], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_unicode_everywhere('area.html', {'items': [{'type': ['h-card'], 'properties': {'name': ['Brian Suda'], 'url': ['http://suda.co.uk']}, 'shape': 'poly', 'coords': '83,195,116,169,160,97,215,108,214,144,193,191,194,237,196,294,236,313,229,341,207,351,195,373,205,496,78,498,70,365'}], 'rels': {}, 'rel-urls': {}}) ... ok test_parser.test_user_agent ... /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/mf2py/parser.py:96: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. The code that caused this warning is on line 96 of the file /usr/src/RPM/BUILD/python3-module-mf2py-1.0.5/mf2py/parser.py. To get rid of this warning, pass the additional argument 'features="lxml"' to the BeautifulSoup constructor. features=html_parser) ok ---------------------------------------------------------------------- Ran 76 tests in 0.920s OK + exit 0 Processing files: python3-module-mf2py-1.0.5-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.30659 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mf2py-1.0.5 + DOCDIR=/usr/src/tmp/python3-module-mf2py-buildroot/usr/share/doc/python3-module-mf2py-1.0.5 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-mf2py-buildroot/usr/share/doc/python3-module-mf2py-1.0.5 + /bin/mkdir -p /usr/src/tmp/python3-module-mf2py-buildroot/usr/share/doc/python3-module-mf2py-1.0.5 + cp -prL AUTHORS CHANGELOG.md README.md doc/source/index.rst /usr/src/tmp/python3-module-mf2py-buildroot/usr/share/doc/python3-module-mf2py-1.0.5 + chmod -R go-w /usr/src/tmp/python3-module-mf2py-buildroot/usr/share/doc/python3-module-mf2py-1.0.5 + chmod -R a+rX /usr/src/tmp/python3-module-mf2py-buildroot/usr/share/doc/python3-module-mf2py-1.0.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Duwsp7 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sZZEq4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__init__.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__init__.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/__init__.py: line=10 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py: line=7 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py: line=12 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/backcompat.py: line=14 IGNORE (for REQ=slight and deep=8) module=urllib.parse python3.req: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/dom_helpers.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py: line=3 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py: line=7 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/implied_properties.py: line=9 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py: line=4 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py: line=9 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parse_property.py: line=13 IGNORE (for REQ=slight and deep=8) module=urllib.parse python3.req: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parser.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parser.py: line=14 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/parser.py: line=18 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mf2py-buildroot/usr/lib/python3/site-packages/mf2py/temp_fixes.py: line=1 possible relative import from ., UNIMPLEMENTED Provides: python3(mf2py), python3(mf2py.backcompat), python3(mf2py.dom_helpers), python3(mf2py.http_server), python3(mf2py.implied_properties), python3(mf2py.mf2_classes), python3(mf2py.mf_helpers), python3(mf2py.parse_property), python3(mf2py.parser), python3(mf2py.temp_fixes), python3(mf2py.version) Requires: python3(html5lib) < 0, python3(requests) < 0, python3(bs4) < 0, python3(flask) < 0, python3(gunicorn) < 0, /usr/lib/python3/site-packages, python3(bs4.element) < 0, python3(json) < 0, python3(os) < 0, python3(re) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-mf2py-1.0.5-alt2.noarch.rpm 14.19user 1.08system 0:19.81elapsed 77%CPU (0avgtext+0avgdata 31076maxresident)k 0inputs+0outputs (0major+164280minor)pagefaults 0swaps 29.34user 8.47system 0:42.85elapsed 88%CPU (0avgtext+0avgdata 109440maxresident)k 184inputs+0outputs (0major+591747minor)pagefaults 0swaps