<86>Dec 26 06:32:51 userdel[545267]: delete user 'rooter' <86>Dec 26 06:32:51 userdel[545267]: removed group 'rooter' owned by 'rooter' <86>Dec 26 06:32:51 userdel[545267]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 26 06:32:51 groupadd[545273]: group added to /etc/group: name=rooter, GID=624 <86>Dec 26 06:32:51 groupadd[545273]: group added to /etc/gshadow: name=rooter <86>Dec 26 06:32:51 groupadd[545273]: new group: name=rooter, GID=624 <86>Dec 26 06:32:51 useradd[545281]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash <86>Dec 26 06:32:51 userdel[545291]: delete user 'builder' <86>Dec 26 06:32:51 userdel[545291]: removed group 'builder' owned by 'builder' <86>Dec 26 06:32:51 userdel[545291]: removed shadow group 'builder' owned by 'builder' <86>Dec 26 06:32:51 groupadd[545297]: group added to /etc/group: name=builder, GID=625 <86>Dec 26 06:32:51 groupadd[545297]: group added to /etc/gshadow: name=builder <86>Dec 26 06:32:51 groupadd[545297]: new group: name=builder, GID=625 <86>Dec 26 06:32:51 useradd[545305]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash <13>Dec 26 06:32:54 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 26 06:32:54 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 26 06:32:54 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 26 06:32:54 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Dec 26 06:32:54 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 26 06:32:54 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 26 06:32:54 rpmi: ca-certificates-2021.10.06-alt1 p9+289862.100.1.1 1637033643 installed <13>Dec 26 06:32:54 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Dec 26 06:32:54 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 26 06:32:54 rpmi: libcrypto1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Dec 26 06:32:54 rpmi: libssl1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Dec 26 06:32:54 rpmi: python3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Dec 26 06:32:54 rpmi: libpython3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Dec 26 06:32:55 rpmi: python3-base-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Dec 26 06:32:55 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 26 06:32:55 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 26 06:32:59 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 26 06:32:59 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:32:59 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 26 06:32:59 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 26 06:32:59 rpmi: python3-dev-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Dec 26 06:32:59 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Dec 26 06:32:59 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Dec 26 06:32:59 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Dec 26 06:32:59 groupadd[551627]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 26 06:32:59 groupadd[551627]: group added to /etc/gshadow: name=_keytab <86>Dec 26 06:32:59 groupadd[551627]: new group: name=_keytab, GID=499 <13>Dec 26 06:32:59 rpmi: libkrb5-1.17.2-alt2 p9+280683.100.2.1 1627489159 installed <13>Dec 26 06:32:59 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Dec 26 06:32:59 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Dec 26 06:32:59 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:32:59 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:32:59 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:32:59 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 26 06:33:00 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Dec 26 06:33:00 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 26 06:33:00 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 26 06:33:00 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-yolk-0.4.3-alt3.2.nosrc.rpm (w1.gzdio) Installing python-module-yolk-0.4.3-alt3.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.93400 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-yolk-0.4.3 + echo 'Source #0 (python-module-yolk-0.4.3.tar):' Source #0 (python-module-yolk-0.4.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-yolk-0.4.3.tar + cd python-module-yolk-0.4.3 + /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/yolk/yolklib.py RefactoringTool: Refactored ../python3/yolk/utils.py RefactoringTool: Refactored ../python3/yolk/setuptools_support.py RefactoringTool: Refactored ../python3/yolk/pypi.py --- ../python3/yolk/utils.py (original) +++ ../python3/yolk/utils.py (refactored) @@ -37,7 +37,7 @@ output = os.tmpfile() try: pipe = Popen(arglist, stdout=output, stderr=STDOUT, env=env) - except Exception, errmsg: + except Exception as errmsg: return 1, errmsg # Wait only max_timeout seconds. --- ../python3/yolk/setuptools_support.py (original) +++ ../python3/yolk/setuptools_support.py (refactored) @@ -69,7 +69,7 @@ try: pkg_index.fetch_distribution(req, tmpdir, force_scan, source, develop_ok) - except DownloadURI, url: + except DownloadURI as url: #Remove #egg=pkg-dev clean_url = url.value.split("#")[0] #If setuptools is asked for an egg and there isn't one, it will --- ../python3/yolk/pypi.py (original) +++ ../python3/yolk/pypi.py (refactored) @@ -16,13 +16,13 @@ __docformat__ = 'restructuredtext' import re -import xmlrpclib -import cPickle +import xmlrpc.client +import pickle import os import time import logging -import urllib2 -import httplib +import urllib.request, urllib.error, urllib.parse +import http.client from yolk.utils import get_yolk_dir @@ -43,17 +43,17 @@ """ def getheader(self, name, default=None): if self.headers is None: - raise httplib.ResponseNotReady() + raise http.client.ResponseNotReady() return self.headers.getheader(name, default) def getheaders(self): if self.headers is None: - raise httplib.ResponseNotReady() - return self.headers.items() + raise http.client.ResponseNotReady() + return list(self.headers.items()) urllib2.addinfourl = addinfourl -class ProxyTransport(xmlrpclib.Transport): +class ProxyTransport(xmlrpc.client.Transport): """ Provides an XMl-RPC transport routing via a http proxy. @@ -75,13 +75,13 @@ #We get a traceback if we don't have this attribute: self.verbose = verbose url = 'http://' + host + handler - request = urllib2.Request(url) + request = urllib.request.Request(url) request.add_data(request_body) # Note: 'Host' and 'Content-Length' are added automatically request.add_header('User-Agent', self.user_agent) request.add_header('Content-Type', 'text/xml') - proxy_handler = urllib2.ProxyHandler() - opener = urllib2.build_opener(proxy_handler) + proxy_handler = urllib.request.ProxyHandler() + opener = urllib.request.build_opener(proxy_handler) fhandle = opener.open(request) return(self.parse_response(fhandle)) @@ -158,12 +158,12 @@ Returns PyPI's XML-RPC server instance """ check_proxy_setting() - if os.environ.has_key('XMLRPC_DEBUG'): + if 'XMLRPC_DEBUG' in os.environ: debug = 1 else: debug = 0 try: - return xmlrpclib.Server(XML_RPC_SERVER, transport=ProxyTransport(), verbose=debug) + return xmlrpc.client.Server(XML_RPC_SERVER, transport=ProxyTransport(), verbose=debug) except IOError: self.logger("ERROR: Can't connect to XML-RPC server: %s" \ % XML_RPC_SERVER) @@ -197,13 +197,13 @@ """Return list of pickled package names from PYPI""" if self.debug: self.logger.debug("DEBUG: reading pickled cache file") - return cPickle.load(open(self.pkg_cache_file, "r")) + return pickle.load(open(self.pkg_cache_file, "r")) def fetch_pkg_list(self): """Fetch and cache master list of package names from PYPI""" self.logger.debug("DEBUG: Fetching package name list from PyPI") package_list = self.list_packages() - cPickle.dump(package_list, open(self.pkg_cache_file, "w")) + pickle.dump(package_list, open(self.pkg_cache_file, "w")) self.pkg_list = package_list def search(self, spec, operator): @@ -231,7 +231,7 @@ """Query PYPI via XMLRPC interface for a pkg's metadata""" RefactoringTool: No changes to ../python3/yolk/plugins/base.py RefactoringTool: Refactored ../python3/yolk/plugins/__init__.py RefactoringTool: No changes to ../python3/yolk/metadata.py RefactoringTool: Refactored ../python3/yolk/cli.py try: return self.xmlrpc.release_data(package_name, version) - except xmlrpclib.Fault: + except xmlrpc.client.Fault: #XXX Raises xmlrpclib.Fault if you give non-existant version #Could this be server bug? return @@ -269,7 +269,7 @@ #Try the package's metadata directly in case there's nothing #returned by XML-RPC's release_urls() - if metadata and metadata.has_key('download_url') and \ + if metadata and 'download_url' in metadata and \ metadata['download_url'] != "UNKNOWN" and \ metadata['download_url'] != None: if metadata['download_url'] not in all_urls: --- ../python3/yolk/plugins/__init__.py (original) +++ ../python3/yolk/plugins/__init__.py (refactored) @@ -95,7 +95,7 @@ plugin = entry_point.load() except KeyboardInterrupt: raise - except Exception, err_msg: + except Exception as err_msg: # never want a plugin load to exit yolk # but we can't log here because the logger is not yet # configured --- ../python3/yolk/cli.py (original) +++ ../python3/yolk/cli.py (refactored) @@ -29,10 +29,10 @@ import pkg_resources import webbrowser import logging -from xmlrpclib import Fault as XMLRPCFault +from xmlrpc.client import Fault as XMLRPCFault from distutils.sysconfig import get_python_lib -from urllib import urlretrieve -from urlparse import urlparse +from urllib.request import urlretrieve +from urllib.parse import urlparse from yolk.metadata import get_metadata from yolk.yolklib import get_highest_version, Distributions @@ -57,7 +57,7 @@ self.modulenames = modulenames def __getattr__(self, attribute): - if not self.__dict__.has_key(attribute) or attribute == '__doc__': + if attribute not in self.__dict__ or attribute == '__doc__': return getattr(self.stdout, attribute) return self.__dict__[attribute] @@ -259,8 +259,8 @@ if pkg_resources.parse_version(dist.version) < \ pkg_resources.parse_version(newest): found = True - print " %s %s (%s)" % (project_name, dist.version, - newest) + print(" %s %s (%s)" % (project_name, dist.version, + newest)) if not found and self.project_name: self.logger.info("You have the latest version installed.") elif not found: @@ -313,7 +313,7 @@ add_column_text += my_plugin.add_column(dist) + " " self.print_metadata(metadata, develop, active, add_column_text) else: - print str(dist) + " has no metadata" + print(str(dist) + " has no metadata") results = True if not results and self.project_name: if self.version: @@ -329,8 +329,8 @@ (show, pkg_spec)) return 2 elif show == "all" and results and self.options.fields: - print "Versions with '*' are non-active." - print "Versions with '!' are deployed in development mode." + print("Versions with '*' are non-active.") + print("Versions with '!' are deployed in development mode.") def print_metadata(self, metadata, develop, active, installed_by): @@ -355,7 +355,7 @@ show_metadata = self.options.metadata if self.options.fields: fields = self.options.fields.split(',') - fields = map(str.strip, fields) + fields = list(map(str.strip, fields)) else: fields = [] version = metadata['Version'] @@ -380,24 +380,24 @@ development_status = installed_by status = "%s %s" % (active_status, development_status) if fields: - print '%s (%s)%s %s' % (metadata['Name'], version, active_status, - development_status) + print('%s (%s)%s %s' % (metadata['Name'], version, active_status, + development_status)) else: # Need intelligent justification - print metadata['Name'].ljust(15) + " - " + version.ljust(12) + \ - " - " + status + print(metadata['Name'].ljust(15) + " - " + version.ljust(12) + \ + " - " + status) if fields: #Only show specific fields, using case-insensitive search - fields = map(str.lower, fields) - for field in metadata.keys(): + fields = list(map(str.lower, fields)) + for field in list(metadata.keys()): if field.lower() in fields: - print ' %s: %s' % (field, metadata[field]) - print + print(' %s: %s' % (field, metadata[field])) + print() elif show_metadata: #Print all available metadata fields - for field in metadata.keys(): + for field in list(metadata.keys()): if field != 'Name' and field != 'Summary': - print ' %s: %s' % (field, metadata[field]) + print(' %s: %s' % (field, metadata[field])) def show_deps(self): """ @@ -410,16 +410,16 @@ for pkg in pkgs[self.project_name]: if not self.version: - print pkg.project_name, pkg.version - - i = len(pkg._dep_map.values()[0]) + print(pkg.project_name, pkg.version) + + i = len(list(pkg._dep_map.values())[0]) if i: while i: if not self.version or self.version and \ pkg.version == self.version: - if self.version and i == len(pkg._dep_map.values()[0]): - print pkg.project_name, pkg.version - print " " + str(pkg._dep_map.values()[0][i - 1]) + if self.version and i == len(list(pkg._dep_map.values())[0]): + print(pkg.project_name, pkg.version) + print(" " + str(list(pkg._dep_map.values())[0][i - 1])) i -= 1 else: self.logger.info(\ @@ -441,7 +441,7 @@ try: changelog = self.pypi.changelog(int(hours)) - except XMLRPCFault, err_msg: + except XMLRPCFault as err_msg: self.logger.error(err_msg) self.logger.error("ERROR: Couldn't retrieve changelog.") return 1 @@ -450,10 +450,10 @@ for entry in changelog: pkg = entry[0] if pkg != last_pkg: - print "%s %s\n\t%s" % (entry[0], entry[1], entry[3]) + print("%s %s\n\t%s" % (entry[0], entry[1], entry[3])) last_pkg = pkg else: - print "\t%s" % entry[3] + print("\t%s" % entry[3]) return 0 @@ -471,13 +471,13 @@ return 1 try: latest_releases = self.pypi.updated_releases(hours) - except XMLRPCFault, err_msg: + except XMLRPCFault as err_msg: self.logger.error(err_msg) self.logger.error("ERROR: Couldn't retrieve latest releases.") return 1 for release in latest_releases: - print "%s %s" % (release[0], release[1]) + print("%s %s" % (release[0], release[1])) return 0 def show_download_links(self): @@ -536,7 +536,7 @@ url = get_download_uri(self.project_name, version, source, self.options.pypi_index) if url: - print "%s" % url + print("%s" % url) else: self.logger.info("No download URL found for %s" % pkg_type) @@ -596,7 +596,7 @@ try: downloaded_filename, headers = urlretrieve(uri, filename) self.RefactoringTool: No changes to ../python3/yolk/__init__.py RefactoringTool: Refactored ../python3/tests/rss_feed.py logger.info("Downloaded ./" + filename) - except IOError, err_msg: + except IOError as err_msg: self.logger.error("Error downloading package %s from URL %s" \ % (filename, uri)) self.logger.error(str(err_msg)) @@ -635,7 +635,7 @@ return 1 try: os.mkdir(directory) - except OSError, err_msg: + except OSError as err_msg: self.logger.error("ERROR: " + str(err_msg)) return 1 cwd = os.path.realpath(os.curdir) @@ -661,7 +661,7 @@ metadata = self.pypi.release_data(self.project_name, \ self.all_versions[0]) self.logger.debug("DEBUG: browser: %s" % browser) - if metadata.has_key("home_page"): + if "home_page" in metadata: self.logger.info("Launching browser: %s" \ % metadata["home_page"]) if browser == 'konqueror': @@ -690,10 +690,10 @@ self.all_versions[0]) if metadata: - for key in metadata.keys(): + for key in list(metadata.keys()): if not self.options.fields or (self.options.fields and \ self.options.fields==key): - print "%s: %s" % (key, metadata[key]) + print("%s: %s" % (key, metadata[key])) return 0 def versions_available(self): @@ -816,10 +816,10 @@ summary = pkg['summary'].encode('utf-8') else: summary = "" - print """%s (%s): + print("""%s (%s): %s """ % (pkg['name'].encode('utf-8'), pkg["version"], - summary) + summary)) return 0 def show_entry_map(self): @@ -855,11 +855,11 @@ found = True try: plugin = entry_point.load() - print plugin.__module__ - print " %s" % entry_point + print(plugin.__module__) + print(" %s" % entry_point) if plugin.__doc__: - print plugin.__doc__ - print + print(plugin.__doc__) + print() except ImportError: pass if not found: @@ -1059,7 +1059,7 @@ """ for ver in versions: - print "%s %s" % (project_name, ver) + print("%s %s" % (project_name, ver)) def validate_pypi_opts(opt_parser): """ --- ../python3/tests/rss_feed.py (original) +++ ../python3/tests/rss_feed.py (refactored) @@ -10,7 +10,7 @@ __docformat__ = 'restructuredtext' -import urllib +import urllib.request, urllib.parse, urllib.error import os import sys @@ -23,7 +23,7 @@ #Python <2.5 has elementtree as 3rd party module from cElementTree import iterparse except ImportError: - print "You need to install cElementTree" + print("You need to install cElementTree") sys.exit(2) @@ -52,7 +52,7 @@ def test_api(pypi_xml): """Basic API tests""" - print "Testing API""" + print("Testing API""") skipped = 0 skipped_msgs = [] failed = 0 @@ -68,34 +68,34 @@ % (pkg_name, "- space in project name")) try: assert versions[0] == ver - print "Testing %s... passed" % elem.text + print("Testing %s... passed" % elem.text) except: failed += 1 failed_msgs.append("%s %s" % (pkg_name, versions)) - print "Testing %s... failed" % elem.text + print("Testing %s... failed" % elem.text) - print "%s tests failed." % failed + print("%s tests failed." % failed) for msg in failed_msgs: - print "\t%s" % msg - print "%s tests skipped." % skipped + print("\t%s" % msg) + print("%s tests skipped." % skipped) for msg in skipped_msgs: - print "RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/examples/plugins/yolk_portage/yolk_portage.py RefactoringTool: No changes to ../python3/examples/plugins/yolk_portage/setup.py RefactoringTool: Refactored ../python3/examples/plugins/yolk_pkg_manager/yolk_acme.py RefactoringTool: No changes to ../python3/examples/plugins/yolk_pkg_manager/setup.py RefactoringTool: Refactored ../python3/docs/conf.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/yolk/yolklib.py RefactoringTool: ../python3/yolk/utils.py RefactoringTool: ../python3/yolk/setuptools_support.py RefactoringTool: ../python3/yolk/pypi.py RefactoringTool: ../python3/yolk/plugins/base.py RefactoringTool: ../python3/yolk/plugins/__init__.py RefactoringTool: ../python3/yolk/metadata.py RefactoringTool: ../python3/yolk/cli.py RefactoringTool: ../python3/yolk/__init__.py RefactoringTool: ../python3/tests/rss_feed.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/examples/plugins/yolk_portage/yolk_portage.py RefactoringTool: ../python3/examples/plugins/yolk_portage/setup.py RefactoringTool: ../python3/examples/plugins/yolk_pkg_manager/yolk_acme.py RefactoringTool: ../python3/examples/plugins/yolk_pkg_manager/setup.py RefactoringTool: ../python3/docs/conf.py \t%s" % msg + print("\t%s" % msg) def test_cli(pypi_xml): """Test the command-line tool""" - print "Testing CLI" + print("Testing CLI") for event, elem in iterparse(pypi_xml): if elem.tag == "title": if not elem.text.startswith('Cheese Shop recent updates'): - print "Testing %s..." % elem.text + print("Testing %s..." % elem.text) pkg_name, ver = get_pkg_ver(elem.text) if " " in pkg_name: - print "Space in package name, skipping: %s" % pkg_name + print("Space in package name, skipping: %s" % pkg_name) else: os.system("yolk -V '%s'" % pkg_name) os.system("yolk -D %s==%s" % (pkg_name, ver)) elem.clear() -test_cli(urllib.urlopen(PYPI_URL)) +test_cli(urllib.request.urlopen(PYPI_URL)) PyPI = CheeseShop() -test_api(urllib.urlopen(PYPI_URL)) +test_api(urllib.request.urlopen(PYPI_URL)) --- ../python3/examples/plugins/yolk_portage/yolk_portage.py (original) +++ ../python3/examples/plugins/yolk_portage/yolk_portage.py (refactored) @@ -19,7 +19,7 @@ import os from distutils.sysconfig import get_python_lib -from commands import getstatusoutput +from subprocess import getstatusoutput class PackageManagerPlugin: --- ../python3/examples/plugins/yolk_pkg_manager/yolk_acme.py (original) +++ ../python3/examples/plugins/yolk_pkg_manager/yolk_acme.py (refactored) @@ -18,7 +18,7 @@ import os from distutils.sysconfig import get_python_lib -from commands import getstatusoutput +from subprocess import getstatusoutput class PackageManagerPlugin: --- ../python3/docs/conf.py (original) +++ ../python3/docs/conf.py (refactored) @@ -40,8 +40,8 @@ master_doc = 'index' # General information about the project. -project = u'yolk' -copyright = u'2012, Rob Cakebread' +project = 'yolk' +copyright = '2012, Rob Cakebread' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -183,8 +183,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'yolk.tex', u'yolk Documentation', - u'Rob Cakebread', 'manual'), + ('index', 'yolk.tex', 'yolk Documentation', + 'Rob Cakebread', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -213,8 +213,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'yolk', u'yolk Documentation', - [u'Rob Cakebread'], 1) + ('index', 'yolk', 'yolk Documentation', + ['Rob Cakebread'], 1) ] # If true, show URL addresses after external links. @@ -227,8 +227,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'yolk', u'yolk Documentation', - u'Rob Cakebread', 'yolk', 'One line description of project.', + ('index', 'yolk', 'yolk Documentation', + 'Rob Cakebread', 'yolk', 'One line description of project.', 'Miscellaneous'), ] + sed -i 's|urllib2|urllib.request|g' ../python3/yolk/pypi.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.51389 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-yolk-0.4.3 + 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/yolk copying yolk/yolklib.py -> build/lib/yolk copying yolk/utils.py -> build/lib/yolk copying yolk/setuptools_support.py -> build/lib/yolk copying yolk/pypi.py -> build/lib/yolk copying yolk/metadata.py -> build/lib/yolk copying yolk/cli.py -> build/lib/yolk copying yolk/__init__.py -> build/lib/yolk creating build/lib/yolk/plugins copying yolk/plugins/base.py -> build/lib/yolk/plugins copying yolk/plugins/__init__.py -> build/lib/yolk/plugins + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-yolk-0.4.3 + 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/yolk copying yolk/pypi.py -> build/lib/yolk copying yolk/yolklib.py -> build/lib/yolk copying yolk/utils.py -> build/lib/yolk copying yolk/setuptools_support.py -> build/lib/yolk copying yolk/metadata.py -> build/lib/yolk copying yolk/cli.py -> build/lib/yolk copying yolk/__init__.py -> build/lib/yolk creating build/lib/yolk/plugins copying yolk/plugins/base.py -> build/lib/yolk/plugins copying yolk/plugins/__init__.py -> build/lib/yolk/plugins + popd ~/RPM/BUILD/python-module-yolk-0.4.3 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.67942 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-yolk-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-yolk-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python-module-yolk-0.4.3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-yolk-0.4.3 + 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-yolk-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-yolk-buildroot creating /usr/src/tmp/python-module-yolk-buildroot/usr creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/plugins copying build/lib/yolk/plugins/__init__.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/plugins copying build/lib/yolk/plugins/base.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/plugins copying build/lib/yolk/__init__.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk copying build/lib/yolk/cli.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk copying build/lib/yolk/metadata.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk copying build/lib/yolk/setuptools_support.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk copying build/lib/yolk/utils.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk copying build/lib/yolk/yolklib.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk copying build/lib/yolk/pypi.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/plugins/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/plugins/base.py to base.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/cli.py to cli.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/metadata.py to metadata.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/setuptools_support.py to setuptools_support.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/utils.py to utils.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/yolklib.py to yolklib.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk/pypi.py to pypi.cpython-37.pyc running install_egg_info running egg_info creating yolk.egg-info writing yolk.egg-info/PKG-INFO writing dependency_links to yolk.egg-info/dependency_links.txt writing entry points to yolk.egg-info/entry_points.txt writing requirements to yolk.egg-info/requires.txt writing top-level names to yolk.egg-info/top_level.txt writing manifest file 'yolk.egg-info/SOURCES.txt' reading manifest file 'yolk.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'tests' warning: no files found matching '*.conf' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.css_t' under directory 'docs' warning: no files found matching 'indexsidebar.html' under directory 'docs' warning: no files found matching 'tests/test_cli.py' writing manifest file 'yolk.egg-info/SOURCES.txt' Copying yolk.egg-info to /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages/yolk-0.4.3-py3.7.egg-info running install_scripts Installing yolk script to /usr/src/tmp/python-module-yolk-buildroot/usr/bin + popd ~/RPM/BUILD/python-module-yolk-0.4.3 + pushd /usr/src/tmp/python-module-yolk-buildroot/usr/bin ~/tmp/python-module-yolk-buildroot/usr/bin ~/RPM/BUILD/python-module-yolk-0.4.3 ++ ls + for i in $(ls) + mv yolk yolk.py3 + popd ~/RPM/BUILD/python-module-yolk-0.4.3 + 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-yolk-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk creating /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/plugins copying build/lib/yolk/plugins/__init__.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/plugins copying build/lib/yolk/plugins/base.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/plugins copying build/lib/yolk/__init__.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk copying build/lib/yolk/cli.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk copying build/lib/yolk/metadata.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk copying build/lib/yolk/pypi.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk copying build/lib/yolk/setuptools_support.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk copying build/lib/yolk/utils.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk copying build/lib/yolk/yolklib.py -> /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/plugins/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/plugins/base.py to base.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/cli.py to cli.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/metadata.py to metadata.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/pypi.py to pypi.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/setuptools_support.py to setuptools_support.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/utils.py to utils.pyc byte-compiling /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk/yolklib.py to yolklib.pyc running install_egg_info running egg_info creating yolk.egg-info writing requirements to yolk.egg-info/requires.txt writing yolk.egg-info/PKG-INFO writing top-level names to yolk.egg-info/top_level.txt writing dependency_links to yolk.egg-info/dependency_links.txt writing entry points to yolk.egg-info/entry_points.txt writing manifest file 'yolk.egg-info/SOURCES.txt' reading manifest file 'yolk.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'tests' warning: no files found matching '*.conf' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.css_t' under directory 'docs' warning: no files found matching 'indexsidebar.html' under directory 'docs' warning: no files found matching 'tests/test_cli.py' writing manifest file 'yolk.egg-info/SOURCES.txt' Copying yolk.egg-info to /usr/src/tmp/python-module-yolk-buildroot/usr/lib/python2.7/site-packages/yolk-0.4.3-py2.7.egg-info running install_scripts Installing yolk script to /usr/src/tmp/python-module-yolk-buildroot/usr/bin + mv /usr/src/tmp/python-module-yolk-buildroot/usr/lib /usr/src/tmp/python-module-yolk-buildroot/usr/lib64 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-yolk-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-yolk-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python-module-yolk-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-yolk-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-yolk-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/python-module-yolk-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-yolk-buildroot using /usr/bin/python Can't list '/usr/src/tmp/python-module-yolk-buildroot/usr/lib' unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/plugins/__init__.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/plugins/base.pyc compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/plugins/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/plugins/base.py unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/__init__.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/metadata.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/pypi.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/setuptools_support.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/utils.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/yolklib.pyc compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/metadata.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/pypi.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/setuptools_support.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/utils.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/yolklib.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-yolk-buildroot using /usr/bin/python -O Can't list '/usr/src/tmp/python-module-yolk-buildroot/usr/lib' compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/plugins/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/plugins/base.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/metadata.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/pypi.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/setuptools_support.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/utils.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/yolklib.py Bytecompiling python3 modules in /usr/src/tmp/python-module-yolk-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__pycache__/cli.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__pycache__/metadata.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__pycache__/pypi.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__pycache__/setuptools_support.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__pycache__/utils.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__pycache__/yolklib.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/__pycache__/base.cpython-37.pyc compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/base.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/cli.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/metadata.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/pypi.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/setuptools_support.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/utils.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/yolklib.py Can't list '/usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-yolk-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/base.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/cli.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/metadata.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/pypi.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/setuptools_support.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/utils.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/yolklib.py Can't list '/usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-yolk-buildroot using /usr/bin/python3 -OO Can't list '/usr/src/tmp/python-module-yolk-buildroot/usr/lib/python3/site-packages' compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/plugins/base.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/__init__.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/cli.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/metadata.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/pypi.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/setuptools_support.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/utils.py compile /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/yolklib.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/yolk/__pycache__/yolklib.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/__pycache__/yolklib.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/__pycache__/utils.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/__pycache__/utils.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/__pycache__/setuptools_support.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/__pycache__/setuptools_support.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/__pycache__/pypi.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/__pycache__/pypi.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/__pycache__/metadata.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/__pycache__/metadata.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/__pycache__/cli.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/__pycache__/cli.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/__pycache__/__init__.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/plugins/__pycache__/base.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/plugins/__pycache__/base.cpython-37.pyc' './usr/lib64/python3/site-packages/yolk/plugins/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/yolk/plugins/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/yolk/yolklib.pyo' => './usr/lib64/python2.7/site-packages/yolk/yolklib.pyc' './usr/lib64/python2.7/site-packages/yolk/utils.pyo' => './usr/lib64/python2.7/site-packages/yolk/utils.pyc' './usr/lib64/python2.7/site-packages/yolk/setuptools_support.pyo' => './usr/lib64/python2.7/site-packages/yolk/setuptools_support.pyc' './usr/lib64/python2.7/site-packages/yolk/pypi.pyo' => './usr/lib64/python2.7/site-packages/yolk/pypi.pyc' './usr/lib64/python2.7/site-packages/yolk/metadata.pyo' => './usr/lib64/python2.7/site-packages/yolk/metadata.pyc' './usr/lib64/python2.7/site-packages/yolk/cli.pyo' => './usr/lib64/python2.7/site-packages/yolk/cli.pyc' './usr/lib64/python2.7/site-packages/yolk/__init__.pyo' => './usr/lib64/python2.7/site-packages/yolk/__init__.pyc' './usr/lib64/python2.7/site-packages/yolk/plugins/base.pyo' => './usr/lib64/python2.7/site-packages/yolk/plugins/base.pyc' './usr/lib64/python2.7/site-packages/yolk/plugins/__init__.pyo' => './usr/lib64/python2.7/site-packages/yolk/plugins/__init__.pyc' Processing files: python-module-yolk-0.4.3-alt3.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.63296 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-yolk-0.4.3 + DOCDIR=/usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python-module-yolk-0.4.3 + export DOCDIR + rm -rf /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python-module-yolk-0.4.3 + /bin/mkdir -p /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python-module-yolk-0.4.3 + cp -prL AUTHORS COPYING FAQ README.rst THANKS ChangeLog CREDITS NEWS README TODO /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python-module-yolk-0.4.3 + chmod -R go-w /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python-module-yolk-0.4.3 + chmod -R a+rX /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python-module-yolk-0.4.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HI0Zsi 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.m4EIIr find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/bin/yolk: skipping sys python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: skipping sys python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/cli.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/plugins/__init__.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/pypi.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/setuptools_support.py: hiding yolk, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/utils.py: skipping signal shebang.req.files: executable script /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python2.7/site-packages/yolk/setuptools_support.py is not executable Provides: python2.7(yolk), python2.7(yolk.cli), python2.7(yolk.metadata), python2.7(yolk.plugins), python2.7(yolk.plugins.base), python2.7(yolk.pypi), python2.7(yolk.setuptools_support), python2.7(yolk.utils), python2.7(yolk.yolklib) Requires: /usr/bin/python, /usr/lib64/python2.7/site-packages, python-modules, python2.7(distutils), python2.7(email), python2.7(inspect), python2.7(logging), python2.7(pkg_resources), python2.7(setuptools) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5IAlcF Processing files: python3-module-yolk-0.4.3-alt3.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.25079 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-yolk-0.4.3 + DOCDIR=/usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python3-module-yolk-0.4.3 + export DOCDIR + rm -rf /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python3-module-yolk-0.4.3 + /bin/mkdir -p /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python3-module-yolk-0.4.3 + cp -prL AUTHORS COPYING FAQ README.rst THANKS ChangeLog CREDITS NEWS README TODO /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python3-module-yolk-0.4.3 + chmod -R go-w /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python3-module-yolk-0.4.3 + chmod -R a+rX /usr/src/tmp/python-module-yolk-buildroot/usr/share/doc/python3-module-yolk-0.4.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.30pqWX 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.PLvWxk find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python-module-yolk-buildroot/usr/bin/yolk.py3: skipping sys python3.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/cli.py: skipping sys python3.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/pypi.py: skipping time python3.req: /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/utils.py: skipping time shebang.req.files: executable script /usr/src/tmp/python-module-yolk-buildroot/usr/lib64/python3/site-packages/yolk/setuptools_support.py is not executable Provides: python3(yolk), python3(yolk.cli), python3(yolk.metadata), python3(yolk.plugins), python3(yolk.plugins.base), python3(yolk.pypi), python3(yolk.setuptools_support), python3(yolk.utils), python3(yolk.yolklib) Requires: /usr/bin/python3, /usr/lib64/python3/site-packages, python3(distutils.sysconfig) < 0, python3(email) < 0, python3(http.client) < 0, python3(inspect) < 0, python3(logging) < 0, python3(optparse) < 0, python3(os) < 0, python3(pickle) < 0, python3(pkg_resources) < 0, python3(pprint) < 0, python3(re) < 0, python3(setuptools.package_index) < 0, python3(signal) < 0, python3(subprocess) < 0, python3(textwrap) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(warnings) < 0, python3(webbrowser) < 0, python3(xmlrpc.client) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tS597P Wrote: /usr/src/RPM/RPMS/x86_64/python-module-yolk-0.4.3-alt3.2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-yolk-0.4.3-alt3.2.x86_64.rpm (w2.lzdio) 16.30user 2.29system 0:22.88elapsed 81%CPU (0avgtext+0avgdata 31200maxresident)k 0inputs+0outputs (0major+329188minor)pagefaults 0swaps 28.76user 9.37system 0:40.56elapsed 94%CPU (0avgtext+0avgdata 120060maxresident)k 0inputs+0outputs (51345major+703957minor)pagefaults 0swaps