<86>Apr 21 01:20:59 userdel[49365]: delete user 'rooter' <86>Apr 21 01:20:59 userdel[49365]: removed group 'rooter' owned by 'rooter' <86>Apr 21 01:20:59 userdel[49365]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 01:20:59 groupadd[49396]: group added to /etc/group: name=rooter, GID=639 <86>Apr 21 01:20:59 groupadd[49396]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:20:59 groupadd[49396]: new group: name=rooter, GID=639 <86>Apr 21 01:20:59 useradd[49415]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Apr 21 01:20:59 userdel[49449]: delete user 'builder' <86>Apr 21 01:20:59 userdel[49449]: removed group 'builder' owned by 'builder' <86>Apr 21 01:20:59 userdel[49449]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:20:59 groupadd[49463]: group added to /etc/group: name=builder, GID=640 <86>Apr 21 01:20:59 groupadd[49463]: group added to /etc/gshadow: name=builder <86>Apr 21 01:20:59 groupadd[49463]: new group: name=builder, GID=640 <86>Apr 21 01:20:59 useradd[49483]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Apr 21 01:21:03 rpmi: python-module-repoze-2.2-alt3.git20140327 1477913181 installed <13>Apr 21 01:21:03 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 01:21:03 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 01:21:03 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Apr 21 01:21:03 rpmi: python-module-google-0.4.0-alt2.1 1457968526 installed <13>Apr 21 01:21:03 rpmi: python-module-sphinx_rtd_theme-0.1.8-alt1.git20150730.1 1457859644 installed <13>Apr 21 01:21:03 rpmi: python-sphinx-objects.inv-2.3.6.20160413-alt1 1460595508 installed <13>Apr 21 01:21:03 rpmi: libxapian-1.2.23-alt1 1459318465 installed <13>Apr 21 01:21:03 rpmi: python-module-xapian-1.2.23-alt1.M80P.1 1503464748 installed <13>Apr 21 01:21:03 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 21 01:21:03 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 21 01:21:03 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 21 01:21:03 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Apr 21 01:21:03 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:21:03 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:21:03 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:03 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:21:03 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:21:03 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:21:03 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:21:04 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:21:04 rpmi: rpm-macros-sphinx-1:1.4-alt8.a0.git20150813 1460726255 installed <13>Apr 21 01:21:04 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 01:21:04 groupadd[61869]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:21:04 groupadd[61869]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:21:04 groupadd[61869]: new group: name=_keytab, GID=499 <13>Apr 21 01:21:04 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:21:04 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:04 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:21:04 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 01:21:04 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:21:05 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 21 01:21:05 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 01:21:05 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 01:21:05 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 21 01:21:05 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-modules-wsgiref-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Apr 21 01:21:05 rpmi: python-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 21 01:21:05 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 21 01:21:05 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-module-paste-1.7.5.1-alt3.hg20140319.1.1 1458058784 installed <13>Apr 21 01:21:05 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Apr 21 01:21:05 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 21 01:21:05 rpmi: python-module-pytz-1:2015.4-alt1.1.1 1460413776 installed <13>Apr 21 01:21:05 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed <13>Apr 21 01:21:05 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 01:21:05 rpmi: python-module-simplejson-3.15.0-alt1.M80P.1 1528995430 installed <13>Apr 21 01:21:05 rpmi: python-module-markupsafe-0.23-alt1.2.1 1459593526 installed <13>Apr 21 01:21:05 rpmi: python-modules-sqlite3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:21:05 rpmi: python-module-SQLAlchemy-1.2.15-alt1 p8+223214.600.2.1 1551354313 installed <13>Apr 21 01:21:05 rpmi: python-module-tempita-0.5.3-alt1.hg20131219.1.1 1458134933 installed <13>Apr 21 01:21:05 rpmi: python-module-webob-1.5.0-alt1.a0.git20150731.1.1 1458168583 installed <13>Apr 21 01:21:06 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 01:21:06 rpmi: python-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Apr 21 01:21:06 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 21 01:21:06 rpmi: python-module-jinja2-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 21 01:21:06 rpmi: python-module-repoze.who-2.2-alt3.git20140327 1477913181 installed <13>Apr 21 01:21:06 rpmi: python-module-PasteDeploy-1:1.5.2-alt1.hg20131227.1.1 1458058702 installed <13>Apr 21 01:21:06 rpmi: python-module-babel-1:2.3.4-alt0.M80P.1 1480881327 installed <13>Apr 21 01:21:06 rpmi: python-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 21 01:21:06 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 21 01:21:06 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 01:21:06 rpmi: python-module-repoze.who-testutil-1.0.2-alt2.svn20100816.1.1 1458101996 installed <13>Apr 21 01:21:07 rpmi: python-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 21 01:21:07 rpmi: python-module-docutils-0.13-alt4.git20150716.1.1 1460400317 installed <13>Apr 21 01:21:07 rpmi: python-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 21 01:21:07 rpmi: python-module-Pygments-2.2.0-alt1.M80P.2 p8.214223.100 1538848792 installed <13>Apr 21 01:21:07 rpmi: python-module-alabaster-0.7.6-alt1.git20150703.1 1457857919 installed <13>Apr 21 01:21:07 rpmi: python-module-sphinx-1:1.4-alt8.a0.git20150813 1460726255 installed Installing python-module-repoze.what-1.0.9-alt3.git20110411.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47999 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-repoze.what-1.0.9 + echo 'Source #0 (python-module-repoze.what-1.0.9.tar):' Source #0 (python-module-repoze.what-1.0.9.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-repoze.what-1.0.9.tar + cd python-module-repoze.what-1.0.9 + /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: No changes to ../python3/tests/test_release.py RefactoringTool: Refactored ../python3/tests/test_predicates.py WARNING: couldn't encode ../python3/tests/test_predicates.py's diff for your terminal RefactoringTool: Refactored ../python3/tests/test_middleware.py RefactoringTool: Refactored ../python3/tests/test_authorize.py RefactoringTool: Refactored ../python3/tests/test_adapters_testutil.py RefactoringTool: Refactored ../python3/tests/test_adapters.py --- ../python3/tests/test_predicates.py (original) +++ ../python3/tests/test_predicates.py (refactored) @@ -43,8 +43,8 @@ p.evaluate(environ, credentials) self.fail('Predicate must not be met; expected error: %s' % expected_error) - except predicates.NotAuthorizedError, error: - self.assertEqual(unicode(error), expected_error) + except predicates.NotAuthorizedError as error: + self.assertEqual(str(error), expected_error) # Testing is_met: self.assertEqual(p.is_met(environ), False) @@ -56,7 +56,7 @@ def test_evaluate_isnt_implemented(self): p = MockPredicate() - self.failUnlessRaises(NotImplementedError, p.evaluate, None, None) + self.assertRaises(NotImplementedError, p.evaluate, None, None) def test_message_is_changeable(self): previous_msg = EqualsTwo.message @@ -70,7 +70,7 @@ self.assertEqual(previous_msg, p.message) def test_unicode_messages(self): --- ../python3/tests/test_middleware.py (original) +++ ../python3/tests/test_middleware.py (refactored) @@ -34,7 +34,7 @@ from repoze.what.middleware import AuthorizationMetadata, setup_auth -from base import FakeAuthenticator, FakeGroupSourceAdapter, \ +from .base import FakeAuthenticator, FakeGroupSourceAdapter, \ FakePermissionSourceAdapter, FakeLogger --- ../python3/tests/test_authorize.py (original) +++ ../python3/tests/test_authorize.py (refactored) @@ -26,8 +26,8 @@ from repoze.what.predicates import has_any_permission, has_permission, \ NotAuthorizedError -from base import FakeLogger -from test_predicates import make_environ +from .base import FakeLogger +from .test_predicates import make_environ class TestAuthorize(unittest.TestCase): @@ -82,7 +82,7 @@ try: check_authorization(p, environ) self.fail('Authorization must have been rejected') - except NotAuthorizedError, e: + except NotAuthorizedError as e: error_msg = 'The user must have the "party" permission' self.assertEqual(str(e), error_msg) # Testing the logs: @@ -92,6 +92,6 @@ def _get_booleanized_has_permission(self, permission, environ): """Return a has_permission instance, booleanized""" class booleanized_has_permission(has_permission): - def __nonzero__(self): + def __bool__(self): return self.is_met(environ) return booleanized_has_permission(permission) --- ../python3/tests/test_adapters_testutil.py (original) +++ ../python3/tests/test_adapters_testutil.py (refactored) @@ -24,7 +24,7 @@ ReadOnlyGroupsAdapterTester, \ ReadOnlyPermissionsAdapterTester -from base import FakeGroupSourceAdapter, FakePermissionSourceAdapter +from .base import FakeGroupSourceAdapter, FakePermissionSourceAdapter #{ Read and write adapters --- ../python3/tests/test_adapters.py (original) +++ ../python3/tests/test_adapters.py (refactored) @@ -23,7 +23,7 @@ from repoze.what.adapters import * -from base import FakeGroupSourceAdapter +from .base import FakeGroupSourceAdapter class TestBaseSourceAdapter(unittest.TestCase): @@ -58,8 +58,8 @@ self.assertEqual(self.adapter.all_sections_loaded, True) def test_getting_section_items(self): - self.assertEqual(self.adapter.get_section_items(u'trolls'), - self.adapter.fake_sections[u'trolls']) + self.assertEqual(self.adapter.get_section_items('trolls'), + self.adapter.fake_sections['trolls']) def test_getting_items_of_non_existing_section(self): self.assertRaises(NonExistingSectionError, @@ -67,65 +67,65 @@ 'non-existing') def test_setting_section_items(self): - items = (u'guido', u'rasmus') - self.adapter.set_section_items(u'trolls', items) - self.assertEqual(self.adapter.fake_sections[u'trolls'], set(items)) + items = ('guido', 'rasmus') + self.adapter.set_section_items('trolls', items) + self.assertEqual(self.adapter.fake_sections['trolls'], set(items)) def test_cache_is_updated_after_setting_section_items(self): # Loading for the first time: - self.adapter.get_section_items(u'developers') + self.adapter.get_section_items('developers') # Adding items... - items = (u'linus', u'rms') - self.adapter.set_section_items(u'developers', items) + items = ('linus', 'rms') + self.adapter.set_section_items('developers', items) # Checking the cache: - self.assertEqual(self.adapter.get_section_items(u'developers'), + self.assertEqual(self.adapter.get_section_items('developers'), set(items)) def test_getting_sections_by_criteria(self): - credentials = {'repoze.what.userid': u'sballmer'} - sections = set([u'trolls']) + credentials = {'repoze.what.userid': 'sballmer'} + sections = set(['trolls']) self.assertEqual(self.adapter.find_sections(credentials), sections) def test_adding_one_item_to_section(self): - self.adapter.include_item(u'developers', u'rasmus') - self.assertEqual(self.adapter.fake_sections[u'developers'], - set((u'linus', u'rasmus', u'rms'))) + self.adapter.include_item('developers', 'rasmus') + self.assertEqual(self.adapter.fake_sections['developers'], + set(('linus', 'rasmus', 'rms'))) def test_adding_many_items_to_section(self): - self.adapter.include_items(u'developers', (u'sballmer', u'guido')) - self.assertEqual(self.adapter.fake_sections[u'developers'], - set((u'rms', u'sballmer', u'linus', u'guido'))) + self.adapter.include_items('developers', ('sballmer', 'guido')) + self.assertEqual(self.adapter.fake_sections['developers'], + set(('rms', 'sballmer', 'linus', 'guido'))) def test_cache_is_updated_after_adding_item(self): # Loading for the first time: - self.adapter.get_section_items(u'developers') + self.adapter.get_section_items('developers') # Now let's add the item: - self.adapter.include_item(u'developers', u'guido') - self.assertEqual(self.adapter.fake_sections[u'developers'], - set((u'linus', u'guido', u'rms'))) + self.adapter.include_item('developers', 'guido') + self.assertEqual(self.adapter.fake_sections['developers'], + set(('linus', 'guido', 'rms'))) # Now checking that the cache was updated: - self.assertEqual(self.adapter.fake_sections[u'developers'], - self.adapter.get_section_items(u'developers')) + self.assertEqual(self.adapter.fake_sections['developers'], + self.adapter.get_section_items('developers')) def test_removing_one_item_from_section(self): - self.adapter.exclude_item(u'developers', u'linus') - self.assertEqual(self.adapter.fake_sections[u'developers'], - set([u'rms'])) + self.adapter.exclude_item('developers', 'linus') + self.assertEqual(self.adapter.fake_sections['developers'], + set(['rms'])) def test_removing_many_items_from_section(self): - self.adapter.exclude_items(u'developers', (u'linus', u'rms')) - self.assertEqual(self.adapter.fake_sections[u'developers'], set()) + self.adapter.exclude_items('developers', ('linus', 'rms')) + self.assertEqual(self.adapter.fake_sections['developers'], set()) def test_cache_is_updated_after_removing_item(self): # Loading for the first time: - self.adapter.get_section_items(u'developers') + self.adapter.get_section_items('developers') # Now let's remove the item: - self.adapter.exclude_item(u'developers', u'rms') - self.assertEqual(self.adapter.fake_sections[u'developers'], - set([u'linus'])) + self.adapter.exclude_item('developers', 'rms') + self.assertEqual(self.adapter.fake_sections['developers'], + set(['linus'])) # Now checking that the cache was updated: - self.assertEqual(self.adapter.fake_sections[u'developers'], - self.adapter.get_section_items(u'developers')) + self.assertEqual(self.adapter.fake_sections['developers'], + self.adapter.get_section_items('developers')) def test_creating_section(self): self.adapter.create_section('sysadmins') @@ -143,77 +143,77 @@ def test_editing_section(self): items = self.adapter.fake_sections['developers'] - self.adapter.edit_section(u'developers', u'designers') - self.assertEqual(self.adapter.fake_sections[u'designers'], items) + self.adapter.edit_section('developers', 'designers') + self.assertEqual(self.adapter.fake_sections['designers'], items) def test_editing_non_existing_section(self): self.assertRaises(NonExistingSectionError, self.adapter.edit_section, - u'this_section_doesnt_exit', u'new_name') + 'this_section_doesnt_exit', 'new_name') def test_cache_is_updated_after_editing_section(self): # Loading for the first time: self.adapter.get_section_items('developers') # Editing: - description = u'Those who write in weird languages' - items = self.adapter.fake_sections[u'developers'] - self.adapter.edit_section(u'developers', u'coders') + description = 'Those who write in weird languages' + items = self.adapter.fake_sections['developers'] + self.adapter.edit_section('developers', 'coders') # Checking cache: - self.assertEqual(self.adapter.get_section_items(u'coders'), items) + self.assertEqual(self.adapter.get_section_items('coders'), items) def test_deleting_section(self): - self.adapter.delete_section(u'developers') - self.assertRaises(NonExistingSectionError, - self.adapter.get_section_items, u'designers') + self.adapter.delete_section('developers') + self.assertRaises(NonExistingSectionError, + self.adapter.get_section_items, 'designers') def test_deleting_non_existing_section(self): self.assertRaises(NonExistingSectionError, self.adapter.delete_section, - u'this_section_doesnt_exit') + 'this_section_doesnt_exit') def test_cache_is_updated_after_deleting_section(self): # Loading for the first time: - self.adapter.get_section_items(u'developers') + self.adapter.get_section_items('developers') # Deleting: - self.adapter.delete_section(u'developers') + self.adapter.delete_section('developers') # Checking cache: self.assertRaises(NonExistingSectionError, self.adapter.get_section_items, - u'developers') + 'developers') def test_checking_section_existence(self): # Existing section: - self.adapter._check_section_existence(u'developers') + self.adapter._check_section_existence('developers') # Non-existing section: self.assertRaises(NonExistingSectionError, - self.adapter._check_section_existence, u'designers') + self.adapter._check_section_existence, 'designers') def test_checking_section_not_existence(self): # Non-existing section: - self.adapter._check_section_not_existence(u'designers') + self.adapter._check_section_not_existence('designers') # Existing section: self.assertRaises(ExistingSectionError, - self.adapter._check_section_not_existence, u'admins') + self.adapter._check_section_not_existence, 'admins') def test_checking_item_inclusion(self): - self.adapter._confirm_item_is_present(u'developers', u'linus') + self.adapter._confirm_item_is_present('developers', 'linus') self.assertRaises(ItemNotPresentError, - self.adapter._confirm_item_is_present, u'developers', - u'maribel') + self.adapter._confirm_item_is_present, 'developers', + 'maribel') def test_checking_item_inclusion_in_non_existing_section(self): self.assertRaises(NonExistingSectionError, - self.adapter._confirm_item_is_present, u'users', - u'linus') + self.adapter._confirm_item_is_present, 'users', + 'linus') def test_checking_item_exclusion(self): - self.adapter._confirm_item_not_present(u'developers', u'maribel') + self.adapter._confirm_item_not_present('developers', 'maribel') self.assertRaises(ItemPresentError, self.adapter._confirm_item_not_present, - u'developers', u'linus') + 'developers', 'linus') def test_checking_item_exclusion_in_non_existing_section(self): self.assertRaises(NonExistingSectionError, - self.adapter._confirm_item_is_present, u'users', - u'linus') + self.adapter._confirm_item_is_present, 'users', + 'linus') class TestBaseSourceAdapterAbstract(unittest.TestCase): @@ -265,7 +265,7 @@ None) def test_adapter_is_writable_by_default(self): - self.assert_(self.adapter.is_writable) + self.assertTrue(self.adapter.is_writable) class TestNotWritableSourceAdapter(unittest.TestCase): @@ -277,80 +277,80 @@ def test_setting_items(self): self.assertRaises(SourceError, self.adapter.set_section_items, - u'admins', ['gnu', 'tux']) + 'admins', ['gnu', 'tux']) def test_settings_items_in_non_existing_section(self): """The section existence must be checked first""" self.assertRaises(NonExistingSectionError, self.adapter.set_section_items, - u'mascots', ['gnu', 'tux']) + 'mascots', ['gnu', 'tux']) def test_include_items(self): self.assertRaises(SourceError, self.adapter.include_item, - u'admins', 'tux') + 'admins', 'tux') self.assertRaises(SourceError, self.adapter.include_items, - u'admins', ['gnu', 'tux']) + 'admins', ['gnu', 'tux']) def test_include_items_in_non_existing_section(self): """The section existence must be checked first""" self.assertRaises(NonExistingSectionError, self.adapter.include_item, - u'mascots', 'gnu') + 'mascots', 'gnu') self.assertRaises(NonExistingSectionError, self.adapter.include_items, - u'mascots', ['gnu', 'tux']) + 'mascots', ['gnu', 'tux']) def test_include_existing_items(self): """The items existence must be checked first""" self.assertRaises(ItemPresentError, self.adapter.include_item, - u'developers', 'rms') + 'developers', 'rms') self.assertRaises(ItemPresentError, self.adapter.include_items, - u'developers', ['rms', 'linus']) + 'developers', ['rms', 'linus']) def test_exclude_items(self)RefactoringTool: Refactored ../python3/tests/base.py : self.assertRaises(SourceError, self.adapter.exclude_item, - u'admins', u'rms') + 'admins', 'rms') self.assertRaises(SourceError, self.adapter.exclude_items, - u'developers', [u'rms', u'linus']) + 'developers', ['rms', 'linus']) def test_exclude_items_in_non_existing_section(self): """The section existence must be checked first""" self.assertRaises(NonExistingSectionError, self.adapter.exclude_item, - u'mascots', 'gnu') + 'mascots', 'gnu') self.assertRaises(NonExistingSectionError, self.adapter.exclude_items, - u'mascots', ['gnu', 'tux']) + 'mascots', ['gnu', 'tux']) def test_exclude_existing_items(self): """The items existence must be checked first""" self.assertRaises(ItemNotPresentError, self.adapter.exclude_item, - u'developers', 'rasmus') + 'developers', 'rasmus') self.assertRaises(ItemNotPresentError, self.adapter.exclude_items, - u'developers', ['guido', 'rasmus']) + 'developers', ['guido', 'rasmus']) def test_create_section(self): self.assertRaises(SourceError, self.adapter.create_section, - u'mascots') + 'mascots') def test_create_existing_section(self): """The section existence must be checked first""" self.assertRaises(ExistingSectionError, self.adapter.create_section, - u'admins') + 'admins') def test_edit_section(self): self.assertRaises(SourceError, self.adapter.edit_section, - u'admins', u'administrators') + 'admins', 'administrators') def test_edit_non_existing_section(self): """The section existence must be checked first""" self.assertRaises(NonExistingSectionError, self.adapter.edit_section, - u'mascots', u'animals') + 'mascots', 'animals') def test_delete_section(self): self.assertRaises(SourceError, self.adapter.delete_section, - u'admins') + 'admins') def test_delete_non_existing_section(self): """The section existence must be checked first""" self.assertRaises(NonExistingSectionError, self.adapter.delete_section, - u'mascots') + 'mascots') def test_adapter_is_not_writable(self): self.assertFalse(self.adapter.is_writable) --- ../python3/tests/base.py (original) +++ ../python3/tests/base.py (refactored) @@ -42,11 +42,11 @@ """ credentials = { - u'rms': u'freedom', - u'linus': u'linux', - u'sballmer': u'developers', - u'guido': u'pythonic', - u'rasmus': u'php' + 'rms': 'freedom', + 'linus': 'linux', + 'sballmer': 'developers', + 'guido': 'pythonic', + 'rasmus': 'php' } def authenticate(self, environ, identity): @@ -73,11 +73,11 @@ def __init__(self, *args, **kwargs): super(FakeGroupSourceAdapter, self).__init__(*args, **kwargs) self.fake_sections = { - u'admins': set([u'rms']), - u'developers': set([u'rms', u'linus']), - u'trolls': set([u'sballmer']), - u'python': set(), - u'php': set() + 'admins': set(['rms']), + 'developers': set(['rms', 'linus']), + 'trolls': set(['sballmer']), + 'python': set(), + 'php': set() } def _get_all_sections(self): @@ -88,7 +88,7 @@ def _find_sections(self, credentials): username = credentials['repoze.what.userid'] - returnRefactoringTool: No changes to ../python3/tests/__init__.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: No changes to ../python3/repoze/what/release.py RefactoringTool: Refactored ../python3/repoze/what/predicates.py set([n for (n, g) in self.fake_sections.items() + return set([n for (n, g) in list(self.fake_sections.items()) if username in g]) def _include_items(self, section, items): @@ -130,13 +130,13 @@ def __init__(self, *args, **kwargs): super(FakePermissionSourceAdapter, self).__init__(*args, **kwargs) self.fake_sections = { - u'see-site': set([u'trolls']), - u'edit-site': set([u'admins', u'developers']), - u'commit': set([u'developers']) + 'see-site': set(['trolls']), + 'edit-site': set(['admins', 'developers']), + 'commit': set(['developers']) } def _find_sections(self, group_name): - return set([n for (n, p) in self.fake_sections.items() + return set([n for (n, p) in list(self.fake_sections.items()) if group_name in p]) --- ../python3/repoze/what/predicates.py (original) +++ ../python3/repoze/what/predicates.py (refactored) @@ -210,7 +210,7 @@ message = self.message # Let's convert it into unicode because it may be just a class, as a # Pylons' "lazy" translation message: - message = unicode(message) + message = str(message) # Include the predicate attributes in the placeholders: all_placeholders = self.__dict__.copy() all_placeholders.update(placeholders) @@ -241,8 +241,8 @@ credentials = environ.get('repoze.what.credentials', {}) try: self.evaluate(environ, credentials) - except NotAuthorizedError, error: - logger and logger.info(u'Authorization denied: %s' % error) + except NotAuthorizedError as error: + logger and logger.info('Authorization denied: %s' % error) raise logger and logger.info('Authorization granted') @@ -270,7 +270,7 @@ try: self.evaluate(environ, credentials) return True - except NotAuthorizedError, error: + except NotAuthorizedError as error: return False def parse_variables(self, environ): @@ -345,7 +345,7 @@ p = Not(not_anonymous()) """ - message = u"The condition must not be met" + message = "The condition must not be met" def __init__(self, predicate, **kwargs): super(Not, self).__init__(**kwargs) @@ -354,7 +354,7 @@ def evaluate(self, environ, credentials): try: self.predicate.evaluate(environ, credentials) - except NotAuthorizedError, error: + except NotAuthorizedError as error: return self.unmet() @@ -399,7 +399,7 @@ p = Any(is_user('rms'), is_user('linus')) """ - message = u"At least one of the following predicates must be met: " \ + message = "At least one of the following predicates must be met: " \ "%(failed_predicates)s" def evaluate(self, environ, credentials): @@ -416,8 +416,8 @@ try: p.evaluate(environ, credentials) return - except NotAuthorizedError, exc: - errors.append(unicode(exc)) + except NotAuthorizedError as exc: + errors.append(str(exc)) failed_predicates = ', '.join(errors) self.unmet(failed_predicates=failed_predicates) @@ -435,7 +435,7 @@ """ - message = u'The current user must be "%(user_name)s"' + message = 'The current user must be "%(user_name)s"' def __init__(self, user_name, **kwargs): super(is_user, self).__init__(**kwargs) @@ -461,7 +461,7 @@ """ - message = u'The current user must belong to the group "%(group_name)s"' + message = 'The current user must belong to the group "%(group_name)s"' def __init__(self, group_name, **kwargs): super(in_group, self).__init__(**kwargs) @@ -503,7 +503,7 @@ """ - message = u"The member must belong to at least one of the following " \ + message = "The RefactoringTool: No changes to ../python3/repoze/what/plugins/__init__.py RefactoringTool: Refactored ../python3/repoze/what/middleware.py RefactoringTool: No changes to ../python3/repoze/what/authorize.py RefactoringTool: Refactored ../python3/repoze/what/adapters/testutil.py member must belong to at least one of the following " \ "groups: %(group_list)s" def __init__(self, *groups, **kwargs): @@ -525,7 +525,7 @@ """ - message = u"The current user must be anonymous" + message = "The current user must be anonymous" def evaluate(self, environ, credentials): if credentials: @@ -543,7 +543,7 @@ """ - message = u"The current user must have been authenticated" + message = "The current user must have been authenticated" def evaluate(self, environ, credentials): if not credentials: @@ -562,7 +562,7 @@ p = has_permission('hire') """ - message = u'The user must have the "%(permission_name)s" permission' + message = 'The user must have the "%(permission_name)s" permission' def __init__(self, permission_name, **kwargs): super(has_permission, self).__init__(**kwargs) @@ -608,7 +608,7 @@ """ - message = u"The user must have at least one of the following " \ + message = "The user must have at least one of the following " \ "permissions: %(permission_list)s" def __init__(self, *permissions, **kwargs): @@ -634,7 +634,7 @@ # Ugly workaround for Python < 2.6: if not hasattr(Exception, '__unicode__'): def __unicode__(self): - return unicode(self.args and self.args[0] or '') + return str(self.args and self.args[0] or '') class NotAuthorizedError(PredicateError): --- ../python3/repoze/what/middleware.py (original) +++ ../python3/repoze/what/middleware.py (refactored) @@ -74,10 +74,10 @@ credentials = identity.copy() credentials['repoze.what.userid'] = identity['repoze.who.userid'] # It's using groups/permissions-based authorization - for grp_fetcher in self.group_adapters.values(): + for grp_fetcher in list(self.group_adapters.values()): groups |= set(grp_fetcher.find_sections(credentials)) for group in groups: - for perm_fetcher in self.permission_adapters.values(): + for perm_fetcher in list(self.permission_adapters.values()): permissions |= set(perm_fetcher.find_sections(group)) return tuple(groups), tuple(permissions) --- ../python3/repoze/what/adapters/testutil.py (original) +++ ../python3/repoze/what/adapters/testutil.py (refactored) @@ -30,33 +30,33 @@ def _get_all_items(self): all_items = set() - for items in self.all_sections.values(): + for items in list(self.all_sections.values()): all_items |= items return all_items def _get_item_sections(self, item): - return set([n for (n, s) in self.all_sections.items() if item in s]) + return set([n for (n, s) in list(self.all_sections.items()) if item in s]) def test_retrieving_all_sections(self): self.assertEqual(self.adapter._get_all_sections(), self.all_sections) def test_getting_section_items(self): - for section_name, items in self.all_sections.items(): + for section_name, items in list(self.all_sections.items()): self.assertEqual(self.adapter._get_section_items(section_name), items) def test_checking_existing_section(self): - for section_name in self.all_sections.keys(): + for section_name in list(self.all_sections.keys()): assert self.adapter._section_exists(section_name), \ 'Section "%s" does NOT exist' % section_name def test_checking_non_existing_section(self): - section_name = u'i_dont_exist' + section_name = 'i_dont_exist' assert not self.adapter._section_exists(section_name), \ 'Section "%s" DOES exist' % section_name def test_checking_item_inclusion(self): - for section_name, items in self.all_sections.items(): + for section_name, items in list(self.all_sections.items()): for item in self.adapter._get_section_items(section_name): assert self.adapter._item_is_included(section_name, item), \ 'Item "%s" must be included in section "%s"' % \ @@ -64,19 +64,19 @@ def test_checking_excluded_item_inclusion(self): excluded_item = self.new_items.pop() - for section_name, items in self.all_sections.items(): + for section_name, items in list(self.all_sections.items()): assert not self.adapter._item_is_included(section_name, excluded_item), \ 'Item "%s" must not included in section "%s"' % \ (item, section_name) def test_checking_section_existence(self): - for section_name in self.all_sections.keys(): + for section_name in list(self.all_sections.keys()): assert self.adapter._section_exists(section_name), \ 'Section "%s" must exist' % section_name def test_checking_non_existing_section_existence(self): - invalid_section = u'designers' + invalid_section = 'designers' assert not self.adapter._section_exists(invalid_section), \ 'Section "%s" must not exist' % invalid_section @@ -90,31 +90,31 @@ """Base test case for read & write adapters""" def test_adding_many_items_to_section(self): - for section_name, items in self.all_sections.items(): + for section_name, items in list(self.all_sections.items()): self.adapter._include_items(section_name, self.new_items) final_items = items | self.new_items assert self.adapter._get_section_items(section_name)==final_items, \ '"%s" does not include %s' % (section_name, self.new_items) def test_creating_section(self): - section = u'cool-section' + section = 'cool-section' self.adapter._create_section(section) - assert section in self.adapter._get_all_sections().keys(), \ + assert section in list(self.adapter._get_all_sections().keys()), \ 'Section "%s" could not be added' % section def test_editing_section(self): - old_section = self.all_sections.keys()[0] - new_section = u'cool-section' + old_section = list(self.all_sections.keys())[0] + new_section = 'cool-section' self.adapter._edit_section(old_section, new_section) - assert new_section in self.adapter._get_all_sections().keys() and \ - old_section not in self.adapter._get_all_sections().keys(), \ + assert new_section in list(self.adapter._get_all_sections().keys()) and \ + old_section not in list(self.adapter._get_all_sections().keys()), \ 'Section "%s" was not renamed to "%s"' % (old_section, new_section) def test_deleting_section(self): - section = self.all_sections.keys()[0] + section = list(self.all_sections.keys())[0] self.adapter._delete_section(section) - assert section not in self.adapter._get_all_sections().keys(), \ + assert section not in list(self.adapter._get_all_sections().keys()), \ 'Section "%s" was not deleted' % section @@ -157,15 +157,15 @@ """ - new_items = set((u'guido', u'rasmus')) + new_items = set(('guido', 'rasmus')) def setUp(self): self.all_sections = { - u'admins': set((u'rms', )), - u'developers': set((u'rms', u'linus')), - u'trolls': set((u'sballmer', )), - u'python': set(), - u'php': set() + 'admins': set(('rms', )), + 'developers': set(('rms', 'linus')), + 'trolls': set(('sballmer', )), + 'python': set(), + 'php': set() } def _make_credentials(self, userid): @@ -186,7 +186,7 @@ self._get_item_sections(RefactoringTool: Refactored ../python3/repoze/what/adapters/__init__.py RefactoringTool: No changes to ../python3/repoze/what/__init__.py RefactoringTool: No changes to ../python3/repoze/__init__.py RefactoringTool: Refactored ../python3/functional_tests/test_threading.py userid)) def test_finding_groups_of_non_existing_user(self): - credentials = self._make_credentials(u'gustavo') + credentials = self._make_credentials('gustavo') self.assertEqual(self.adapter._find_sections(credentials), set()) @@ -209,8 +209,8 @@ """ def test_removing_many_users_from_group(self): - group = u'developers' - users = (u'rms', u'linus') + group = 'developers' + users = ('rms', 'linus') self.adapter._exclude_items(group, users) assert self.adapter._get_section_items(group)==set(), \ '"%s" still includes %s' % (group, users) @@ -254,13 +254,13 @@ """ - new_items = set((u'python', u'php')) + new_items = set(('python', 'php')) def setUp(self): self.all_sections = { - u'see-site': set((u'trolls', )), - u'edit-site': set((u'admins', u'developers')), - u'commit': set((u'developers', )) + 'see-site': set(('trolls', )), + 'edit-site': set(('admins', 'developers')), + 'commit': set(('developers', )) } def test_finding_permissions(self): @@ -269,7 +269,7 @@ self._get_item_sections(group)) def test_finding_permissions_of_non_existing_group(self): - self.assertEqual(self.adapter._find_sections(u'designers'), set()) + self.assertEqual(self.adapter._find_sections('designers'), set()) class PermissionsAdapterTester(ReadOnlyPermissionsAdapterTester, @@ -296,8 +296,8 @@ """ def test_deying_permisssion_to_many_groups(self): - permission = u'edit-site' - groups = (u'admins', u'developers') + permission = 'edit-site' + groups = ('admins', 'developers') self.adapter._exclude_items(permission, groups) assert self.adapter._get_section_items(permission)==set(), \ '"%s" still includes %s' % (permission, groups) --- ../python3/repoze/what/adapters/__init__.py (original) +++ ../python3/repoze/what/adapters/__init__.py (refactored) @@ -339,7 +339,7 @@ """ if not self._section_exists(section): - msg = u'Section "%s" is not defined in the source' % section + msg = 'Section "%s" is not defined in the source' % section raise NonExistingSectionError(msg) def _check_section_not_existence(self, section): @@ -353,7 +353,7 @@ """ if self._section_exists(section): - msg = u'Section "%s" is already defined in the source' % section + msg = 'Section "%s" is already defined in the source' % section raise ExistingSectionError(msg) def _confirm_item_is_present(self, section, item): @@ -371,7 +371,7 @@ """ self._check_section_existence(section) if not self._item_is_included(section, item): - msg = u'Item "%s" is not defined in section "%s"' % (item, section) + msg = 'Item "%s" is not defined in section "%s"' % (item, section) raise ItemNotPresentError(msg) def _confirm_item_not_present(self, section, item): @@ -389,7 +389,7 @@ """ self._check_section_existence(section) if self._item_is_included(section, item): - msg = u'Item "%s" is already defined in section "%s"' % (item, + msg = 'Item "%s" is already defined in section "%s"' % (item, section) raise ItemPresentError(msg) --- ../python3/functional_tests/test_threading.py (original) +++ ../python3/functional_tests/test_threading.py (refactored) @@ -73,7 +73,7 @@ t = Timer(2, self._stop_threads) t.start() # Running the threads: - map(Thread.start, self.threads) + list(map(Thread.start, self.threads)) if self.found_error.isSet(): predicate_class = shared_predicate.__class__.__name__ self.fail('PredicateWARNING: couldn't encode ../python3/functional_tests/test_threading.py's diff for your terminal RefactoringTool: No changes to ../python3/functional_tests/__init__.py RefactoringTool: Refactored ../python3/ez_setup.py RefactoringTool: Refactored ../python3/docs/source/conf.py %s is not thread-safe' % predicate_class) @@ -139,7 +139,7 @@ "groups: " error = error + ', '.join(all_groups) # Building the test scenarios that will share the predicate above: --- ../python3/ez_setup.py (original) +++ ../python3/ez_setup.py (refactored) @@ -57,10 +57,10 @@ from md5 import md5 digest = md5(data).hexdigest() if digest != md5_data[egg_name]: - print >>sys.stderr, ( + print(( "md5 validation of %s failed! (Possible download problem?)" % egg_name - ) + ), file=sys.stderr) sys.exit(2) return data @@ -91,14 +91,14 @@ return do_download() try: pkg_resources.require("setuptools>="+version); return - except pkg_resources.VersionConflict, e: + except pkg_resources.VersionConflict as e: if was_imported: - print >>sys.stderr, ( + print(( "The required version of setuptools (>=%s) is not available, and\n" "can't be installed while this script is running. Please install\n" " a more recent version first, using 'easy_install -U setuptools'." "\n\n(Currently using %r)" - ) % (version, e.args[0]) + ) % (version, e.args[0]), file=sys.stderr) sys.exit(2) else: del pkg_resources, sys.modules['pkg_resources'] # reload ok @@ -117,7 +117,7 @@ with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ - import urllib2, shutil + import urllib.request, urllib.error, urllib.parse, shutil egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name saveto = os.path.join(to_dir, egg_name) @@ -143,7 +143,7 @@ version, download_base, delay, url ); from time import sleep; sleep(delay) log.warn("Downloading %s", url) - src = urllib2.urlopen(url) + src = urllib.request.urlopen(url) # Read/write all in one block, so we don't create a corrupt file # if the download is interrupted. data = _validate_md5(egg_name, src.read()) @@ -204,10 +204,10 @@ os.unlink(egg) else: if setuptools.__version__ == '0.0.1': - print >>sys.stderr, ( + print(( "You have an obsolete version of setuptools installed. Please\n" "remove it from your system entirely before rerunning this script." - ) + ), file=sys.stderr) sys.exit(2) req = "setuptools>="+version @@ -226,8 +226,8 @@ from setuptools.command.easy_install import main main(argv) else: - print "Setuptools version",version,"or greater has been installed." - print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' + print("Setuptools version",version,"or greater has been installed.") + print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') def update_md5(filenames): """Update our built-in md5 registry""" @@ -241,7 +241,7 @@ md5_data[base] = md5(f.read()).hexdigest() f.close() - data = [" %r: %r,\n" % it for it in md5_data.items()] + data = [" %r: %r,\n" % it for it in list(md5_data.items())] data.sort() repl = "".join(data) @@ -251,7 +251,7 @@ match = re.search("\nmd5_data = {\n([^}]+)}", src) if not match: - print >>sys.stderr, "Internal error!" + print("Internal error!", file=sys.stderr) sys.exit(2) src = src[:match.start(1)] + repl + src[match.end(1):] --- ../python3/docs/source/conf.py (original) +++ ../python3/docs/source/conf.py (refactored) @@ -43,8 +43,8 @@ master_doc = 'index' # General substitutions. -project = u'repoze.what' -copyright = u'2008, The Repoze Project' +project = 'rRefactoringTool: Files that were modified: RefactoringTool: ../python3/tests/test_release.py RefactoringTool: ../python3/tests/test_predicates.py RefactoringTool: ../python3/tests/test_middleware.py RefactoringTool: ../python3/tests/test_authorize.py RefactoringTool: ../python3/tests/test_adapters_testutil.py RefactoringTool: ../python3/tests/test_adapters.py RefactoringTool: ../python3/tests/base.py RefactoringTool: ../python3/tests/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/repoze/what/release.py RefactoringTool: ../python3/repoze/what/predicates.py RefactoringTool: ../python3/repoze/what/plugins/__init__.py RefactoringTool: ../python3/repoze/what/middleware.py RefactoringTool: ../python3/repoze/what/authorize.py RefactoringTool: ../python3/repoze/what/adapters/testutil.py RefactoringTool: ../python3/repoze/what/adapters/__init__.py RefactoringTool: ../python3/repoze/what/__init__.py RefactoringTool: ../python3/repoze/__init__.py RefactoringTool: ../python3/functional_tests/test_threading.py RefactoringTool: ../python3/functional_tests/__init__.py RefactoringTool: ../python3/ez_setup.py RefactoringTool: ../python3/docs/source/conf.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ../python3/functional_tests/test_threading.py ### RefactoringTool: Line 76: You should use a for loop here epoze.what' +copyright = '2008, The Repoze Project' # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. @@ -165,8 +165,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, document class [howto/manual]). latex_documents = [ - ('index', 'repozewhat.tex', u'repoze.what Documentation', - u'Gustavo Narea', 'manual'), + ('index', 'repozewhat.tex', 'repoze.what Documentation', + 'Gustavo Narea', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of + install -pm644 /usr/share/python-sphinx/objects.inv docs/ + '[' -e docs/conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template docs/conf.py + ln -s ../objects.inv docs/source/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70815 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.what-1.0.9 + 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 repoze/__init__.py -> build/lib/repoze creating build/lib/repoze/what copying repoze/what/release.py -> build/lib/repoze/what copying repoze/what/predicates.py -> build/lib/repoze/what copying repoze/what/middleware.py -> build/lib/repoze/what copying repoze/what/authorize.py -> build/lib/repoze/what copying repoze/what/__init__.py -> build/lib/repoze/what creating build/lib/repoze/what/plugins copying repoze/what/plugins/__init__.py -> build/lib/repoze/what/plugins creating build/lib/repoze/what/adapters copying repoze/what/adapters/testutil.py -> build/lib/repoze/what/adapters copying repoze/what/adapters/__init__.py -> build/lib/repoze/what/adapters running egg_info creating repoze.what.egg-info writing requirements to repoze.what.egg-info/requires.txt writing repoze.what.egg-info/PKG-INFO writing namespace_packages to repoze.what.egg-info/namespace_packages.txt writing top-level names to repoze.what.egg-info/top_level.txt writing dependency_links to repoze.what.egg-info/dependency_links.txt writing entry points to repoze.what.egg-info/entry_points.txt writing manifest file 'repoze.what.egg-info/SOURCES.txt' reading manifest file 'repoze.what.egg-info/SOURCES.txt' writing manifest file 'repoze.what.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.what-1.0.9 + 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 repoze/__init__.py -> build/lib/repoze creating build/lib/repoze/what copying repoze/what/release.py -> build/lib/repoze/what copying repoze/what/predicates.py -> build/lib/repoze/what copying repoze/what/middleware.py -> build/lib/repoze/what copying repoze/what/authorize.py -> build/lib/repoze/what copying repoze/what/__init__.py -> build/lib/repoze/what creating build/lib/repoze/what/plugins copying repoze/what/plugins/__init__.py -> build/lib/repoze/what/plugins creating build/lib/repoze/what/adapters copying repoze/what/adapters/testutil.py -> build/lib/repoze/what/adapters copying repoze/what/adapters/__init__.py -> build/lib/repoze/what/adapters running egg_info creating repoze.what.egg-info writing repoze.what.egg-info/PKG-INFO writing top-level names to repoze.what.egg-info/top_level.txt writing namespace_packages to repoze.what.egg-info/namespace_packages.txt writing requirements to repoze.what.egg-info/requires.txt writing dependency_links to repoze.what.egg-info/dependency_links.txt writing entry points to repoze.what.egg-info/entry_points.txt writing manifest file 'repoze.what.egg-info/SOURCES.txt' reading manifest file 'repoze.what.egg-info/SOURCES.txt' writing manifest file 'repoze.what.egg-info/SOURCES.txt' + popd ~/RPM/BUILD/python-module-repoze.what-1.0.9 + export PYTHONPATH=/usr/src/RPM/BUILD/python-module-repoze.what-1.0.9 + PYTHONPATH=/usr/src/RPM/BUILD/python-module-repoze.what-1.0.9 + pushd docs ~/RPM/BUILD/python-module-repoze.what-1.0.9/docs ~/RPM/BUILD/python-module-repoze.what-1.0.9 + make pickle make: Entering directory `/usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs' mkdir -p build/pickle build/doctrees sphinx-build -b pickle -d build/doctrees source build/pickle Running Sphinx v1.4a0+ running test running egg_info deleting repoze.what.egg-info/requires.txt writing repoze.what.egg-info/PKG-INFO writing namespace_packages to repoze.what.egg-info/namespace_packages.txt writing top-level names to repoze.what.egg-info/top_level.txt writing dependency_links to repoze.what.egg-info/dependency_links.txt writing entry points to repoze.what.egg-info/entry_points.txt reading manifest file 'repoze.what.egg-info/SOURCES.txt' writing manifest file 'repoze.what.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 71, in """ File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 151, in run self.with_project_on_sys_path(self.run_tests) File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 127, in with_project_on_sys_path func() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 172, in run_tests testRunner=self._resolve_as_ep(self.test_runner), File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/lib64/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/usr/lib64/python2.7/unittest/main.py", line 158, in createTests self.module) File "/usr/lib64/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib64/python2.7/unittest/loader.py", line 91, in loadTestsFromName module = __import__('.'.join(parts_copy)) ImportError: No module named nose loading pickled environment... not yet created loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 12 source files that are out of date updating environment: 12 added, 0 changed, 0 removed reading sources... [ 8%] Manual/GettingStarted reading sources... [ 16%] Manual/InnerWorkings reading sources... [ 25%] Manual/ManagingSources reading sources... [ 33%] Manual/Plugins/index reading sources... [ 41%] Manual/Predicates/Builtin reading sources... [ 50%] Manual/Predicates/Evaluating reading sources... [ 58%] Manual/Predicates/Writing reading sources... [ 66%] Manual/Predicates/index reading sources... [ 75%] Manual/index reading sources... [ 83%] News reading sources... [ 91%] Participate reading sources... [100%] index /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/GettingStarted.rst:25: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/GettingStarted.rst:28: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/GettingStarted.rst:31: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/GettingStarted.rst:34: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/GettingStarted.rst:37: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/GettingStarted.rst:40: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/GettingStarted.rst:45: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/Predicates/index.rst:20: WARNING: glossary term must be preceded by empty line /usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs/source/Manual/Predicates/index.rst:24: WARNING: glossary term must be preceded by empty line looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 8%] Manual/GettingStarted writing output... [ 16%] Manual/InnerWorkings writing output... [ 25%] Manual/ManagingSources writing output... [ 33%] Manual/Plugins/index writing output... [ 41%] Manual/Predicates/Builtin writing output... [ 50%] Manual/Predicates/Evaluating writing output... [ 58%] Manual/Predicates/Writing writing output... [ 66%] Manual/Predicates/index writing output... [ 75%] Manual/index writing output... [ 83%] News writing output... [ 91%] Participate writing output... [100%] index generating indices... genindex py-modindex writing additional pages... search opensearch copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 9 warnings. Build finished; now you can process the pickle files or run sphinx-web build/pickle to start the sphinx-web server. make: Leaving directory `/usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs' + make html make: Entering directory `/usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs' mkdir -p build/html build/doctrees sphinx-build -b html -d build/doctrees source build/html Running Sphinx v1.4a0+ running test running egg_info writing repoze.what.egg-info/PKG-INFO writing namespace_packages to repoze.what.egg-info/namespace_packages.txt writing top-level names to repoze.what.egg-info/top_level.txt writing dependency_links to repoze.what.egg-info/dependency_links.txt writing entry points to repoze.what.egg-info/entry_points.txt reading manifest file 'repoze.what.egg-info/SOURCES.txt' writing manifest file 'repoze.what.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 71, in """ File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 151, in run self.with_project_on_sys_path(self.run_tests) File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 127, in with_project_on_sys_path func() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 172, in run_tests testRunner=self._resolve_as_ep(self.test_runner), File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/lib64/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/usr/lib64/python2.7/unittest/main.py", line 158, in createTests self.module) File "/usr/lib64/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib64/python2.7/unittest/loader.py", line 91, in loadTestsFromName module = __import__('.'.join(parts_copy)) ImportError: No module named nose loading pickled environment... done loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... building [mo]: targets for 0 po files that are out of date building [html]: targets for 12 source files that are out of date updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done writing output... [ 8%] Manual/GettingStarted writing output... [ 16%] Manual/InnerWorkings writing output... [ 25%] Manual/ManagingSources writing output... [ 33%] Manual/Plugins/index writing output... [ 41%] Manual/Predicates/Builtin writing output... [ 50%] Manual/Predicates/Evaluating writing output... [ 58%] Manual/Predicates/Writing writing output... [ 66%] Manual/Predicates/index writing output... [ 75%] Manual/index writing output... [ 83%] News writing output... [ 91%] Participate writing output... [100%] index generating indices... genindex py-modindex writing additional pages... search opensearch copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. Build finished. The HTML pages are in build/html. make: Leaving directory `/usr/src/RPM/BUILD/python-module-repoze.what-1.0.9/docs' + popd ~/RPM/BUILD/python-module-repoze.what-1.0.9 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.24012 + 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.what-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-repoze.what-buildroot + cd python-module-repoze.what-1.0.9 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.what-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/__init__.py (namespace package) copying repoze/what/authorize.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what copying repoze/what/middleware.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what copying repoze/what/predicates.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what copying repoze/what/release.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what copying repoze/what/adapters/__init__.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/adapters copying repoze/what/adapters/testutil.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/adapters Skipping installation of /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/plugins/__init__.py (namespace package) byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/authorize.py to authorize.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/middleware.py to middleware.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/predicates.py to predicates.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/release.py to release.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/adapters/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze/what/adapters/testutil.py to testutil.pyc running install_egg_info running egg_info writing requirements to repoze.what.egg-info/requires.txt writing repoze.what.egg-info/PKG-INFO writing namespace_packages to repoze.what.egg-info/namespace_packages.txt writing top-level names to repoze.what.egg-info/top_level.txt writing dependency_links to repoze.what.egg-info/dependency_links.txt writing entry points to repoze.what.egg-info/entry_points.txt reading manifest file 'repoze.what.egg-info/SOURCES.txt' writing manifest file 'repoze.what.egg-info/SOURCES.txt' Copying repoze.what.egg-info to /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info Installing /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7-nspkg.pth running install_scripts + install -d /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages + mv /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7-nspkg.pth /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/ + touch /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/__init__.py + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.what-1.0.9 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.what-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/__init__.py (namespace package) copying repoze/what/authorize.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what copying repoze/what/middleware.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what copying repoze/what/predicates.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what copying repoze/what/release.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what copying repoze/what/adapters/__init__.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/adapters copying repoze/what/adapters/testutil.py -> /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/adapters Skipping installation of /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/plugins/__init__.py (namespace package) byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/authorize.py to authorize.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/middleware.py to middleware.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/predicates.py to predicates.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/release.py to release.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/adapters/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/adapters/testutil.py to testutil.cpython-35.pyc running install_egg_info running egg_info writing entry points to repoze.what.egg-info/entry_points.txt writing dependency_links to repoze.what.egg-info/dependency_links.txt writing repoze.what.egg-info/PKG-INFO writing top-level names to repoze.what.egg-info/top_level.txt writing requirements to repoze.what.egg-info/requires.txt writing namespace_packages to repoze.what.egg-info/namespace_packages.txt reading manifest file 'repoze.what.egg-info/SOURCES.txt' writing manifest file 'repoze.what.egg-info/SOURCES.txt' Copying repoze.what.egg-info to /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info Installing /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-repoze.what-1.0.9 + install -d /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages + mv /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5-nspkg.pth /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/ + touch /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__init__.py + install -d /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze.what + cp -fR docs/build/pickle /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze.what/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-repoze.what-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-repoze.what-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-repoze.what-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-repoze.what-buildroot ./usr/lib64: ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-repoze.what-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.what-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/adapters/__init__.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/adapters/testutil.pyc compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/adapters/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/adapters/testutil.py unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/authorize.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/middleware.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/predicates.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/release.pyc compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/authorize.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/middleware.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/predicates.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/release.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-repoze.what-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/adapters/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/adapters/testutil.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/authorize.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/middleware.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/predicates.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/release.py Bytecompiling python3 modules in /usr/src/tmp/python-module-repoze.what-buildroot using python3 unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-35.pyc compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/testutil.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/authorize.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/middleware.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/predicates.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/release.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-repoze.what-buildroot using python3 -O compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/testutil.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/authorize.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/middleware.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/predicates.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/release.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-repoze.what-buildroot using python3 -OO compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/testutil.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__init__.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/authorize.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/middleware.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/predicates.py compile /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/release.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-35.pyc' Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/repoze/what/release.pyo' => './usr/lib64/python2.7/site-packages/repoze/what/release.pyc' './usr/lib64/python2.7/site-packages/repoze/what/predicates.pyo' => './usr/lib64/python2.7/site-packages/repoze/what/predicates.pyc' './usr/lib64/python2.7/site-packages/repoze/what/middleware.pyo' => './usr/lib64/python2.7/site-packages/repoze/what/middleware.pyc' './usr/lib64/python2.7/site-packages/repoze/what/authorize.pyo' => './usr/lib64/python2.7/site-packages/repoze/what/authorize.pyc' './usr/lib64/python2.7/site-packages/repoze/what/__init__.pyo' => './usr/lib64/python2.7/site-packages/repoze/what/__init__.pyc' './usr/lib64/python2.7/site-packages/repoze/what/adapters/__init__.pyo' => './usr/lib64/python2.7/site-packages/repoze/what/adapters/__init__.pyc' Processing files: python-module-repoze.what-1.0.9-alt3.git20110411.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.20580 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.what-1.0.9 + DOCDIR=/usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-1.0.9 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-1.0.9 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-1.0.9 + cp -prL README.txt /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-1.0.9 + chmod -R go-w /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-1.0.9 + chmod -R a+rX /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-1.0.9 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.C7hiAI 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.iq8IEj find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/middleware.py: line=214 IGNORE (for REQ=slight and deep=12) module=sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python2.7/site-packages/repoze/what/predicates.py: line=146 IGNORE (for REQ=slight and deep=11) module=warnings Provides: python2.7(repoze.what), python2.7(repoze.what.adapters), python2.7(repoze.what.adapters.testutil), python2.7(repoze.what.authorize), python2.7(repoze.what.middleware), python2.7(repoze.what.predicates), python2.7(repoze.what.release) Requires: python2.7(repoze), python2.7(repoze.who), python2.7(repoze.who-testutil), python2.7(paste), /usr/lib64/python2.7/site-packages, python-base, python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i3X0PX Processing files: python3-module-repoze.what-1.0.9-alt3.git20110411.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.32966 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.what-1.0.9 + DOCDIR=/usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python3-module-repoze.what-1.0.9 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python3-module-repoze.what-1.0.9 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python3-module-repoze.what-1.0.9 + cp -prL README.txt /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python3-module-repoze.what-1.0.9 + chmod -R go-w /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python3-module-repoze.what-1.0.9 + chmod -R a+rX /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python3-module-repoze.what-1.0.9 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4epNhG 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.oaBT1r find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/middleware.py: line=214 IGNORE (for REQ=slight and deep=12) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/predicates.py: line=146 IGNORE (for REQ=slight and deep=11) module=warnings Provides: python3(repoze.what), python3.3(repoze.what), python3(repoze.what.adapters), python3(repoze.what.adapters.testutil), python3(repoze.what.authorize), python3(repoze.what.middleware), python3(repoze.what.predicates), python3(repoze.what.release), python3.3(repoze.what.adapters), python3.3(repoze.what.adapters.testutil), python3.3(repoze.what.authorize), python3.3(repoze.what.middleware), python3.3(repoze.what.predicates), python3.3(repoze.what.release) Requires: python3(repoze) < 0, python3(repoze.who) < 0, python3(repoze.who-testutil) < 0, python3(paste) < 0, /usr/lib64/python3/site-packages, python3(os) < 0, python3(warnings) < 0, python3(zope) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.a2r2pj Processing files: python-module-repoze.what-pickles-1.0.9-alt3.git20110411.1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Mys27d 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.yUmV3b find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Requires: /usr/lib64/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AK2cad Processing files: python-module-repoze.what-docs-1.0.9-alt3.git20110411.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.587 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.what-1.0.9 + DOCDIR=/usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-docs-1.0.9 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-docs-1.0.9 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-docs-1.0.9 + cp -prL docs/build/html/Manual docs/build/html/News.html docs/build/html/Participate.html docs/build/html/_sources docs/build/html/_static docs/build/html/genindex.html docs/build/html/index.html docs/build/html/objects.inv docs/build/html/py-modindex.html docs/build/html/search.html docs/build/html/searchindex.js /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-docs-1.0.9 + chmod -R go-w /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-docs-1.0.9 + chmod -R a+rX /usr/src/tmp/python-module-repoze.what-buildroot/usr/share/doc/python-module-repoze.what-docs-1.0.9 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iCo99h 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.4hT2fq find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.what-1.0.9-alt3.git20110411.1.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.what-1.0.9-alt3.git20110411.1.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.what-pickles-1.0.9-alt3.git20110411.1.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-repoze.what-docs-1.0.9-alt3.git20110411.1.1.noarch.rpm 14.72user 1.50system 0:30.11elapsed 53%CPU (0avgtext+0avgdata 83092maxresident)k 0inputs+0outputs (0major+411212minor)pagefaults 0swaps 22.17user 4.72system 0:44.00elapsed 61%CPU (0avgtext+0avgdata 121992maxresident)k 0inputs+0outputs (0major+704653minor)pagefaults 0swaps --- python3-module-repoze.what-1.0.9-alt3.git20110411.1.1.x86_64.rpm.repo 2016-03-16 03:59:56.000000000 +0000 +++ python3-module-repoze.what-1.0.9-alt3.git20110411.1.1.x86_64.rpm.hasher 2019-04-21 01:21:41.676714859 +0000 @@ -1,11 +1,11 @@ /usr/lib64/python3/site-packages/repoze 40755 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info 40755 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/PKG-INFO 100644 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/entry_points.txt 100644 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/namespace_packages.txt 100644 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/not-zip-safe 100644 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/requires.txt 100644 -/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.3.egg-info/top_level.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info 40755 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/PKG-INFO 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/entry_points.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/namespace_packages.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/not-zip-safe 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/requires.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9dev_r0-py3.5.egg-info/top_level.txt 100644 /usr/lib64/python3/site-packages/repoze/what 40755 @@ -13,10 +13,17 @@ /usr/lib64/python3/site-packages/repoze/what/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-33.pyo 100644 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-33.pyo 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-35.pyc 100644 /usr/lib64/python3/site-packages/repoze/what/adapters 40755 @@ -24,4 +31,8 @@ /usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-33.pyc 100644 -/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-33.pyo 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-35.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-35.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-35.pyc 100644 /usr/lib64/python3/site-packages/repoze/what/adapters/testutil.py 100644 @@ -33,10 +44,10 @@ /usr/share/doc/python3-module-repoze.what-1.0.9/README.txt 100644 -Requires: python3.3(repoze) -Requires: python3.3(repoze.who) -Requires: python3.3(repoze.who-testutil) -Requires: python3.3(paste) +Requires: python3(repoze) < 0 +Requires: python3(repoze.who) < 0 +Requires: python3(repoze.who-testutil) < 0 +Requires: python3(paste) < 0 Requires: /usr/lib64/python3/site-packages -Requires: python3.3(os) -Requires: python3.3(warnings) -Requires: python3.3(zope) +Requires: python3(os) < 0 +Requires: python3(warnings) < 0 +Requires: python3(zope) < 0 Requires: rpmlib(PayloadIsLzma)