<86>Apr 25 17:02:06 userdel[47309]: delete user 'rooter' <86>Apr 25 17:02:06 userdel[47309]: removed group 'rooter' owned by 'rooter' <86>Apr 25 17:02:06 userdel[47309]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 25 17:02:06 groupadd[47314]: group added to /etc/group: name=rooter, GID=669 <86>Apr 25 17:02:06 groupadd[47314]: group added to /etc/gshadow: name=rooter <86>Apr 25 17:02:06 groupadd[47314]: new group: name=rooter, GID=669 <86>Apr 25 17:02:06 useradd[47318]: new user: name=rooter, UID=669, GID=669, home=/root, shell=/bin/bash <86>Apr 25 17:02:06 userdel[47325]: delete user 'builder' <86>Apr 25 17:02:06 userdel[47325]: removed group 'builder' owned by 'builder' <86>Apr 25 17:02:06 userdel[47325]: removed shadow group 'builder' owned by 'builder' <86>Apr 25 17:02:06 groupadd[47330]: group added to /etc/group: name=builder, GID=670 <86>Apr 25 17:02:06 groupadd[47330]: group added to /etc/gshadow: name=builder <86>Apr 25 17:02:06 groupadd[47330]: new group: name=builder, GID=670 <86>Apr 25 17:02:06 useradd[47334]: new user: name=builder, UID=670, GID=670, home=/usr/src, shell=/bin/bash <13>Apr 25 17:02:08 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 25 17:02:08 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 25 17:02:08 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 25 17:02:08 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Apr 25 17:02:08 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 25 17:02:08 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 25 17:02:08 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 25 17:02:09 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 25 17:02:09 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 25 17:02:09 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Apr 25 17:02:09 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Apr 25 17:02:09 rpmi: python3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Apr 25 17:02:09 rpmi: libpython3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Apr 25 17:02:09 rpmi: python3-base-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Apr 25 17:02:09 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 25 17:02:09 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 25 17:02:09 rpmi: rpm-macros-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Apr 25 17:02:14 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Apr 25 17:02:14 rpmi: python3-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 25 17:02:14 rpmi: python-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Apr 25 17:02:14 rpmi: python-module-repoze-2.2-alt3.git20140327 1477913185 installed <13>Apr 25 17:02:14 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Apr 25 17:02:14 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>Apr 25 17:02:14 rpmi: python-module-imagesize-0.7.1-alt1 1461387704 installed <13>Apr 25 17:02:14 rpmi: python-sphinx-objects.inv-1:2.3.8.20190424-alt1 sisyphus+228108.100.1.1 1556159822 installed <13>Apr 25 17:02:14 rpmi: python-module-google-0.4.2-alt2.1 1517733343 installed <13>Apr 25 17:02:14 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Apr 25 17:02:14 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:14 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144773 installed <13>Apr 25 17:02:14 rpmi: libsqlite3-3.27.2-alt1 sisyphus+225506.100.1.1 1553253705 installed <13>Apr 25 17:02:14 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 25 17:02:14 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 25 17:02:14 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 25 17:02:15 rpmi: python3-dev-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Apr 25 17:02:15 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 25 17:02:15 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Apr 25 17:02:15 rpmi: libgcrypt20-1.8.4-alt1 sisyphus+225621.500.1.1 1553521735 installed <13>Apr 25 17:02:15 rpmi: libxslt-1.1.33-alt1 sisyphus+226936.100.1.1 1554820937 installed <13>Apr 25 17:02:15 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 25 17:02:15 groupadd[58924]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 25 17:02:15 groupadd[58924]: group added to /etc/gshadow: name=_keytab <86>Apr 25 17:02:15 groupadd[58924]: new group: name=_keytab, GID=499 <13>Apr 25 17:02:15 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Apr 25 17:02:15 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 25 17:02:15 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 25 17:02:15 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Apr 25 17:02:15 rpmi: python-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 25 17:02:15 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Apr 25 17:02:15 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Apr 25 17:02:15 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Apr 25 17:02:15 rpmi: python-module-webob-1.8.5-alt1 sisyphus.219072.100 1547030251 installed <13>Apr 25 17:02:15 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>Apr 25 17:02:15 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:15 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 25 17:02:16 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:16 rpmi: python-module-pycparser-2.19-alt1 sisyphus.216095.100 1541345023 installed <13>Apr 25 17:02:16 rpmi: python-module-cffi-1.10.0-alt1.1 sisyphus+225625.5300.91.1 1555284775 installed <13>Apr 25 17:02:16 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Apr 25 17:02:16 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>Apr 25 17:02:16 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 25 17:02:16 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Apr 25 17:02:16 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus+227493.600.1.3 1555835341 installed <13>Apr 25 17:02:16 rpmi: python-module-lxml-4.3.3-alt1.1 sisyphus+225625.33200.91.1 1555314727 installed <13>Apr 25 17:02:16 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Apr 25 17:02:16 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Apr 25 17:02:16 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 sisyphus+224405.100.2.1 1554338101 installed <13>Apr 25 17:02:16 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Apr 25 17:02:17 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+221000.100.1.2 1549688063 installed <13>Apr 25 17:02:17 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Apr 25 17:02:17 rpmi: python-module-flup-1.0.3-alt2.hg20120223.1.2 1526984399 installed <13>Apr 25 17:02:17 rpmi: python-module-zc-1.0.0-alt6.2 1458024175 installed <13>Apr 25 17:02:17 rpmi: python-module-zope.interface-4.6.0-alt1 sisyphus+227562.100.3.1 1556009950 installed <13>Apr 25 17:02:17 rpmi: python-module-zope-3.3.0-alt8.5 sisyphus+225625.33400.91.1 1555314837 installed <13>Apr 25 17:02:17 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Apr 25 17:02:17 rpmi: python-module-cryptography-2.6.1-alt1 sisyphus+225625.24400.91.1 1555298600 installed <13>Apr 25 17:02:17 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Apr 25 17:02:17 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555292381 installed <13>Apr 25 17:02:17 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 25 17:02:17 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 25 17:02:17 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Apr 25 17:02:17 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Apr 25 17:02:17 rpmi: python-module-urllib3-2:1.24.2-alt1 sisyphus+227955.100.1.1 1555939092 installed <13>Apr 25 17:02:17 rpmi: python-module-requests-2.21.0-alt1 sisyphus.218511.200 1545669878 installed <13>Apr 25 17:02:17 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Apr 25 17:02:17 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555289337 installed <13>Apr 25 17:02:17 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Apr 25 17:02:17 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:17 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555284142 installed <13>Apr 25 17:02:17 rpmi: python-module-py-1.8.0-alt2 sisyphus+225173.100.1.1 1552828593 installed <13>Apr 25 17:02:17 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+220258.100.1.1 1548882900 installed <13>Apr 25 17:02:17 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968870 installed <13>Apr 25 17:02:17 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus.218098.100 1545218863 installed <13>Apr 25 17:02:17 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Apr 25 17:02:17 rpmi: python-module-openid-2.2.5-alt2.2 1526988190 installed <13>Apr 25 17:02:17 rpmi: python-module-paste-2.0.3-alt1.1 1527254070 installed <13>Apr 25 17:02:17 rpmi: python-modules-wsgiref-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:17 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225625.23000.91.1 1555296582 installed <13>Apr 25 17:02:17 rpmi: python-module-pluggy-0.9.0-alt1 sisyphus+227511.1200.1.2 1555855883 installed <13>Apr 25 17:02:18 rpmi: python-module-pytest-3.10.1-alt5 sisyphus+226322.100.1.1 1554061369 installed <13>Apr 25 17:02:18 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus+227529.1200.1.2 1555924506 installed <13>Apr 25 17:02:18 rpmi: python-module-alabaster-0.7.6-alt3 1526385201 installed <13>Apr 25 17:02:18 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Apr 25 17:02:18 rpmi: python-module-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Apr 25 17:02:18 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Apr 25 17:02:18 rpmi: gif2png-2.5.13-alt1 sisyphus+225580.100.1.1 1553385460 installed <13>Apr 25 17:02:18 rpmi: python-module-repoze.who-2.2-alt3.git20140327 1477913185 installed <13>Apr 25 17:02:18 rpmi: python-module-nose-1:1.3.7-alt4.git20160316 sisyphus.213223.100 1537286725 installed <13>Apr 25 17:02:18 rpmi: python-module-coverage-4.5.1-alt3 sisyphus+225625.5500.91.1 1555285098 installed <13>Apr 25 17:02:18 rpmi: python3-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-repoze.who-friendlyform-1.0.8-alt5.1.1.1.1.nosrc.rpm <13>Apr 25 17:02:24 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:24 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Apr 25 17:02:24 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 25 17:02:24 rpmi: python-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Installing python-module-repoze.who-friendlyform-1.0.8-alt5.1.1.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.42521 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-repoze.who-friendlyform-1.0.8 + echo 'Source #0 (repoze.who-friendlyform-1.0.8.tar.gz):' Source #0 (repoze.who-friendlyform-1.0.8.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/repoze.who-friendlyform-1.0.8.tar.gz + /bin/tar -xf - + cd python-module-repoze.who-friendlyform-1.0.8 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/tests.py WARNING: couldn't encode ../python3/tests.py's diff for your terminal RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/repoze/who/plugins/friendlyform.py RefactoringTool: No changes to ../python3/repoze/who/plugins/__init__.py RefactoringTool: No changes to ../python3/repoze/who/__init__.py RefactoringTool: No changes to ../python3/repoze/__init__.py RefactoringTool: Refactored ../python3/ez_setup.py --- ../python3/tests.py (original) +++ ../python3/tests.py (refactored) @@ -13,9 +13,9 @@ # ############################################################################## """Test suite for the collection of :mod:`repoze.who` friendly forms.""" -from StringIO import StringIO +from io import StringIO from unittest import TestCase -from urllib import quote as original_quoter +from urllib.parse import quote as original_quoter from zope.interface.verify import verifyClass from paste.httpexceptions import HTTPFound @@ -387,7 +387,7 @@ environ = self._makeFormEnviron(path_info='/not_login_handler') result = plugin.identify(environ) self.assertEqual(result, None) - self.failIf(environ.get('repoze.who.application')) + self.assertFalse(environ.get('repoze.who.application')) def test_identify_via_login_handler(self): plugin = self._makeOne() @@ -399,9 +399,9 @@ self.assertEqual(result, {'login':'chris', 'password':'password'}) app = environ['repoze.who.application'] self.assertEqual(len(app.headers), 3) - self.assert_("Content-Type" in app.headers) - self.assert_("Content-Length" in app.headers) - self.assert_("Location" in app.headers) + self.assertTrue("Content-Type" in app.headers) + self.assertTrue("Content-Length" in app.headers) + self.assertTrue("Location" in app.headers) self.assertEqual(app.headers['Location'], 'http://example.com/?__logins=0') self.assertEqual(app.code, 302) @@ -412,9 +412,9 @@ result = plugin.identify(environ) self.assertEqual(result, None) app = environ['repoze.who.application'] - self.assert_("Content-Type" in app.headers) - self.assert_("Content-Length" in app.headers) - self.assert_("Location" in app.headers) + self.assertTrue("Content-Type" in app.headers) + self.assertTrue("Content-Length" in app.headers) + self.assertTrue("Location" in app.headers) self.assertEqual(app.headers['Location'], '/?__logins=0') self.assertEqual(app.code, 302) @@ -444,9 +444,9 @@ result = plugin.identify(environ) self.assertEqual(result, None) app = environ['repoze.who.application'] - self.assert_("Content-Type" in app.headers) - self.assert_("Content-Length" in app.headers) - self.assert_("Location" in app.headers) + self.assertTrue("Content-Type" in app.headers) + self.assertTrue("Content-Length" in app.headers) + self.assertTrue("Location" in app.headers) self.assertEqual(app.headers['Location'], '/?__logins=0') self.assertEqual(app.code, 302) @@ -463,11 +463,11 @@ # Testing with Latin-1 arguments: environ_utf = self._makeFormEnviron( path_info="/login_handler", --- ../python3/repoze/who/plugins/friendlyform.py (original) +++ ../python3/repoze/who/plugins/friendlyform.py (refactored) @@ -15,10 +15,10 @@ """Collection of :mod:`repoze.who` friendly forms""" -from urlparse import urlparse, urlunparse -from urllib import urlencode +from urllib.parse import urlparse, urlunparse +from urllib.parse import urlencode try: - from urlparse import parse_qs + from urllib.parse import parse_qs except ImportError:#pragma: no cover from cgi import parse_qs --- ../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 asRefactoringTool: Refactored ../python3/docs/source/conf.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/tests.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/repoze/who/plugins/friendlyform.py RefactoringTool: ../python3/repoze/who/plugins/__init__.py RefactoringTool: ../python3/repoze/who/__init__.py RefactoringTool: ../python3/repoze/__init__.py RefactoringTool: ../python3/ez_setup.py RefactoringTool: ../python3/docs/source/conf.py 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'Collection of repoze.who friendly form plugins' -copyright = u'2009-2010, Gustavo Narea' +project = 'Collection of repoze.who friendly form plugins' +copyright = '2009-2010, Gustavo Narea' # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. @@ -166,8 +166,8 @@ # (source start file, target name, title, author, document class [howto/manual]). latex_documents = [ ('index', 'repozewhofriendlyform.tex', - u'Collection of repoze.who friendly form plugins', - u'Gustavo Narea', 'manual'), + 'Collection of repoze.who friendly form plugins', + '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.47195 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who-friendlyform-1.0.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/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/who copying repoze/who/__init__.py -> build/lib/repoze/who creating build/lib/repoze/who/plugins copying repoze/who/plugins/friendlyform.py -> build/lib/repoze/who/plugins copying repoze/who/plugins/__init__.py -> build/lib/repoze/who/plugins running egg_info writing requirements to repoze.who_friendlyform.egg-info/requires.txt writing repoze.who_friendlyform.egg-info/PKG-INFO writing namespace_packages to repoze.who_friendlyform.egg-info/namespace_packages.txt writing top-level names to repoze.who_friendlyform.egg-info/top_level.txt writing dependency_links to repoze.who_friendlyform.egg-info/dependency_links.txt writing entry points to repoze.who_friendlyform.egg-info/entry_points.txt reading manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' warning: no previously-included files matching '*' found under directory 'tests' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.egg' found anywhere in distribution warning: no previously-included files matching '.directory' found anywhere in distribution writing manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build 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/who copying repoze/who/__init__.py -> build/lib/repoze/who creating build/lib/repoze/who/plugins copying repoze/who/plugins/friendlyform.py -> build/lib/repoze/who/plugins copying repoze/who/plugins/__init__.py -> build/lib/repoze/who/plugins running egg_info writing repoze.who_friendlyform.egg-info/PKG-INFO writing dependency_links to repoze.who_friendlyform.egg-info/dependency_links.txt writing entry points to repoze.who_friendlyform.egg-info/entry_points.txt writing namespace_packages to repoze.who_friendlyform.egg-info/namespace_packages.txt writing requirements to repoze.who_friendlyform.egg-info/requires.txt writing top-level names to repoze.who_friendlyform.egg-info/top_level.txt reading manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' warning: no previously-included files matching '*' found under directory 'tests' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.egg' found anywhere in distribution warning: no previously-included files matching '.directory' found anywhere in distribution writing manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' + popd ~/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + export PYTHONPATH=/usr/src/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + PYTHONPATH=/usr/src/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + pushd docs/source/_static ~/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8/docs/source/_static ~/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + gif2png logo_hi.gif gif2png: 192 unused colors; convert with -O to remove + popd ~/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + make -C docs html make: Entering directory '/usr/src/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8/docs' mkdir -p build/pickle build/doctrees sphinx-build -b pickle -d build/doctrees source build/pickle Running Sphinx v1.6.5 running test running egg_info deleting repoze.who_friendlyform.egg-info/requires.txt writing repoze.who_friendlyform.egg-info/PKG-INFO writing namespace_packages to repoze.who_friendlyform.egg-info/namespace_packages.txt writing top-level names to repoze.who_friendlyform.egg-info/top_level.txt writing dependency_links to repoze.who_friendlyform.egg-info/dependency_links.txt writing entry points to repoze.who_friendlyform.egg-info/entry_points.txt reading manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' warning: no previously-included files matching '*' found under directory 'tests' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.egg' found anywhere in distribution warning: no previously-included files matching '.directory' found anywhere in distribution writing manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' running build_ext /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'cover-erase' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'cover-package' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'with-coverage' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'with-doctest' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) ---------------------------------------------------------------------- Ran 0 tests in 0.016s OK 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... WARNING: intersphinx inventory 'objects.inv' not fetchable due to : [Errno 20] Not a directory: u'/usr/src/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8/docs/source/objects.inv' building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 2 source files that are out of date updating environment: 2 added, 0 changed, 0 removed reading sources... [ 50%] News /usr/lib/python2.7/site-packages/sphinx/environment/__init__.py:686: RemovedInSphinx17Warning: html_use_smartypants option is deprecated. Smart quotes are on by default; if you want to disable or customize them, use the smart_quotes option in docutils.conf. RemovedInSphinx17Warning) reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 50%] News 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, 1 warning. Build finished; now you can process the pickle files or run sphinx-web build/pickle to start the sphinx-web server. mkdir -p build/html build/doctrees sphinx-build -b html -d build/doctrees source build/html Running Sphinx v1.6.5 running test running egg_info writing repoze.who_friendlyform.egg-info/PKG-INFO writing namespace_packages to repoze.who_friendlyform.egg-info/namespace_packages.txt writing top-level names to repoze.who_friendlyform.egg-info/top_level.txt writing dependency_links to repoze.who_friendlyform.egg-info/dependency_links.txt writing entry points to repoze.who_friendlyform.egg-info/entry_points.txt reading manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory 'tests' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.egg' found anywhere in distribution warning: no previously-included files matching '.directory' found anywhere in distribution writing manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' running build_ext /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'cover-erase' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'cover-package' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'with-coverage' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python2.7/site-packages/nose/config.py:263: RuntimeWarning: Option 'with-doctest' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) ---------------------------------------------------------------------- Ran 0 tests in 0.018s OK 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... WARNING: intersphinx inventory 'objects.inv' not fetchable due to : [Errno 20] Not a directory: u'/usr/src/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8/docs/source/objects.inv' building [mo]: targets for 0 po files that are out of date building [html]: targets for 2 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... [ 50%] News 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, 1 warning. Build finished. The HTML pages are in build/html. make: Leaving directory '/usr/src/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8/docs' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.21119 + 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.who-friendlyform-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot + cd python-module-repoze.who-friendlyform-1.0.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.who-friendlyform-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/__init__.py (namespace package) copying repoze/who/plugins/friendlyform.py -> /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins byte-compiling /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.py to friendlyform.pyc running install_egg_info running egg_info writing requirements to repoze.who_friendlyform.egg-info/requires.txt writing repoze.who_friendlyform.egg-info/PKG-INFO writing namespace_packages to repoze.who_friendlyform.egg-info/namespace_packages.txt writing top-level names to repoze.who_friendlyform.egg-info/top_level.txt writing dependency_links to repoze.who_friendlyform.egg-info/dependency_links.txt writing entry points to repoze.who_friendlyform.egg-info/entry_points.txt reading manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory 'tests' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.egg' found anywhere in distribution warning: no previously-included files matching '.directory' found anywhere in distribution writing manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' Copying repoze.who_friendlyform.egg-info to /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze.who_friendlyform-1.0.8-py2.7.egg-info Installing /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze.who_friendlyform-1.0.8-py2.7-nspkg.pth running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.who-friendlyform-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/__init__.py (namespace package) copying repoze/who/plugins/friendlyform.py -> /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins byte-compiling /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/friendlyform.py to friendlyform.cpython-37.pyc running install_egg_info running egg_info writing repoze.who_friendlyform.egg-info/PKG-INFO writing dependency_links to repoze.who_friendlyform.egg-info/dependency_links.txt writing entry points to repoze.who_friendlyform.egg-info/entry_points.txt writing namespace_packages to repoze.who_friendlyform.egg-info/namespace_packages.txt writing requirements to repoze.who_friendlyform.egg-info/requires.txt writing top-level names to repoze.who_friendlyform.egg-info/top_level.txt reading manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' warning: no previously-included files matching '*' found under directory 'tests' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.egg' found anywhere in distribution warning: no previously-included files matching '.directory' found anywhere in distribution writing manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' Copying repoze.who_friendlyform.egg-info to /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze.who_friendlyform-1.0.8-py3.7.egg-info Installing /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze.who_friendlyform-1.0.8-py3.7-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-repoze.who-friendlyform-1.0.8 + install -d /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze.who-friendlyform + cp -fR docs/build/pickle /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze.who-friendlyform/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-repoze.who-friendlyform-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.who-friendlyform-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.pyc compile /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.py Bytecompiling python3 modules in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/__pycache__/friendlyform.cpython-37.pyc compile /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/friendlyform.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/friendlyform.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/friendlyform.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/repoze/who/plugins/__pycache__/friendlyform.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/repoze/who/plugins/__pycache__/friendlyform.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.pyo' => './usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.pyc' Processing files: python-module-repoze.who-friendlyform-1.0.8-alt5.1.1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.12127 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who-friendlyform-1.0.8 + DOCDIR=/usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-1.0.8 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-1.0.8 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-1.0.8 + cp -prL README.txt TODO.txt VERSION.txt PKG-INFO tests.py CONTRIBUTORS /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-1.0.8 + chmod -R go-w /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-1.0.8 + chmod -R a+rX /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-1.0.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8Iwdnt 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.9TB0Xo 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.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.py: line=21 IGNORE (for REQ=slight and deep=8) module=urlparse /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/friendlyform.py: line=23 IGNORE (for REQ=slight and deep=8) module=cgi Requires: python2.7(repoze.who), python2.7(zope.interface), python2.7(webob), /usr/lib/python2.7/site-packages, python-modules, python2.7(paste), python2.7(repoze), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.W2Iv97 Processing files: python3-module-repoze.who-friendlyform-1.0.8-alt5.1.1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.9553 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who-friendlyform-1.0.8 + DOCDIR=/usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python3-module-repoze.who-friendlyform-1.0.8 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python3-module-repoze.who-friendlyform-1.0.8 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python3-module-repoze.who-friendlyform-1.0.8 + cp -prL README.txt TODO.txt VERSION.txt PKG-INFO tests.py CONTRIBUTORS /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python3-module-repoze.who-friendlyform-1.0.8 + chmod -R go-w /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python3-module-repoze.who-friendlyform-1.0.8 + chmod -R a+rX /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python3-module-repoze.who-friendlyform-1.0.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s2QzOF 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.vrPwtD 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.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/friendlyform.py: line=21 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/friendlyform.py: line=23 IGNORE (for REQ=slight and deep=8) module=cgi Provides: python3(repoze.who.plugins.friendlyform) Requires: python3(repoze.who) < 0, python3(zope.interface) < 0, python3(webob) < 0, /usr/lib/python3/site-packages, python3(paste.request) < 0, python3(repoze.who.interfaces) < 0, python3(urllib.parse) < 0, python3(webob.exc) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b4V1rL Processing files: python-module-repoze.who-friendlyform-docs-1.0.8-alt5.1.1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.30209 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who-friendlyform-1.0.8 + DOCDIR=/usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-docs-1.0.8 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-docs-1.0.8 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-docs-1.0.8 + cp -prL docs/build/html /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-docs-1.0.8 + chmod -R go-w /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-docs-1.0.8 + chmod -R a+rX /usr/src/tmp/python-module-repoze.who-friendlyform-buildroot/usr/share/doc/python-module-repoze.who-friendlyform-docs-1.0.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BNBf4r 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.fX0R91 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Processing files: python-module-repoze.who-friendlyform-pickles-1.0.8-alt5.1.1.1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XxoVcG 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.hrd1yX find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Requires: /usr/lib/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Mq2ih5 Wrote: /usr/src/RPM/RPMS/i586/python-module-repoze.who-friendlyform-1.0.8-alt5.1.1.1.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-repoze.who-friendlyform-1.0.8-alt5.1.1.1.1.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-repoze.who-friendlyform-docs-1.0.8-alt5.1.1.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-repoze.who-friendlyform-pickles-1.0.8-alt5.1.1.1.1.i586.rpm 36.13user 2.59system 0:51.14elapsed 75%CPU (0avgtext+0avgdata 36808maxresident)k 0inputs+0outputs (0major+383468minor)pagefaults 0swaps 51.16user 7.03system 1:14.16elapsed 78%CPU (0avgtext+0avgdata 114840maxresident)k 36016inputs+0outputs (0major+963250minor)pagefaults 0swaps