<86>Jun 12 05:00:18 userdel[89603]: delete user 'rooter' <86>Jun 12 05:00:18 userdel[89603]: removed group 'rooter' owned by 'rooter' <86>Jun 12 05:00:18 groupadd[89611]: group added to /etc/group: name=rooter, GID=549 <86>Jun 12 05:00:18 groupadd[89611]: group added to /etc/gshadow: name=rooter <86>Jun 12 05:00:18 groupadd[89611]: new group: name=rooter, GID=549 <86>Jun 12 05:00:18 useradd[89616]: new user: name=rooter, UID=549, GID=549, home=/root, shell=/bin/bash <86>Jun 12 05:00:18 userdel[89625]: delete user 'builder' <86>Jun 12 05:00:18 userdel[89625]: removed group 'builder' owned by 'builder' <86>Jun 12 05:00:18 userdel[89625]: removed shadow group 'builder' owned by 'builder' <86>Jun 12 05:00:18 groupadd[89630]: group added to /etc/group: name=builder, GID=550 <86>Jun 12 05:00:18 groupadd[89630]: group added to /etc/gshadow: name=builder <86>Jun 12 05:00:18 groupadd[89630]: new group: name=builder, GID=550 <86>Jun 12 05:00:18 useradd[89634]: new user: name=builder, UID=550, GID=550, home=/usr/src, shell=/bin/bash <13>Jun 12 05:00:21 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jun 12 05:00:21 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Jun 12 05:00:21 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jun 12 05:00:21 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Jun 12 05:00:21 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 12 05:00:21 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 12 05:00:21 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Jun 12 05:00:21 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jun 12 05:00:21 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jun 12 05:00:21 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Jun 12 05:00:21 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Jun 12 05:00:21 rpmi: python3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 12 05:00:21 rpmi: libpython3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 12 05:00:23 rpmi: python3-base-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 12 05:00:23 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jun 12 05:00:23 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jun 12 05:00:23 rpmi: rpm-macros-sphinx-1:1.6.5-alt6 sisyphus+231758.140.2.1 1560164936 installed <13>Jun 12 05:00:31 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Jun 12 05:00:31 rpmi: python-module-repoze-2.2-alt4.git20140327 sisyphus+228552.100.1.2 1556748365 installed <13>Jun 12 05:00:31 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Jun 12 05:00:31 rpmi: python3-module-wcwidth-0.1.7-alt2.1 sisyphus+227536.2000.1.2 1555963469 installed <13>Jun 12 05:00:31 rpmi: python3-module-pkg_resources-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jun 12 05:00:31 rpmi: python3-module-pyparsing-2.2.0-alt1 1534411950 installed <13>Jun 12 05:00:31 rpmi: python3-module-packaging-19.0-alt1 sisyphus+231622.100.2.2 1560041487 installed <13>Jun 12 05:00:31 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Jun 12 05:00:31 rpmi: python3-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Jun 12 05:00:31 rpmi: python3-module-zipp-0.5.0-alt1 sisyphus+229321.100.1.1 1557825329 installed <13>Jun 12 05:00:31 rpmi: python3-module-importlib_metadata-0.17-alt1 sisyphus+231618.100.1.1 1559803460 installed <13>Jun 12 05:00:31 rpmi: python3-module-pluggy-0.12.0-alt1 sisyphus+231623.100.1.1 1559815481 installed <13>Jun 12 05:00:31 rpmi: python3-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Jun 12 05:00:31 rpmi: python3-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Jun 12 05:00:31 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Jun 12 05:00:31 rpmi: python3-module-py-1.8.0-alt3 sisyphus+231485.100.1.1 1559653885 installed <13>Jun 12 05:00:31 rpmi: python-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Jun 12 05:00:31 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Jun 12 05:00:31 rpmi: python-sphinx-objects.inv-1:2.3.9.20190609-alt1 sisyphus+231811.100.1.1 1560123635 installed <13>Jun 12 05:00:31 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633038 installed <13>Jun 12 05:00:31 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Jun 12 05:00:31 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:31 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144769 installed <13>Jun 12 05:00:31 rpmi: libsqlite3-3.28.0-alt1 sisyphus+231334.100.1.1 1559488286 installed <13>Jun 12 05:00:31 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Jun 12 05:00:31 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Jun 12 05:00:31 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Jun 12 05:00:31 rpmi: libgcrypt20-1.8.4-alt2 sisyphus+229280.100.1.1 1557741896 installed <13>Jun 12 05:00:31 rpmi: libxslt-1.1.33-alt1 sisyphus+226936.100.1.1 1554820927 installed <13>Jun 12 05:00:31 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Jun 12 05:00:31 groupadd[95983]: group added to /etc/group: name=_keytab, GID=499 <86>Jun 12 05:00:31 groupadd[95983]: group added to /etc/gshadow: name=_keytab <86>Jun 12 05:00:31 groupadd[95983]: new group: name=_keytab, GID=499 <13>Jun 12 05:00:32 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Jun 12 05:00:32 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Jun 12 05:00:32 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Jun 12 05:00:32 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Jun 12 05:00:32 rpmi: python-module-pkg_resources-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jun 12 05:00:32 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Jun 12 05:00:32 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Jun 12 05:00:32 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Jun 12 05:00:32 rpmi: python-module-webob-1.8.5-alt1 sisyphus.219072.100 1547030251 installed <13>Jun 12 05:00:32 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:32 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Jun 12 05:00:32 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316502 installed <13>Jun 12 05:00:32 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Jun 12 05:00:32 rpmi: python-module-flup-1.0.3-alt2.hg20120223.1.2 1526984399 installed <13>Jun 12 05:00:32 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Jun 12 05:00:32 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Jun 12 05:00:32 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Jun 12 05:00:32 rpmi: python-module-html5lib-1:0.999999999-alt5 sisyphus+231157.100.1.1 1559210416 installed <13>Jun 12 05:00:32 rpmi: python-module-lxml-4.3.3-alt1.1 sisyphus+225625.33200.91.1 1555315088 installed <13>Jun 12 05:00:32 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Jun 12 05:00:32 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Jun 12 05:00:32 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Jun 12 05:00:32 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Jun 12 05:00:33 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Jun 12 05:00:33 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed <13>Jun 12 05:00:33 rpmi: python-module-zope.interface-4.6.0-alt1 sisyphus+227562.100.3.1 1556009938 installed <13>Jun 12 05:00:33 rpmi: python-module-zope-3.3.0-alt8.5 sisyphus+225625.33400.91.1 1555315201 installed <13>Jun 12 05:00:33 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Jun 12 05:00:33 rpmi: python-module-cryptography-2.7-alt1 sisyphus+231440.140.2.1 1559612347 installed <13>Jun 12 05:00:33 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Jun 12 05:00:33 rpmi: python-module-openid-2.2.5-alt2.2 1526988190 installed <13>Jun 12 05:00:33 rpmi: python-module-paste-2.0.3-alt1.1 sisyphus+228364.200.1.1 1556564257 installed <13>Jun 12 05:00:33 rpmi: python-module-PasteDeploy-1:2.0.1-alt1 sisyphus+228350.100.4.1 1556553619 installed <13>Jun 12 05:00:33 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555293606 installed <13>Jun 12 05:00:33 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Jun 12 05:00:33 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Jun 12 05:00:33 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Jun 12 05:00:33 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Jun 12 05:00:33 rpmi: python-module-urllib3-2:1.24.3-alt1 sisyphus+228978.100.1.1 1557126149 installed <13>Jun 12 05:00:33 rpmi: python-module-requests-2.21.0-alt1 sisyphus+228370.100.2.2 1556711628 installed <13>Jun 12 05:00:33 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Jun 12 05:00:33 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555290677 installed <13>Jun 12 05:00:33 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Jun 12 05:00:33 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:33 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555285684 installed <13>Jun 12 05:00:33 rpmi: python-modules-wsgiref-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:33 rpmi: python-module-repoze.who-2.2-alt4.git20140327 sisyphus+228552.100.1.2 1556748365 installed <13>Jun 12 05:00:33 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225625.23000.91.1 1555297606 installed <13>Jun 12 05:00:33 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus+227529.1200.1.2 1555924506 installed <13>Jun 12 05:00:33 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Jun 12 05:00:33 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Jun 12 05:00:34 rpmi: python-module-sphinx-1:1.6.5-alt6 sisyphus+231758.140.2.1 1560164936 installed <13>Jun 12 05:00:34 rpmi: python-module-repoze.who-testutil-1.0.2-alt2.svn20100816.2 sisyphus+228553.100.1.3 1556750399 installed <13>Jun 12 05:00:34 rpmi: python3-module-pytest-4.6.2-alt1 sisyphus+231623.200.2.1 1559890556 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-repoze.what-1.0.9-alt3.git20110411.1.1.1.nosrc.rpm <13>Jun 12 05:00:39 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:39 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jun 12 05:00:39 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jun 12 05:00:39 rpmi: python3-dev-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Jun 12 05:00:39 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Jun 12 05:00:39 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jun 12 05:00:39 rpmi: python-module-setuptools-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jun 12 05:00:39 rpmi: python3-module-setuptools-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed Installing python-module-repoze.what-1.0.9-alt3.git20110411.1.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.13030 + 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.28842 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.what-1.0.9 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/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 dependency_links to repoze.what.egg-info/dependency_links.txt writing entry points to repoze.what.egg-info/entry_points.txt writing namespace_packages to repoze.what.egg-info/namespace_packages.txt writing requirements to repoze.what.egg-info/requires.txt writing top-level names to repoze.what.egg-info/top_level.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.6.5 running test Searching for nose Reading https://pypi.org/simple/nose/ Download error on https://pypi.org/simple/nose/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Couldn't find index page for 'nose' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! No local packages or working download links found for nose error: Could not find suitable distribution for Requirement.parse('nose') Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt 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.6.5 running test Searching for nose Reading https://pypi.org/simple/nose/ Download error on https://pypi.org/simple/nose/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Couldn't find index page for 'nose' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! No local packages or working download links found for nose error: Could not find suitable distribution for Requirement.parse('nose') Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt 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.47183 + 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 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /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.9.dev0-py2.7.egg-info Installing /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze.what-1.0.9.dev0-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.9.dev0-py2.7-nspkg.pth /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python2.7/site-packages/repoze.what-1.0.9.dev0-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 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/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-37.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/middleware.py to middleware.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/predicates.py to predicates.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/release.py to release.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/adapters/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze/what/adapters/testutil.py to testutil.cpython-37.pyc running install_egg_info running egg_info writing repoze.what.egg-info/PKG-INFO writing dependency_links to repoze.what.egg-info/dependency_links.txt writing entry points to repoze.what.egg-info/entry_points.txt writing namespace_packages to repoze.what.egg-info/namespace_packages.txt writing requirements to repoze.what.egg-info/requires.txt writing top-level names to repoze.what.egg-info/top_level.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.9.dev0-py3.7.egg-info Installing /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze.what-1.0.9.dev0-py3.7-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.9.dev0-py3.7-nspkg.pth /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.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) Checking contents of files in /usr/src/tmp/python-module-repoze.what-buildroot/ (default) 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 /usr/bin/python3 unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.what-buildroot/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-37.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 /usr/bin/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 /usr/bin/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-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-37.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-37.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-37.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-37.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-37.pyc' './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-37.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.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.77349 + 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.YukDOt 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.NLLLXB 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.I3HfDN Processing files: python3-module-repoze.what-1.0.9-alt3.git20110411.1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.60620 + 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.X1uMp3 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.8vv2xm 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(repoze.what.adapters), python3(repoze.what.adapters.testutil), python3(repoze.what.authorize), python3(repoze.what.middleware), python3(repoze.what.predicates), python3(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(paste.request) < 0, python3(repoze.who.classifiers) < 0, python3(repoze.who.interfaces) < 0, python3(repoze.who.plugins.testutil) < 0, python3(warnings) < 0, python3(zope.interface) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jmZ9FL Processing files: python-module-repoze.what-pickles-1.0.9-alt3.git20110411.1.1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eYTKde 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.hkgX7J 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.UUiJCj Processing files: python-module-repoze.what-docs-1.0.9-alt3.git20110411.1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.96678 + 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.DutskX 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.c1kaqE 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.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.what-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.what-pickles-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-repoze.what-docs-1.0.9-alt3.git20110411.1.1.1.noarch.rpm 19.34user 1.50system 0:35.30elapsed 59%CPU (0avgtext+0avgdata 103360maxresident)k 0inputs+0outputs (0major+562232minor)pagefaults 0swaps 29.98user 4.70system 0:59.73elapsed 58%CPU (0avgtext+0avgdata 113788maxresident)k 0inputs+0outputs (0major+1174953minor)pagefaults 0swaps --- python-module-repoze.what-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm.repo 2016-06-07 17:37:42.000000000 +0000 +++ python-module-repoze.what-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm.hasher 2019-06-12 05:01:16.956530076 +0000 @@ -2,11 +2,11 @@ /usr/lib64/python2.7/site-packages/repoze.what 40755 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info 40755 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/PKG-INFO 100644 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/SOURCES.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/dependency_links.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/entry_points.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/namespace_packages.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/not-zip-safe 100644 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/requires.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what-1.0.9dev_r0-py2.7.egg-info/top_level.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info 40755 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/PKG-INFO 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/SOURCES.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/dependency_links.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/entry_points.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/namespace_packages.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/not-zip-safe 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/requires.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what-1.0.9.dev0-py2.7.egg-info/top_level.txt 100644 /usr/lib64/python2.7/site-packages/repoze/what 40755 --- python-module-repoze.what-docs-1.0.9-alt3.git20110411.1.1.1.noarch.rpm.repo 2016-06-07 17:37:47.000000000 +0000 +++ python-module-repoze.what-docs-1.0.9-alt3.git20110411.1.1.1.noarch.rpm.hasher 2019-06-12 05:01:16.993530371 +0000 @@ -17,16 +17,16 @@ /usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual 40755 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/GettingStarted.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/InnerWorkings.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/ManagingSources.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/GettingStarted.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/InnerWorkings.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/ManagingSources.rst.txt 100644 /usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Plugins 40755 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Plugins/index.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Plugins/index.rst.txt 100644 /usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates 40755 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/Builtin.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/Evaluating.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/Writing.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/index.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/index.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/News.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Participate.txt 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/index.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/Builtin.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/Evaluating.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/Writing.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/Predicates/index.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Manual/index.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/News.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/Participate.rst.txt 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_sources/index.rst.txt 100644 /usr/share/doc/python-module-repoze.what-docs-1.0.9/_static 40755 @@ -42,3 +42,3 @@ /usr/share/doc/python-module-repoze.what-docs-1.0.9/_static/file.png 100644 -/usr/share/doc/python-module-repoze.what-docs-1.0.9/_static/jquery-1.11.1.js 100644 +/usr/share/doc/python-module-repoze.what-docs-1.0.9/_static/jquery-3.1.0.js 100644 /usr/share/doc/python-module-repoze.what-docs-1.0.9/_static/jquery.js 100644 --- python-module-repoze.what-pickles-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm.repo 2016-06-07 17:37:42.000000000 +0000 +++ python-module-repoze.what-pickles-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm.hasher 2019-06-12 05:01:17.014530539 +0000 @@ -18,21 +18,41 @@ /usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual 40755 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/GettingStarted.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/InnerWorkings.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/ManagingSources.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/GettingStarted.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/InnerWorkings.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/ManagingSources.rst.txt 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Plugins 40755 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Plugins/index.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Plugins/index.rst.txt 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates 40755 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/Builtin.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/Evaluating.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/Writing.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/index.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/index.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/News.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Participate.txt 100644 -/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/index.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/Builtin.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/Evaluating.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/Writing.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/Predicates/index.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Manual/index.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/News.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/Participate.rst.txt 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_sources/index.rst.txt 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/_static 40755 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/ajax-loader.gif 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/alabaster.css 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/basic.css 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/comment-bright.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/comment-close.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/comment.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/doctools.js 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/down-pressed.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/down.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/file.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/jquery-3.1.0.js 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/jquery.js 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/logo_hi.gif 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/minus.png 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/opensearch.xml 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/plus.png 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/pygments.css 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/repoze.css 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/searchtools.js 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/underscore-1.3.1.js 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/underscore.js 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/up-pressed.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/up.png 100644 +/usr/lib64/python2.7/site-packages/repoze.what/pickle/_static/websupport.js 100644 /usr/lib64/python2.7/site-packages/repoze.what/pickle/environment.pickle 100644 --- python3-module-repoze.what-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm.repo 2016-06-07 17:37:42.000000000 +0000 +++ python3-module-repoze.what-1.0.9-alt3.git20110411.1.1.1.x86_64.rpm.hasher 2019-06-12 05:01:17.044530778 +0000 @@ -1,11 +1,11 @@ /usr/lib64/python3/site-packages/repoze 40755 -/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-1.0.9.dev0-py3.7.egg-info 40755 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/PKG-INFO 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/SOURCES.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/dependency_links.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/entry_points.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/namespace_packages.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/not-zip-safe 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/requires.txt 100644 +/usr/lib64/python3/site-packages/repoze.what-1.0.9.dev0-py3.7.egg-info/top_level.txt 100644 /usr/lib64/python3/site-packages/repoze/what 40755 @@ -13,16 +13,17 @@ /usr/lib64/python3/site-packages/repoze/what/__pycache__ 40755 -/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__/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/__pycache__/__init__.cpython-37.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-37.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/__init__.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-37.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-37.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/authorize.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-37.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-37.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/middleware.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-37.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-37.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/predicates.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-37.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-37.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/__pycache__/release.cpython-37.pyc 100644 /usr/lib64/python3/site-packages/repoze/what/adapters 40755 @@ -30,7 +31,8 @@ /usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__ 40755 -/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__/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/__pycache__/__init__.cpython-37.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-37.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/__init__.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-37.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-37.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/what/adapters/__pycache__/testutil.cpython-37.pyc 100644 /usr/lib64/python3/site-packages/repoze/what/adapters/testutil.py 100644 @@ -42,13 +44,16 @@ /usr/share/doc/python3-module-repoze.what-1.0.9/README.txt 100644 -Requires: python3(repoze.who) -Requires: python3(repoze.who-testutil) +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(os) < 0 -Requires: python3(paste) < 0 -Requires: python3(repoze) < 0 +Requires: python3(paste.request) < 0 +Requires: python3(repoze.who.classifiers) < 0 +Requires: python3(repoze.who.interfaces) < 0 +Requires: python3(repoze.who.plugins.testutil) < 0 Requires: python3(warnings) < 0 -Requires: python3(zope) < 0 +Requires: python3(zope.interface) < 0 Requires: rpmlib(PayloadIsLzma) Provides: python3(repoze.what) -Provides: python3.3(repoze.what) Provides: python3(repoze.what.adapters) @@ -59,8 +64,2 @@ Provides: python3(repoze.what.release) -Provides: python3.3(repoze.what.adapters) -Provides: python3.3(repoze.what.adapters.testutil) -Provides: python3.3(repoze.what.authorize) -Provides: python3.3(repoze.what.middleware) -Provides: python3.3(repoze.what.predicates) -Provides: python3.3(repoze.what.release) Provides: python3-module-repoze.what = 1.0.9-alt3.git20110411.1.1.1