<86>Apr 21 01:29:58 userdel[22117]: delete user 'rooter' <86>Apr 21 01:29:58 userdel[22117]: removed group 'rooter' owned by 'rooter' <86>Apr 21 01:29:58 userdel[22117]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 01:29:58 groupadd[22135]: group added to /etc/group: name=rooter, GID=555 <86>Apr 21 01:29:58 groupadd[22135]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:29:58 groupadd[22135]: new group: name=rooter, GID=555 <86>Apr 21 01:29:58 useradd[22152]: new user: name=rooter, UID=555, GID=555, home=/root, shell=/bin/bash <86>Apr 21 01:29:58 userdel[22183]: delete user 'builder' <86>Apr 21 01:29:58 userdel[22183]: removed group 'builder' owned by 'builder' <86>Apr 21 01:29:58 userdel[22183]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:29:58 groupadd[22200]: group added to /etc/group: name=builder, GID=556 <86>Apr 21 01:29:58 groupadd[22200]: group added to /etc/gshadow: name=builder <86>Apr 21 01:29:58 groupadd[22200]: new group: name=builder, GID=556 <86>Apr 21 01:29:58 useradd[22210]: new user: name=builder, UID=556, GID=556, home=/usr/src, shell=/bin/bash <13>Apr 21 01:30:02 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 01:30:02 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 01:30:02 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:30:02 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:30:02 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:02 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:30:02 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:30:02 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:30:02 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:30:02 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:30:02 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 01:30:02 groupadd[31611]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:30:02 groupadd[31611]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:30:02 groupadd[31611]: new group: name=_keytab, GID=499 <13>Apr 21 01:30:03 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:30:03 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:30:03 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:30:03 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:03 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 21 01:30:04 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:30:04 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 01:30:04 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:30:04 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:04 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 01:30:04 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 01:30:04 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 01:30:05 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:30:05 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 01:30:05 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed Installing python-module-repoze.cssutils-1.0a6-alt2.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.58012 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-repoze.cssutils-1.0a6 + echo 'Source #0 (python-module-repoze.cssutils-1.0a6.tar):' Source #0 (python-module-repoze.cssutils-1.0a6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-repoze.cssutils-1.0a6.tar + cd python-module-repoze.cssutils-1.0a6 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -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 ../python3/src/repoze/cssutils/tests/test_css_with_minidom.py RefactoringTool: Refactored ../python3/src/repoze/cssutils/tests/test_css_media.py RefactoringTool: No changes to ../python3/src/repoze/cssutils/tests/test_css_errors.py RefactoringTool: Refactored ../python3/src/repoze/cssutils/tests/test_css_cascade.py --- ../python3/src/repoze/cssutils/tests/test_css_with_minidom.py (original) +++ ../python3/src/repoze/cssutils/tests/test_css_with_minidom.py (refactored) @@ -81,42 +81,42 @@ """ -documentParsedWithCSS = (u'slideshow', +documentParsedWithCSS = ('slideshow', {'bgcolor': 'black', 'fgcolor': 'white'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('80', 'pt'), 'fgcolor': 'white'}, []), - (u'slide', + ('slide', {'bgcolor': 'black', 'image': 'page-image.png', 'fgcolor': 'white'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('40', 'pt'), 'fgcolor': 'white'}, []), - (u'point', - {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, - []), - (u'point', + ('point', + {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, + []), + ('point', {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, [])]), - (u'slide', + ('slide', {'bgcolor': 'black', 'image': 'page-image.png', 'fgcolor': 'white'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('40', 'pt'), 'fgcolor': 'white'}, []), - (u'point', - {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, - []), - (u'point', - {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, - []), - (u'point', + ('point', + {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, + []), + ('point', + {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, + []), + ('point', {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, [])]), - (u'slide', + ('slide', {'bgcolor': 'black', 'image': 'last-page-image.png', 'fgcolor': 'yellow'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('40', 'pt'), 'fgcolor': 'yellow'}, []), - (u'point', + ('point', {'bgcolor': 'yellow', 'font-size': 'xx-large', 'fgcolor': 'red'}, []) ] @@ -199,7 +199,7 @@ del xml.dom.minidom.Element.getCSSAttr def test(self): - slideshow = visitElementNodes(self.dom, cssCascade=self.cssCascade).next() + slideshow = next(visitElementNodes(self.dom, cssCascade=self.cssCascade)) self.assertEqual(slideshow, documentParsedWithCSS) --- ../python3/src/repoze/cssutils/tests/test_css_media.py (original) +++ ../python3/src/repoze/cssutils/tests/test_css_media.py (refactored) @@ -44,7 +44,7 @@ try: try: stylesheet = parser.parseFile(cssfile) - except CSSParseError, err: + except CSSParseError as err: assert False, 'CSSParser failed to parse \'%s\':: %s' % (cssfilename, err) finally: cssfile.close() --- ../python3/src/repoze/cssutils/tests/test_css_cascade.py (original) +++ ../python3/src/repoze/cssutils/tests/test_css_cascade.py (refactored) @@ -70,7 +70,8 @@ self.assertCSSAttrValueEqual(result, value='url( %s )'%result) def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme): + (name, params) = xxx_todo_changeme self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -164,7 +165,8 @@ self.assertCSSValueEqual('value: url(%s)'%result, result) def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme1): + (name, params) = xxx_todo_changeme1 self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -198,7 +200,7 @@ def assertSpecifityEqual(self, testcss, goodValue): stylesheet = self.parseCSS(testcss) - for selector in stylesheet.iterkeys(): + for selector in stylesheet.keys(): self.assertEqual(selector.specificity(), goodValue) # Tests @@ -207,23 +209,23 @@ stylesheet = self.parseCSS('node{value: 1}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(declarations, {'value':'1'}) def testMultiple(self): stylesheet = self.parseCSS('nodeA, nodeB, nodeC {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testCommentInString(self): stylesheet = self.parseCSS('node{start: "stuff /* here"; stop: "more */ stuff"; /* not-included: True */}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(len(declarations), 2) @@ -231,14 +233,14 @@ def testMultipleWithNewlines(self): stylesheet = self.parseCSS('nodeA,\nnodeB,\nnodeC\n{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testMultipleBlocks(self): stylesheet = self.parseCSS('nodeA{value: 1}nodeB.myClass{stuff: 2}nodeC#myId{grok:"yes"}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): if selector.name == 'nodeA': self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.qualifiers, ()) @@ -253,21 +255,21 @@ def testId(self): stylesheet = self.parseCSS('node#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testClass(self): stylesheet = self.parseCSS('node.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testClassId(self): stylesheet = self.parseCSS('node.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -275,7 +277,7 @@ def testIdClass(self): stylesheet = self.parseCSS('node#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -283,7 +285,7 @@ def testAttributeExists(self): stylesheet = self.parseCSS('node[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -292,7 +294,7 @@ def testAttributeEqual(self): stylesheet = self.parseCSS('node[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -301,7 +303,7 @@ def testAttributeContains(self): stylesheet = self.parseCSS('node[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -310,7 +312,7 @@ def testAttributeContains2(self): stylesheet = self.parseCSS('node[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -319,7 +321,7 @@ def testPseudo(self): stylesheet = self.parseCSS('node:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -327,21 +329,21 @@ def testPseudoFn(self): stylesheet = self.parseCSS('node:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('node:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS('node:myPseudo(paramA paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -349,7 +351,7 @@ def testCombinerPlain(self): stylesheet = self.parseCSS('nodeA nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -358,7 +360,7 @@ def testCombinerAdd(self): stylesheet = self.parseCSS('nodeA + nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -367,7 +369,7 @@ def testCombinerGreater(self): stylesheet = self.parseCSS('nodeA > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -387,40 +389,40 @@ def testAnyId(self): stylesheet = self.parseCSS('*#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') stylesheet = self.parseCSS('#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testAnyClass(self): stylesheet = self.parseCSS('*.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') stylesheet = self.parseCSS('.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testAnyClassId(self): stylesheet = self.parseCSS('*.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') self.assertEqual(selector.qualifiers[1].hashId, 'myId') stylesheet = self.parseCSS('.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -428,14 +430,14 @@ def testAnyIdClass(self): stylesheet = self.parseCSS('*#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') self.assertEqual(selector.qualifiers[1].classId, 'myClass') stylesheet = self.parseCSS('#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -443,7 +445,7 @@ def testAnyAttributeExists(self): stylesheet = self.parseCSS('*[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -451,7 +453,7 @@ self.assertEqual(selector.qualifiers[0].value, NotImplemented) stylesheet = self.parseCSS('[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -460,7 +462,7 @@ def testAnyAttributeEqual(self): stylesheet = self.parseCSS('*[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -468,7 +470,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -477,7 +479,7 @@ def testAnyAttributeContains(self): stylesheet = self.parseCSS('*[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -485,7 +487,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -494,7 +496,7 @@ def testAnyAttributeContains2(self): stylesheet = self.parseCSS('*[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -502,7 +504,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -511,14 +513,14 @@ def testAnyPseudo(self): stylesheet = self.parseCSS('*:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ()) stylesheet = self.parseCSS(':myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -526,28 +528,28 @@ def testAnyPseudoFn(self): stylesheet = self.parseCSS('*:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS(':myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('*:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS(':myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -555,7 +557,7 @@ def testAnyCombinerPlain(self): stylesheet = self.parseCSS('* nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -564,7 +566,7 @@ def testAnyCombinerAdd(self): stylesheet = self.parseCSS('* + nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -573,7 +575,7 @@ def testAnyCombinerGreater(self): stylesheet = self.parseCSS('* > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -603,7 +605,7 @@ return ruleset def _atImport(self, import_, mediums, cssParser): - self.assert_(self.parser is cssParser) + self.assertTrue(self.parser is cssParser) self.assertEqual(import_, self.goodImportValue) self.assertEqual(mediums, self.goodMediumValue) if self.cssImportString is not None: @@ -626,7 +628,7 @@ return src, None def _checkResultStylesheet(self, stylesheet): - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) @@ -668,17 +670,17 @@ """ stylesheet = self.parseCSS(testcss) - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations,{'color': 'black'}) if selector.nsPrefix == '': - self.assert_(selector.name in ('*', 'node')) + RefactoringTool: Refactored ../python3/src/repoze/cssutils/tests/test_css.py self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, None) elif selector.nsPrefix == '*': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "*") elif selector.nsPrefix == 'foo': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "foo:namespace") else: self.fail('Invalid state for selector %r'%selector) --- ../python3/src/repoze/cssutils/tests/test_css.py (original) +++ ../python3/src/repoze/cssutils/tests/test_css.py (refactored) @@ -71,7 +71,8 @@ def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme): + (name, params) = xxx_todo_changeme self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -165,7 +166,8 @@ self.assertCSSValueEqual('value: url(%s)'%result, result) def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme1): + (name, params) = xxx_todo_changeme1 self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -199,7 +201,7 @@ def assertSpecifityEqual(self, testcss, goodValue): stylesheet = self.parseCSS(testcss) - for selector in stylesheet.iterkeys(): + for selector in stylesheet.keys(): self.assertEqual(selector.specificity(), goodValue) # Tests @@ -208,23 +210,23 @@ stylesheet = self.parseCSS('node{value: 1}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(declarations, {'value':'1'}) def testMultiple(self): stylesheet = self.parseCSS('nodeA, nodeB, nodeC {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testCommentInString(self): stylesheet = self.parseCSS('node{start: "stuff /* here"; stop: "more */ stuff"; /* not-included: True */}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(len(declarations), 2) @@ -232,14 +234,14 @@ def testMultipleWithNewlines(self): stylesheet = self.parseCSS('nodeA,\nnodeB,\nnodeC\n{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testMultipleBlocks(self): stylesheet = self.parseCSS('nodeA{value: 1}nodeB.myClass{stuff: 2}nodeC#myId{grok:"yes"}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): if selector.name == 'nodeA': self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.qualifiers, ()) @@ -254,21 +256,21 @@ def testId(self): stylesheet = self.parseCSS('node#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testClass(self): stylesheet = self.parseCSS('node.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testClassId(self): stylesheet = self.parseCSS('node.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -276,7 +278,7 @@ def testIdClass(self): stylesheet = self.parseCSS('node#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -284,7 +286,7 @@ def testAttributeExists(self): stylesheet = self.parseCSS('node[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -293,7 +295,7 @@ def testAttributeEqual(self): stylesheet = self.parseCSS('node[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -302,7 +304,7 @@ def testAttributeContains(self): stylesheet = self.parseCSS('node[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -311,7 +313,7 @@ def testAttributeContains2(self): stylesheet = self.parseCSS('node[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -320,7 +322,7 @@ def testPseudo(self): stylesheet = self.parseCSS('node:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -328,21 +330,21 @@ def testPseudoFn(self): stylesheet = self.parseCSS('node:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('node:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS('node:myPseudo(paramA paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -350,7 +352,7 @@ def testCombinerPlain(self): stylesheet = self.parseCSS('nodeA nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -359,7 +361,7 @@ def testCombinerAdd(self): stylesheet = self.parseCSS('nodeA + nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -368,7 +370,7 @@ def testCombinerGreater(self): stylesheet = self.parseCSS('nodeA > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -388,40 +390,40 @@ def testAnyId(self): stylesheet = self.parseCSS('*#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') stylesheet = self.parseCSS('#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testAnyClass(self): stylesheet = self.parseCSS('*.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') stylesheet = self.parseCSS('.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testAnyClassId(self): stylesheet = self.parseCSS('*.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') self.assertEqual(selector.qualifiers[1].hashId, 'myId') stylesheet = self.parseCSS('.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -429,14 +431,14 @@ def testAnyIdClass(self): stylesheet = self.parseCSS('*#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') self.assertEqual(selector.qualifiers[1].classId, 'myClass') stylesheet = self.parseCSS('#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -444,7 +446,7 @@ def testAnyAttributeExists(self): stylesheet = self.parseCSS('*[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -452,7 +454,7 @@ self.assertEqual(selector.qualifiers[0].value, NotImplemented) stylesheet = self.parseCSS('[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -461,7 +463,7 @@ def testAnyAttributeEqual(self): stylesheet = self.parseCSS('*[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -469,7 +471,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -478,7 +480,7 @@ def testAnyAttributeContains(self): stylesheet = self.parseCSS('*[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -486,7 +488,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -495,7 +497,7 @@ def testAnyAttributeContains2(self): stylesheet = self.parseCSS('*[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -503,7 +505,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -512,14 +514,14 @@ def testAnyPseudo(self): stylesheet = self.parseCSS('*:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ()) stylesheet = self.parseCSS(':myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -527,28 +529,28 @@ def testAnyPseudoFn(self): stylesheet = self.parseCSS('*:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS(':myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('*:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS(':myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -556,7 +558,7 @@ def testAnyCombinerPlain(self): stylesheet = self.parseCSS('* nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -565,7 +567,7 @@ def testAnyCombinerAdd(self): stylesheet = self.parseCSS('* + noRefactoringTool: Refactored ../python3/src/repoze/cssutils/parser.py deB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -574,7 +576,7 @@ def testAnyCombinerGreater(self): stylesheet = self.parseCSS('* > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -604,7 +606,7 @@ return ruleset def _atImport(self, import_, mediums, cssParser): - self.assert_(self.parser is cssParser) + self.assertTrue(self.parser is cssParser) self.assertEqual(import_, self.goodImportValue) self.assertEqual(mediums, self.goodMediumValue) if self.cssImportString is not None: @@ -627,7 +629,7 @@ return src, None def _checkResultStylesheet(self, stylesheet): - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) @@ -669,17 +671,17 @@ """ stylesheet = self.parseCSS(testcss) - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations,{'color': 'black'}) if selector.nsPrefix == '': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, None) elif selector.nsPrefix == '*': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "*") elif selector.nsPrefix == 'foo': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "foo:namespace") else: self.fail('Invalid state for selector %r'%selector) --- ../python3/src/repoze/cssutils/parser.py (original) +++ ../python3/src/repoze/cssutils/parser.py (refactored) @@ -415,9 +415,9 @@ _orRule = lambda *args: '|'.join(args) _reflags = re.I | re.M | re.U i_hex = '[0-9a-fA-F]' - i_nonascii = u'[\200-\377]' + i_nonascii = '[\200-\377]' i_unicode = '\\\\(?:%s){1,6}\s?' % i_hex - i_escape = _orRule(i_unicode, u'\\\\[ -~\200-\377]') + i_escape = _orRule(i_unicode, '\\\\[ -~\200-\377]') i_nmstart = _orRule('[-A-Za-z_]', i_nonascii, i_escape) i_nmchar = _orRule('[-0-9A-Za-z_]', i_nonascii, i_escape) i_ident = '((?:%s)(?:%s)*)' % (i_nmstart,i_nmchar) @@ -432,11 +432,11 @@ re_hash = re.compile(i_hash, _reflags) i_rgbcolor = '(#%s{6}|#%s{3})' % (i_hex, i_hex) re_rgbcolor = re.compile(i_rgbcolor, _reflags) - i_nl = u'\n|\r\n|\r|\f' - i_escape_nl = u'\\\\(?:%s)' % i_nl - i_string_content = _orRule(u'[\t !#$%&(-~]', i_escape_nl, i_nonascii, i_escape) - i_string1 = u'\"((?:%s|\')*)\"' % i_string_content - i_string2 = u'\'((?:%s|\")*)\'' % i_string_content + i_nl = '\n|\r\n|\r|\f' + i_escape_nl = '\\\\(?:%s)' % i_nl + i_string_content = _orRule('[\t !#$%&(-~]', i_escape_nl, i_nonascii, i_escape) + i_string1 = '\"((?:%s|\')*)\"' % i_string_content + i_string2 = '\'((?:%s|\")*)\'' % i_string_content i_string = _orRule(i_string1, i_string2) re_string = re.compile(i_string, _reflags) @@ -4RefactoringTool: Refactored ../python3/src/repoze/cssutils/dom.py 45,33 +445,33 @@ i_string_unexpectedEnd = _orRule(i_string1_unexpectedEnd, i_string2_unexpectedEnd) re_string_unexpectedEnd = re.compile(i_string_unexpectedEnd, _reflags) - i_uri = (u'url\\(\s*(?:(?:%s)|((?:%s)+))\s*\\)' + i_uri = ('url\\(\s*(?:(?:%s)|((?:%s)+))\s*\\)' % (i_string, _orRule('[!#$%&*-~]', i_nonascii, i_escape))) re_uri = re.compile(i_uri, _reflags) - i_num = u'([-+]?[0-9]+(?:\\.[0-9]+)?)|([-+]?\\.[0-9]+)' + i_num = '([-+]?[0-9]+(?:\\.[0-9]+)?)|([-+]?\\.[0-9]+)' re_num = re.compile(i_num, _reflags) i_unit = '(%%|%s)?' % i_ident re_unit = re.compile(i_unit, _reflags) i_function = i_ident + '\\(' re_function = re.compile(i_function, _reflags) - i_functionterm = u'[-+]?' + i_function + i_functionterm = '[-+]?' + i_function re_functionterm = re.compile(i_functionterm, _reflags) i_unicoderange1 = "(?:U\\+%s{1,6}-%s{1,6})" % (i_hex, i_hex) i_unicoderange2 = "(?:U\\+\?{1,6}|{h}(\?{0,5}|{h}(\?{0,4}|{h}(\?{0,3}|{h}(\?{0,2}|{h}(\??|{h}))))))" i_unicoderange = i_unicoderange1 # u'(%s|%s)' % (i_unicoderange1, i_unicoderange2) re_unicoderange = re.compile(i_unicoderange, _reflags) - i_important = u'!\s*(important)' + i_important = '!\s*(important)' re_important = re.compile(i_important, _reflags) - i_comment = u'\\s*(?:\\s*\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/\\s*)*' + i_comment = '\\s*(?:\\s*\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/\\s*)*' re_comment = re.compile(i_comment, _reflags) - i_declarationError = u'((?:[^;{}]*(?:{[^}]*})?)*)' + i_declarationError = '((?:[^;{}]*(?:{[^}]*})?)*)' re_declarationError = re.compile(i_declarationError, _reflags) - i_atKeywordErrorStart = u'([^;{]*[;{])' + i_atKeywordErrorStart = '([^;{]*[;{])' re_atKeywordErrorStart = re.compile(i_atKeywordErrorStart, _reflags) - i_atKeywordErrorGroup = u'([^{}]*[{}])' + i_atKeywordErrorGroup = '([^{}]*[{}])' re_atKeywordErrorGroup = re.compile(i_atKeywordErrorGroup, _reflags) del _orRule @@ -531,7 +531,7 @@ try: try: src, stylesheet = self._parseStylesheet(src) - except self.ParseError, err: + except self.ParseError as err: err.setFullCSSSource(src) raise finally: @@ -553,7 +553,7 @@ try: try: src, declarations = self._parseDeclarationGroup(self._stripCSS(src), braces=False) - except self.ParseError, err: + except self.ParseError as err: err.setFullCSSSource(src, inline=True) raise @@ -584,12 +584,12 @@ try: properties = [] try: - for propertyName, src in kwAttributes.iteritems(): + for propertyName, src in kwAttributes.items(): src, property = self._parseDeclarationProperty(self._stripCSS(src), propertyName) if property is not None: properties.append(property) - except self.ParseError, err: + except self.ParseError as err: err.setFullCSSSource(src, inline=True) raise @@ -1304,7 +1304,7 @@ result = rexpression.match(src) if result: - strres = filter(None, result.groups()) + strres = [_f for _f in result.groups() if _f] if strres: strres = strres[0] else: --- ../python3/src/repoze/cssutils/dom.py (original) +++ ../python3/src/repoze/cssutils/dom.py (refactored) @@ -36,7 +36,8 @@ def __init__(self, domElement): self.domElement = domElement - def matchesNode(self, (namespace, tagName)): + def matchesNode(self, xxx_todo_changeme): + (namespace, tagName) = xxx_todo_changeme if tagName not in ('*', self.domElement.tagName): return False RefactoringTool: Refactored ../python3/src/repoze/cssutils/css.py RefactoringTool: Refactored ../python3/src/repoze/cssutils/common/testrunner.py if namespace in (None, '', '*'): --- ../python3/src/repoze/cssutils/css.py (original) +++ ../python3/src/repoze/cssutils/css.py (refactored) @@ -197,7 +197,7 @@ rules = self.findCSSRulesForEach(element, attrNames) return [(attrName, self._extractStyleForRule(rule, attrName, default)) - for attrName, rule in rules.iteritems()] + for attrName, rule in rules.items()] def findAllCSSRulesFor(self, element, bSorted=False): result = self._findAllCSSRulesFor(element) @@ -594,7 +594,7 @@ class CSSDeclarations(dict): def copy(self): - return self.__class__(self.iteritems()) + return self.__class__(iter(self.items())) class CSSRuleset(dict): @@ -606,17 +606,17 @@ def copy(self): result = self.__class__() - for nodeFilter, declarations in self.iteritems(): + for nodeFilter, declarations in self.items(): result[nodeFilter] = declarations.copy() def findAllCSSRulesFor(self, element): - for nodeFilter, declarations in self.iteritems(): + for nodeFilter, declarations in self.items(): if (nodeFilter.matches(element)): yield (nodeFilter, declarations) def findCSSRulesFor(self, element, attrName): ruleResults = [] - for nodeFilter, declarations in self.iteritems(): + for nodeFilter, declarations in self.items(): if (attrName in declarations) and (nodeFilter.matches(element)): ruleResults.append((nodeFilter, declarations)) ruleResults.sort() @@ -628,7 +628,7 @@ return self.findCSSRulesFor(element, attrName)[-1:] def merge(self, ruleset): - for rhsNodeFilter, rhsDelcarations in ruleset.iteritems(): + for rhsNodeFilter, rhsDelcarations in ruleset.items(): declarations = self.setdefault(rhsNodeFilter, rhsDelcarations) if declarations is not rhsDelcarations: declarations.update(rhsDelcarations) @@ -636,7 +636,7 @@ class CSSInlineRuleset(CSSRuleset, CSSDeclarations): def copy(self): - return self.__class__(self.iteritems()) + return self.__class__(iter(self.items())) def findAllCSSRulesFor(self, element): yield (CSSInlineSelector(), self) @@ -672,22 +672,22 @@ self.__class__(self.normal.copy(), self.important.copy()) def values(self): - return list(self.itervalues()) + return list(self.values()) def keys(self): - return list(self.iterkeys()) + return list(self.keys()) def items(self): - return list(self.iteritems()) + return list(self.items()) def iterkeys(self): - return itertools.chain(self.important.iterkeys(), self.normal.iterkeys()) + return itertools.chain(iter(self.important.keys()), iter(self.normal.keys())) def itervalues(self): - return itertools.chain(self.important.itervalues(), self.normal.itervalues()) + return itertools.chain(iter(self.important.values()), iter(self.normal.values())) def iteritems(self): - return itertools.chain(self.important.iteritems(), self.normal.iteritems()) + return itertools.chain(iter(self.important.items()), iter(self.normal.items())) def __getitem__(self, key): if key in self.important: --- ../python3/src/repoze/cssutils/common/testrunner.py (original) +++ ../python3/src/repoze/cssutils/common/testrunner.py (refactored) @@ -28,7 +28,7 @@ return self.suiteClass(tests) def loadTestFromModuleVariable(self, name, obj): - if isinstance(obj, (type, types.ClassType)): + if isinstance(obj, type): if issubclass(obj, TestCase): return self.loadTestsFromTestCase(obj) elif issubclass(obj, TestSuite): @@ -40,7 +40,7 @@ if issubclass(testCaseClass, TestSuite): raise TypeError("Test cases should not be derived from TestSuite. Maybe you meant to derive from TestCase?") RefactoringTool: Refactored ../python3/src/repoze/cssutils/common/path.py testCaseNames = self.getTestCaseNames(testCaseClass) - return self.suiteClass(map(testCaseClass, testCaseNames)) + return self.suiteClass(list(map(testCaseClass, testCaseNames))) defaultTestLoader = TestLoader() @@ -82,7 +82,7 @@ try: testmodule = __import__(testmodule.name[:-3], {}, {}, None) result.append(self.testLoader.loadTestsFromModule(testmodule)) - except StandardError: + except Exception: traceback.print_exc() sys.path.pop(0) @@ -90,7 +90,7 @@ for testpackage in testdir.dirs(): result.append(self.__class__(testpackage, self.recurse, self.testLoader)) - result = filter(None, result) + result = [_f for _f in result if _f] result.sort(self.sortTestsUsing) return self.addTests(result) @@ -139,8 +139,8 @@ self.runTests() def usageExit(self, msg=None): - if msg: print msg - print self.USAGE % {'progName': path.path(sys.argv[0]).name} + if msg: print(msg) + print(self.USAGE % {'progName': path.path(sys.argv[0]).name}) sys.exit(2) def parseArgs(self, argv): @@ -160,7 +160,7 @@ self.verbosity = 2 elif opt in ('-r','--recurse'): self.recurse = int(value) - except getopt.error, msg: + except getopt.error as msg: self.usageExit(msg) def createTests(self): --- ../python3/src/repoze/cssutils/common/path.py (original) +++ ../python3/src/repoze/cssutils/common/path.py (refactored) @@ -34,7 +34,7 @@ # it doesn't play nice with other types that implement # __radd__(). Test this. -from __future__ import generators + import sys, os, fnmatch, glob, shutil, codecs @@ -45,15 +45,15 @@ _base = str try: if os.path.supports_unicode_filenames: - _base = unicode + _base = str except AttributeError: pass # Pre-2.3 workaround for basestring. try: - basestring + str except NameError: - basestring = (str, unicode) + str = (str, str) # Universal newline support _textmode = 'r' @@ -393,7 +393,7 @@ For example, path('/users').glob('*/bin/*') returns a list of all the files users have in their bin directories. """ - return map(path, glob.glob(_base(self / pattern))) + return list(map(path, glob.glob(_base(self / pattern)))) # --- Reading or writing an entire file at once. @@ -457,11 +457,11 @@ t = f.read() finally: f.close() - return (t.replace(u'\r\n', u'\n') - .replace(u'\r\x85', u'\n') - .replace(u'\r', u'\n') - .replace(u'\x85', u'\n') - .replace(u'\u2028', u'\n')) + return (t.replace('\r\n', '\n') + .replace('\r\x85', '\n') + .replace('\r', '\n') + .replace('\x85', '\n') + .replace('\u2028', '\n')) def write_text(self, text, encoding=None, errors='strict', linesep=os.linesep, append=False): """ Write the given text to this file. @@ -508,7 +508,7 @@ This applies to Unicode text the same as to 8-bit text, except there are three additional standard Unicode end-of-line sequences: - u'\x85', u'\r\x85', and u'\u2028'. + u'\x85', u'\r\x85', and u'\\u2028'. (This is slightly different from when you open a file for writing with fopen(filename, "w") in C or file(filename, 'w') @@ -527,16 +527,16 @@ conversion. """ - if isinstance(text, unicode): + if isinstance(text, str): if linesep is not None: # Convert all standard end-of-line sequences to # ordinary newline characters. - text = (text.replace(u'\r\n', u'\n') - .replace(u'\r\x85', u'\n') - .replace(u'\r', u'\n') -RefactoringTool: No changes to ../python3/src/repoze/__init__.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/src/repoze/cssutils/tests/test_css_with_minidom.py RefactoringTool: ../python3/src/repoze/cssutils/tests/test_css_media.py RefactoringTool: ../python3/src/repoze/cssutils/tests/test_css_errors.py RefactoringTool: ../python3/src/repoze/cssutils/tests/test_css_cascade.py RefactoringTool: ../python3/src/repoze/cssutils/tests/test_css.py RefactoringTool: ../python3/src/repoze/cssutils/parser.py RefactoringTool: ../python3/src/repoze/cssutils/dom.py RefactoringTool: ../python3/src/repoze/cssutils/css.py RefactoringTool: ../python3/src/repoze/cssutils/common/testrunner.py RefactoringTool: ../python3/src/repoze/cssutils/common/path.py RefactoringTool: ../python3/src/repoze/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/bootstrap.py .replace(u'\x85', u'\n') - .replace(u'\u2028', u'\n')) - text = text.replace(u'\n', linesep) + text = (text.replace('\r\n', '\n') + .replace('\r\x85', '\n') + .replace('\r', '\n') + .replace('\x85', '\n') + .replace('\u2028', '\n')) + text = text.replace('\n', linesep) if encoding is None: encoding = sys.getdefaultencoding() bytes = text.encode(encoding, errors) @@ -598,7 +598,7 @@ linesep - The desired line-ending. This line-ending is applied to every line. If a line already has any standard line ending ('\r', '\n', '\r\n', u'\x85', - u'\r\x85', u'\u2028'), that will be stripped off and + u'\r\x85', u'\\u2028'), that will be stripped off and this will be used instead. The default is os.linesep, which is platform-dependent ('\r\n' on Windows, '\n' on Unix, etc.) Specify None to write the lines as-is, @@ -619,15 +619,15 @@ f = self.open(mode) try: for line in lines: - isUnicode = isinstance(line, unicode) + isUnicode = isinstance(line, str) if linesep is not None: # Strip off any existing line-end and add the # specified linesep string. if isUnicode: - if line[-2:] in (u'\r\n', u'\x0d\x85'): + if line[-2:] in ('\r\n', '\x0d\x85'): line = line[:-2] - elif line[-1:] in (u'\r', u'\n', - u'\x85', u'\u2028'): + elif line[-1:] in ('\r', '\n', + '\x85', '\u2028'): line = line[:-1] else: if line[-2:] == '\r\n': @@ -725,10 +725,10 @@ # --- Create/delete operations on directories - def mkdir(self, mode=0777): + def mkdir(self, mode=0o777): os.mkdir(self, mode) - def makedirs(self, mode=0777): + def makedirs(self, mode=0o777): os.makedirs(self, mode) def rmdir(self): @@ -744,7 +744,7 @@ """ Set the access/modified times of this file to the current time. Create the file if it does not exist. """ - fd = os.open(self, os.O_WRONLY | os.O_CREAT, 0666) + fd = os.open(self, os.O_WRONLY | os.O_CREAT, 0o666) os.close(fd) os.utime(self, None) --- ../python3/bootstrap.py (original) +++ ../python3/bootstrap.py (refactored) @@ -20,13 +20,13 @@ $Id: bootstrap.py 1 2009-01-09 03:28:44Z fairwinds $ """ -import os, shutil, sys, tempfile, urllib2 +import os, shutil, sys, tempfile, urllib.request, urllib.error, urllib.parse tmpeggs = tempfile.mkdtemp() ez = {} -exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' - ).read() in ez +exec(urllib.request.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' + ).read(), ez) ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) import pkg_resources + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.3347 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.cssutils-1.0a6 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/repoze copying src/repoze/__init__.py -> build/lib/repoze creating build/lib/repoze/cssutils copying src/repoze/cssutils/parser.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/dom.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/css.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/__init__.py -> build/lib/repoze/cssutils creating build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_with_minidom.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_media.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_errors.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_cascade.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/__init__.py -> build/lib/repoze/cssutils/tests creating build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/testrunner.py -> build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/path.py -> build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/__init__.py -> build/lib/repoze/cssutils/common running egg_info writing requirements to src/repoze.cssutils.egg-info/requires.txt writing src/repoze.cssutils.egg-info/PKG-INFO writing namespace_packages to src/repoze.cssutils.egg-info/namespace_packages.txt writing top-level names to src/repoze.cssutils.egg-info/top_level.txt writing dependency_links to src/repoze.cssutils.egg-info/dependency_links.txt reading manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' writing manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.cssutils-1.0a6 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/repoze copying src/repoze/__init__.py -> build/lib/repoze creating build/lib/repoze/cssutils copying src/repoze/cssutils/parser.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/dom.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/css.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/__init__.py -> build/lib/repoze/cssutils creating build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_with_minidom.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_media.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_errors.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_cascade.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/__init__.py -> build/lib/repoze/cssutils/tests creating build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/testrunner.py -> build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/path.py -> build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/__init__.py -> build/lib/repoze/cssutils/common running egg_info writing src/repoze.cssutils.egg-info/PKG-INFO writing namespace_packages to src/repoze.cssutils.egg-info/namespace_packages.txt writing requirements to src/repoze.cssutils.egg-info/requires.txt writing top-level names to src/repoze.cssutils.egg-info/top_level.txt writing dependency_links to src/repoze.cssutils.egg-info/dependency_links.txt reading manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' writing manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' + popd ~/RPM/BUILD/python-module-repoze.cssutils-1.0a6 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.89645 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-repoze.cssutils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-repoze.cssutils-buildroot + cd python-module-repoze.cssutils-1.0a6 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.cssutils-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/__init__.py (namespace package) copying repoze/cssutils/__init__.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils copying repoze/cssutils/css.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils copying repoze/cssutils/dom.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils copying repoze/cssutils/parser.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils copying repoze/cssutils/common/__init__.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/common copying repoze/cssutils/common/path.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/common copying repoze/cssutils/common/testrunner.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/common copying repoze/cssutils/tests/__init__.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_cascade.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_errors.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_media.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_with_minidom.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/css.py to css.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/dom.py to dom.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/parser.py to parser.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/common/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/common/path.py to path.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/common/testrunner.py to testrunner.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests/test_css.py to test_css.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests/test_css_cascade.py to test_css_cascade.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests/test_css_errors.py to test_css_errors.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests/test_css_media.py to test_css_media.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze/cssutils/tests/test_css_with_minidom.py to test_css_with_minidom.pyc running install_egg_info running egg_info writing requirements to src/repoze.cssutils.egg-info/requires.txt writing src/repoze.cssutils.egg-info/PKG-INFO writing namespace_packages to src/repoze.cssutils.egg-info/namespace_packages.txt writing top-level names to src/repoze.cssutils.egg-info/top_level.txt writing dependency_links to src/repoze.cssutils.egg-info/dependency_links.txt reading manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' writing manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' Copying src/repoze.cssutils.egg-info to /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze.cssutils-1.0a6-py2.7.egg-info Installing /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze.cssutils-1.0a6-py2.7-nspkg.pth running install_scripts + install -d /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages + mv /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze.cssutils-1.0a6-py2.7-nspkg.pth /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python2.7/site-packages/repoze.cssutils-1.0a6-py2.7.egg-info /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/ + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.cssutils-1.0a6 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.cssutils-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/__init__.py (namespace package) copying repoze/cssutils/__init__.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/css.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/dom.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/parser.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/common/__init__.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common copying repoze/cssutils/common/path.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common copying repoze/cssutils/common/testrunner.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common copying repoze/cssutils/tests/__init__.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_cascade.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_errors.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_media.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_with_minidom.py -> /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/css.py to css.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/dom.py to dom.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/parser.py to parser.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common/path.py to path.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common/testrunner.py to testrunner.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css.py to test_css.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py to test_css_cascade.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_errors.py to test_css_errors.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_media.py to test_css_media.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py to test_css_with_minidom.cpython-35.pyc running install_egg_info running egg_info writing requirements to src/repoze.cssutils.egg-info/requires.txt writing src/repoze.cssutils.egg-info/PKG-INFO writing dependency_links to src/repoze.cssutils.egg-info/dependency_links.txt writing namespace_packages to src/repoze.cssutils.egg-info/namespace_packages.txt writing top-level names to src/repoze.cssutils.egg-info/top_level.txt reading manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' writing manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' Copying src/repoze.cssutils.egg-info to /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info Installing /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.5-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-repoze.cssutils-1.0a6 + install -d /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages + mv /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.5-nspkg.pth /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-repoze.cssutils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-repoze.cssutils-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-repoze.cssutils-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-repoze.cssutils-buildroot ./usr/lib64: ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-repoze.cssutils-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-repoze.cssutils-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/__init__.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/path.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/testrunner.pyc compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/testrunner.py unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/__init__.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_cascade.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_errors.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_media.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_with_minidom.pyc compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_with_minidom.py unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/__init__.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/css.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/dom.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/parser.pyc compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/parser.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-repoze.cssutils-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/testrunner.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_with_minidom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/parser.py Bytecompiling python3 modules in /usr/src/tmp/python-module-repoze.cssutils-buildroot using python3 unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-35.pyc compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-35.pyc compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-repoze.cssutils-buildroot using python3 -O compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-repoze.cssutils-buildroot using python3 -OO compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/repoze/cssutils/parser.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/parser.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/dom.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/dom.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/__init__.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/__init__.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_with_minidom.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_with_minidom.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_errors.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_errors.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_cascade.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_cascade.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/__init__.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/tests/__init__.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/common/testrunner.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/common/testrunner.pyc' './usr/lib64/python2.7/site-packages/repoze/cssutils/common/__init__.pyo' => './usr/lib64/python2.7/site-packages/repoze/cssutils/common/__init__.pyc' Processing files: python-module-repoze.cssutils-1.0a6-alt2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.38430 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.cssutils-1.0a6 + DOCDIR=/usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python-module-repoze.cssutils-1.0a6 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python-module-repoze.cssutils-1.0a6 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python-module-repoze.cssutils-1.0a6 + cp -prL CHANGES.txt CREDITS.txt README.txt docs/LICENSE.txt docs/testing.txt /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python-module-repoze.cssutils-1.0a6 + chmod -R go-w /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python-module-repoze.cssutils-1.0a6 + chmod -R a+rX /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python-module-repoze.cssutils-1.0a6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.esHbTn 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.nggZc0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/path.py: skipping sys python.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/testrunner.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/common/testrunner.py: line=147 IGNORE (for REQ=slight and deep=11) module=getopt /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/css.py: line=28 IGNORE (for REQ=slight and deep=8) module=sets /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/parser.py: line=27 IGNORE (for REQ=slight and deep=8) module=sets /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/parser.py: line=341 IGNORE (for REQ=slight and deep=11) module=TG Provides: python2.7(repoze.cssutils), python2.7(repoze.cssutils.common), python2.7(repoze.cssutils.common.path), python2.7(repoze.cssutils.common.testrunner), python2.7(repoze.cssutils.css), python2.7(repoze.cssutils.dom), python2.7(repoze.cssutils.parser) Requires: python2.7(repoze), python2.7(nose), /usr/lib64/python2.7/site-packages, python-modules, python2.7(unittest) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6BQWBF Processing files: python3-module-repoze.cssutils-1.0a6-alt2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.45288 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.cssutils-1.0a6 + DOCDIR=/usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + cp -prL CHANGES.txt CREDITS.txt README.txt docs/LICENSE.txt docs/testing.txt /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + chmod -R go-w /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + chmod -R a+rX /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jK8NPo 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.tD8v8a find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py: skipping sys python3.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [273, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [316, [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [317, [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [318, [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [319, [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [320, [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [321, [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [322, [323, [1, '__import__', 83]], [325, [7, '(', 83], [333, [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'testmodule', 83]], [325, [23, '.', 83], [1, 'name', 83]], [325, [9, '[', 83], [326, [327, [11, ':', 83], [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [15, '-', 83], [320, [321, [322, [323, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [334, [304, [308, [309, [310, [311, [314, [315, [316, [317, [318, [319, [320, [321, [322, [323, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=147 IGNORE (for REQ=slight and deep=11) module=getopt python3.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py: skipping itertools /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py: line=28 IGNORE (for REQ=slight and deep=8) module=sets /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py: line=27 IGNORE (for REQ=slight and deep=8) module=sets /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py: line=341 IGNORE (for REQ=slight and deep=11) module=TG Provides: python3(repoze.cssutils), python3(repoze.cssutils.common), python3(repoze.cssutils.common.path), python3(repoze.cssutils.common.testrunner), python3(repoze.cssutils.css), python3(repoze.cssutils.dom), python3(repoze.cssutils.parser), python3.3(repoze.cssutils), python3.3(repoze.cssutils.common), python3.3(repoze.cssutils.common.path), python3.3(repoze.cssutils.common.testrunner), python3.3(repoze.cssutils.css), python3.3(repoze.cssutils.dom), python3.3(repoze.cssutils.parser) Requires: python3(repoze) < 0, python3(nose) < 0, /usr/lib64/python3/site-packages, python3(codecs) < 0, python3(fnmatch) < 0, python3(glob) < 0, python3(os) < 0, python3(re) < 0, python3(shutil) < 0, python3(traceback) < 0, python3(types) < 0, python3(unittest) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GA5wIa Processing files: python3-module-repoze.cssutils-tests-1.0a6-alt2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LX9zod 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.HdED9i find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py: skipping sys python3.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py: skipping sys python3.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py: skipping sys python3.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py: skipping sys Provides: python3(repoze.cssutils.tests), python3(repoze.cssutils.tests.test_css), python3(repoze.cssutils.tests.test_css_cascade), python3(repoze.cssutils.tests.test_css_errors), python3(repoze.cssutils.tests.test_css_media), python3(repoze.cssutils.tests.test_css_with_minidom), python3.3(repoze.cssutils.tests), python3.3(repoze.cssutils.tests.test_css), python3.3(repoze.cssutils.tests.test_css_cascade), python3.3(repoze.cssutils.tests.test_css_errors), python3.3(repoze.cssutils.tests.test_css_media), python3.3(repoze.cssutils.tests.test_css_with_minidom) Requires: python3-module-repoze.cssutils = 1.0a6-alt2.1, /usr/lib64/python3/site-packages, python3(glob) < 0, python3(os) < 0, python3(repoze) < 0, python3(unittest) < 0, python3(xml) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jK8Yyz Processing files: python-module-repoze.cssutils-tests-1.0a6-alt2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JxYF3S 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.1FTnEf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css.py: skipping sys python.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_cascade.py: skipping sys python.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_errors.py: skipping sys python.req: /usr/src/tmp/python-module-repoze.cssutils-buildroot/usr/lib64/python2.7/site-packages/repoze/cssutils/tests/test_css_media.py: skipping sys Provides: python2.7(repoze.cssutils.tests), python2.7(repoze.cssutils.tests.test_css), python2.7(repoze.cssutils.tests.test_css_cascade), python2.7(repoze.cssutils.tests.test_css_errors), python2.7(repoze.cssutils.tests.test_css_media), python2.7(repoze.cssutils.tests.test_css_with_minidom) Requires: python-module-repoze.cssutils = 1.0a6-alt2.1, /usr/lib64/python2.7/site-packages, python-modules, python2.7(repoze), python2.7(unittest), python2.7(xml) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JGAEkF Removing 4 extra deps from python-module-repoze.cssutils-tests due to repentancy on python-module-repoze.cssutils Removing 5 extra deps from python3-module-repoze.cssutils-tests due to repentancy on python3-module-repoze.cssutils Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.cssutils-1.0a6-alt2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.cssutils-1.0a6-alt2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.cssutils-tests-1.0a6-alt2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.cssutils-tests-1.0a6-alt2.1.x86_64.rpm 22.25user 2.43system 0:36.66elapsed 67%CPU (0avgtext+0avgdata 61768maxresident)k 0inputs+0outputs (0major+403431minor)pagefaults 0swaps 29.89user 7.37system 0:48.80elapsed 76%CPU (0avgtext+0avgdata 124020maxresident)k 0inputs+0outputs (0major+683904minor)pagefaults 0swaps --- python3-module-repoze.cssutils-1.0a6-alt2.1.x86_64.rpm.repo 2016-03-16 02:23:17.000000000 +0000 +++ python3-module-repoze.cssutils-1.0a6-alt2.1.x86_64.rpm.hasher 2019-04-21 01:30:44.762269247 +0000 @@ -1,10 +1,10 @@ /usr/lib64/python3/site-packages/repoze 40755 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info 40755 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info/PKG-INFO 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info/namespace_packages.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info/not-zip-safe 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info/requires.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.3.egg-info/top_level.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info 40755 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info/PKG-INFO 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info/namespace_packages.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info/not-zip-safe 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info/requires.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.5.egg-info/top_level.txt 100644 /usr/lib64/python3/site-packages/repoze/cssutils 40755 @@ -12,8 +12,14 @@ /usr/lib64/python3/site-packages/repoze/cssutils/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-33.pyo 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-35.pyc 100644 /usr/lib64/python3/site-packages/repoze/cssutils/common 40755 @@ -21,6 +27,11 @@ /usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-33.pyo 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-35.pyc 100644 /usr/lib64/python3/site-packages/repoze/cssutils/common/path.py 100644 @@ -36,14 +47,14 @@ /usr/share/doc/python3-module-repoze.cssutils-1.0a6/testing.txt 100644 -Requires: python3.3(repoze) -Requires: python3.3(nose) +Requires: python3(repoze) < 0 +Requires: python3(nose) < 0 Requires: /usr/lib64/python3/site-packages -Requires: python3.3(codecs) -Requires: python3.3(fnmatch) -Requires: python3.3(glob) -Requires: python3.3(os) -Requires: python3.3(re) -Requires: python3.3(shutil) -Requires: python3.3(traceback) -Requires: python3.3(types) -Requires: python3.3(unittest) +Requires: python3(codecs) < 0 +Requires: python3(fnmatch) < 0 +Requires: python3(glob) < 0 +Requires: python3(os) < 0 +Requires: python3(re) < 0 +Requires: python3(shutil) < 0 +Requires: python3(traceback) < 0 +Requires: python3(types) < 0 +Requires: python3(unittest) < 0 Requires: rpmlib(PayloadIsLzma) --- python3-module-repoze.cssutils-tests-1.0a6-alt2.1.x86_64.rpm.repo 2016-03-16 02:23:17.000000000 +0000 +++ python3-module-repoze.cssutils-tests-1.0a6-alt2.1.x86_64.rpm.hasher 2019-04-21 01:30:45.064259578 +0000 @@ -3,12 +3,20 @@ /usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-33.pyo 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-35.pyc 100644 /usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py 100644 @@ -19,3 +27,3 @@ Requires: python3-module-repoze.cssutils = 1.0a6-alt2.1 -Requires: python3.3(xml) +Requires: python3(xml) < 0 Requires: rpmlib(PayloadIsLzma)