<86>Aug 16 08:12:02 userdel[700392]: delete user 'rooter' <86>Aug 16 08:12:02 groupadd[700413]: group added to /etc/group: name=rooter, GID=597 <86>Aug 16 08:12:02 groupadd[700413]: group added to /etc/gshadow: name=rooter <86>Aug 16 08:12:02 groupadd[700413]: new group: name=rooter, GID=597 <86>Aug 16 08:12:02 useradd[700435]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Aug 16 08:12:02 userdel[700456]: delete user 'builder' <86>Aug 16 08:12:02 userdel[700456]: removed group 'builder' owned by 'builder' <86>Aug 16 08:12:02 userdel[700456]: removed shadow group 'builder' owned by 'builder' <86>Aug 16 08:12:02 groupadd[700473]: group added to /etc/group: name=builder, GID=598 <86>Aug 16 08:12:02 groupadd[700473]: group added to /etc/gshadow: name=builder <86>Aug 16 08:12:02 groupadd[700473]: new group: name=builder, GID=598 <86>Aug 16 08:12:02 useradd[700495]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash <13>Aug 16 08:12:04 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Aug 16 08:12:04 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Aug 16 08:12:04 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Aug 16 08:12:04 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Aug 16 08:12:04 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 16 08:12:04 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 16 08:12:04 rpmi: ca-certificates-2020.01.23-alt1 p9+245253.100.3.1 1580749631 installed <13>Aug 16 08:12:04 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Aug 16 08:12:04 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Aug 16 08:12:04 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>Aug 16 08:12:04 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>Aug 16 08:12:04 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 16 08:12:05 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 16 08:12:05 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 16 08:12:05 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Aug 16 08:12:05 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Aug 16 08:12:07 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Aug 16 08:12:07 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Aug 16 08:12:07 rpmi: python3-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>Aug 16 08:12:07 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Aug 16 08:12:07 rpmi: python3-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Aug 16 08:12:07 rpmi: python3-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Aug 16 08:12:07 rpmi: python3-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Aug 16 08:12:07 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Aug 16 08:12:08 rpmi: python3-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>Aug 16 08:12:08 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Aug 16 08:12:08 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>Aug 16 08:12:08 rpmi: python-modules-curses-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Aug 16 08:12:08 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Aug 16 08:12:08 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Aug 16 08:12:08 groupadd[717232]: group added to /etc/group: name=_keytab, GID=499 <86>Aug 16 08:12:08 groupadd[717232]: group added to /etc/gshadow: name=_keytab <86>Aug 16 08:12:08 groupadd[717232]: new group: name=_keytab, GID=499 <13>Aug 16 08:12:08 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>Aug 16 08:12:08 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Aug 16 08:12:08 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Aug 16 08:12:08 rpmi: python-modules-compiler-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-email-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-unittest-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-encodings-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-nis-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Aug 16 08:12:08 rpmi: python-modules-xml-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Aug 16 08:12:08 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-logging-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>Aug 16 08:12:08 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-strict-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867164 installed <13>Aug 16 08:12:08 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Aug 16 08:12:08 rpmi: python-modules-distutils-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Aug 16 08:12:08 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>Aug 16 08:12:08 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968870 installed <13>Aug 16 08:12:08 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus+228364.300.4.1 1556886257 installed <13>Aug 16 08:12:08 rpmi: python-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>Aug 16 08:12:08 rpmi: python-modules-json-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:08 rpmi: python-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>Aug 16 08:12:08 rpmi: python-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>Aug 16 08:12:08 rpmi: python-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>Aug 16 08:12:08 rpmi: python3-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>Aug 16 08:12:08 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-tmdb3-0.7.2-alt1.nosrc.rpm <13>Aug 16 08:12:10 rpmi: python-tools-2to3-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:10 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Aug 16 08:12:10 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Aug 16 08:12:10 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 16 08:12:10 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Aug 16 08:12:10 rpmi: python-dev-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Aug 16 08:12:10 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Aug 16 08:12:10 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Installing python-module-tmdb3-0.7.2-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.26425 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf tmdb3-0.7.2 + echo 'Source #0 (tmdb3-0.7.2.tar.gz):' Source #0 (tmdb3-0.7.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/tmdb3-0.7.2.tar.gz + /bin/tar -xf - + cd tmdb3-0.7.2 + /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/tmdb3/tmdb_api.py --- ../python3/tmdb3/tmdb_api.py (original) +++ ../python3/tmdb3/tmdb_api.py (refactored) @@ -67,16 +67,16 @@ # Fix unicode issues with search result object names # Temporary fix for youtube videos with malformed URLs -from request import set_key, Request -from util import Datapoint, Datalist, Datadict, Element, NameRepr, SearchRepr -from pager import PagedRequest -from locales import get_locale, set_locale -from tmdb_auth import get_session, set_session -from tmdb_exceptions import * +from .request import set_key, Request +from .util import Datapoint, Datalist, Datadict, Element, NameRepr, SearchRepr +from .pager import PagedRequest +from .locales import get_locale, set_locale +from .tmdb_auth import get_session, set_session +from .tmdb_exceptions import * import json -import urllib -import urllib2 +import urllib.request, urllib.parse, urllib.error +import urllib.request, urllib.error, urllib.parse import datetime DEBUG = False @@ -247,7 +247,7 @@ if size not in self.sizes(): raise TMDBImageSizeError url = Configuration.images['base_url'].rstrip('/') - return url+u'/{0}/{1}'.format(size, self.filename) + return url+'/{0}/{1}'.format(size, self.filename) # sort preferring locale's language, but keep remaining ordering consistent def __lt__(self, other): @@ -269,14 +269,14 @@ return self.filename == other.filename # special handling for boolean to see if exists - def __nonzero__(self): + def __bool__(self): if len(self.filename) == 0: return False return True def __repr__(self): # BASE62 encoded filename, no need to worry about unicode - return u"<{0.__class__.__name__} '{0.filename}'>".format(self) + return "<{0.__class__.__name__} '{0.filename}'>".format(self) class Backdrop(Image): @@ -316,7 +316,7 @@ return self.country == other.country def __repr__(self): - return u"<{0.__class__.__name__} '{0.title}' ({0.country})>"\ + return "<{0.__class__.__name__} '{0.title}' ({0.country})>"\ .format(self).encode('utf-8') @@ -334,7 +334,7 @@ aliases = Datalist('also_known_as') def __repr__(self): - return u"<{0.__class__.__name__} '{0.name}'>"\ + return "<{0.__class__.__name__} '{0.name}'>"\ .format(self).encode('utf-8') def _populate(self): @@ -358,7 +358,7 @@ order = Datapoint('order') def __repr__(self): - return u"<{0.__class__.__name__} '{0.name}' as '{0.character}'>"\ + return "<{0.__class__.__name__} '{0.name}' as '{0.character}'>"\ .format(self).encode('utf-8') @@ -367,7 +367,7 @@ department = Datapoint('department') def __repr__(self): - return u"<{0.__class__.__name__} '{0.name}','{0.job}'>"\ + return "<{0.__class__.__name__} '{0.name}','{0.job}'>"\ .format(self).encode('utf-8') @@ -376,7 +376,7 @@ name = Datapoint('name') def __repr__(self): - return u"<{0.__class__.__name__} '{0.name}'>"\ + return "<{0.__class__.__name__} '{0.name}'>"\ .format(self).encode('utf-8') @@ -385,7 +385,7 @@ country = Datapoint('iso_3166_1') releasedate = Datapoint('release_date', handler=process_date) def __repr__(self): - return u"<{0.__class__.__name__} '{0.country}', {0.releasedate}>"\ + return "<{0.__class__.__name__} '{0.country}', {0.releasedate}>"\ .format(self).encode('utf-8') @@ -402,7 +402,7 @@ def __repr__(self): # modified BASE64 encoding, no need to worry about unicode - return u"<{0.__class__.__name__} '{0.name}'>".format(self) + return "<{0.__class__.__name__} '{0.name}'>".format(self) class AppleTrailer(Element): @@ -410,7 +410,7 @@ sources = Datadict('sources', handler=Trailer, attr='size') def sizes(self): - return self.sources.keys() + return list(self.sources.keys()) def geturl(self, size=None)RefactoringTool: Refactored ../python3/tmdb3/cache_null.py RefactoringTool: Refactored ../python3/tmdb3/cache_file.py : if size is None: @@ -421,7 +421,7 @@ return self.sources[size].source def __repr__(self): - return u"<{0.__class__.__name__} '{0.name}'>".format(self) + return "<{0.__class__.__name__} '{0.name}'>".format(self) class Translation(Element): @@ -430,7 +430,7 @@ englishname = Datapoint('english_name') def __repr__(self): - return u"<{0.__class__.__name__} '{0.name}' ({0.language})>"\ + return "<{0.__class__.__name__} '{0.name}' ({0.language})>"\ .format(self).encode('utf-8') @@ -447,7 +447,7 @@ if 'movies' not in self._data: search = MovieSearchResult(self._populate_movies(), \ locale=self._locale) - search._name = u"{0.name} Movies".format(self) + search._name = "{0.name} Movies".format(self) self._data['movies'] = search return self._data['movies'] @@ -484,7 +484,7 @@ if 'movies' not in self._data: search = MovieSearchResult(self._populate_movies(), locale=self._locale) - search._name = u"{0.name} Movies".format(self) + search._name = "{0.name} Movies".format(self) self._data['movies'] = search return self._data['movies'] @@ -698,7 +698,7 @@ res = MovieSearchResult(Request( 'movie/{0}/similar_movies'.format(self.id)), locale=self._locale) - res._name = u'Similar to {0}'.format(self._printable_name()) + res._name = 'Similar to {0}'.format(self._printable_name()) return res @property @@ -709,17 +709,17 @@ def _printable_name(self): if self.title is not None: - s = u"'{0}'".format(self.title) + s = "'{0}'".format(self.title) elif self.originaltitle is not None: - s = u"'{0}'".format(self.originaltitle) + s = "'{0}'".format(self.originaltitle) else: - s = u"'No Title'" + s = "'No Title'" if self.releasedate: - s = u"{0} ({1})".format(s, self.releasedate.year) + s = "{0} ({1})".format(s, self.releasedate.year) return s def __repr__(self): - return u"<{0} {1}>".format(self.__class__.__name__, + return "<{0} {1}>".format(self.__class__.__name__, self._printable_name()).encode('utf-8') @@ -727,7 +727,7 @@ character = Datapoint('character') def __repr__(self): - return (u"<{0.__class__.__name__} '{0.character}' on {1}>" + return ("<{0.__class__.__name__} '{0.character}' on {1}>" .format(self, self._printable_name()).encode('utf-8')) @@ -736,7 +736,7 @@ job = Datapoint('job') def __repr__(self): - return (u"<{0.__class__.__name__} '{0.job}' for {1}>" + return ("<{0.__class__.__name__} '{0.job}' for {1}>" .format(self, self._printable_name()).encode('utf-8')) @@ -927,5 +927,5 @@ res = SeriesSearchResult(Request( 'tv/{0}/similar'.format(self.id)), locale=self._locale) - res._name = u'Similar to {0.name}'.format(self) + res._name = 'Similar to {0.name}'.format(self) return res --- ../python3/tmdb3/cache_null.py (original) +++ ../python3/tmdb3/cache_null.py (refactored) @@ -7,7 +7,7 @@ # Purpose: Null caching engine for debugging purposes #----------------------- -from cache_engine import CacheEngine +from .cache_engine import CacheEngine class NullEngine(CacheEngine): --- ../python3/tmdb3/cache_file.py (original) +++ ../python3/tmdb3/cache_file.py (refactored) @@ -16,10 +16,10 @@ import os import io -from cStringIO import StringIO - -from tmdb_exceptions import * -from cache_engine import CacheEngine, CacheObject +from io import StringIO + +from .tmdb_exceptions import * +from .cache_engine import CacheEngine, CacheObject ###RefactoringTool: No changes to ../python3/tmdb3/tmdb_exceptions.py RefactoringTool: Refactored ../python3/tmdb3/locales.py WARNING: couldn't encode ../python3/tmdb3/locales.py's diff for your terminal RefactoringTool: Refactored ../python3/tmdb3/util.py ################# # Cache File Format @@ -123,7 +123,7 @@ if filename.startswith('~'): # check for home directory return os.path.expanduser(filename) - elif (ord(filename[0]) in (range(65, 91) + range(99, 123))) \ + elif (ord(filename[0]) in (list(range(65, 91)) + list(range(99, 123)))) \ and (filename[1:3] == ':\\'): # check for absolute drive path (e.g. C:\...) return filename @@ -371,7 +371,7 @@ else: # rewrite cache file from scratch # pull data from parent cache - data.extend(self.parent()._data.values()) + data.extend(list(self.parent()._data.values())) data.sort(key=lambda x: x.creation) # write header size = len(data) + self.preallocate --- ../python3/tmdb3/locales.py (original) +++ ../python3/tmdb3/locales.py (refactored) @@ -6,7 +6,7 @@ # Author: Raymond Wagner #----------------------- -from tmdb_exceptions import * +from .tmdb_exceptions import * import locale syslocale = None @@ -71,7 +71,7 @@ return self.ISO639_1 def __repr__(self): - return u"".format(self) + return "".format(self) class Country(LocaleBase): @@ -87,7 +87,7 @@ return self.alpha2 def __repr__(self): - return u"".format(self) + return "".format(self) class Locale(LocaleBase): @@ -99,10 +99,10 @@ self.encoding = encoding if encoding else 'latin-1' def __str__(self): - return u"{0}_{1}".format(self.language, self.country) + return "{0}_{1}".format(self.language, self.country) def __repr__(self): - return u"".format(self) + return "".format(self) def encode(self, dat): """Encode using system default encoding for network/file output.""" @@ -172,471 +172,471 @@ ######## AUTOGENERATED LANGUAGE AND COUNTRY DATA BELOW HERE ######### -Language("ab", "abk", u"Abkhazian") -Language("aa", "aar", u"Afar") -Language("af", "afr", u"Afrikaans") -Language("ak", "aka", u"Akan") -Language("sq", "alb/sqi", u"Albanian") -Language("am", "amh", u"Amharic") -Language("ar", "ara", u"Arabic") -Language("an", "arg", u"Aragonese") -Language("hy", "arm/hye", u"Armenian") -Language("as", "asm", u"Assamese") -Language("av", "ava", u"Avaric") -Language("ae", "ave", u"Avestan") -Language("ay", "aym", u"Aymara") -Language("az", "aze", u"Azerbaijani") -Language("bm", "bam", u"Bambara") -Language("ba", "bak", u"Bashkir") -Language("eu", "baq/eus", u"Basque") -Language("be", "bel", u"Belarusian") -Language("bn", "ben", u"Bengali") -Language("bh", "bih", u"Bihari languages") -Language("bi", "bis", u"Bislama") --- ../python3/tmdb3/util.py (original) +++ ../python3/tmdb3/util.py (refactored) @@ -7,14 +7,14 @@ #----------------------- from copy import copy -from locales import get_locale -from tmdb_auth import get_session +from .locales import get_locale +from .tmdb_auth import get_session class NameRepr(object): """Mixin for __repr__ methods using 'name' attribute.""" def __repr__(self): - return u"<{0.__class__.__name__} '{0.name}'>"\ + return "<{0.__class__.__name__} '{0.name}'>"\ .format(self).encode('utf-8') @@ -25,7 +25,7 @@ """ def __repr__(self): name = self._name if self._name else self._request._kwargs['query'] - return u"".format(name).encode('utf-8') + return "".format(name).encode('utf-8') class Poller(object): @@ -82,7 +82,7 @@ def apply(self, data, set_nones=True): # apply data directly, bypassing callable function unfilled = False - for k, v in self.lookup.items(): + for k, v in list(self.lookup.items()): if (k in data) and (not callableRefactoringTool: Refactored ../python3/tmdb3/cache.py RefactoringTool: Refactored ../python3/tmdb3/request.py (self.func) or data[k] is not None): # argument received data, populate it setattr(self.inst, v, data[k]) @@ -109,7 +109,7 @@ This maps to a single key in a JSON dictionary received from the API """ def __init__(self, field, initarg=None, handler=None, poller=None, - raw=True, default=u'', lang=None, passthrough={}): + raw=True, default='', lang=None, passthrough={}): """ This defines how the dictionary value is to be processed by the poller @@ -221,7 +221,7 @@ val._locale = inst._locale val._session = inst._session - for source, dest in self.passthrough.items(): + for source, dest in list(self.passthrough.items()): setattr(val, dest, getattr(inst, source)) data.append(val) @@ -287,7 +287,7 @@ val._locale = inst._locale val._session = inst._session - for source, dest in self.passthrough.items(): + for source, dest in list(self.passthrough.items()): setattr(val, dest, getattr(inst, source)) data[self.getkey(val)] = val @@ -309,7 +309,7 @@ for base in reversed(bases): if isinstance(base, mcs): - for k, attr in base.__dict__.items(): + for k, attr in list(base.__dict__.items()): if isinstance(attr, Data): # extract copies of each defined Data element from # parent classes @@ -320,7 +320,7 @@ # extract copies of each defined Poller function # from parent classes pollers[k] = attr.func - for k, attr in attrs.items(): + for k, attr in list(attrs.items()): if isinstance(attr, Data): data[k] = attr if '_populate' in attrs: @@ -331,7 +331,7 @@ # which Data points pollermap = dict([(k, []) for k in pollers]) initargs = [] - for k, v in data.items(): + for k, v in list(data.items()): v.name = k if v.initarg: initargs.append(v) @@ -347,7 +347,7 @@ # wrap each used poller function with a Poller class, and push into # the new class attributes - for k, v in pollermap.items(): + for k, v in list(pollermap.items()): if len(v) == 0: continue lookup = dict([(attr.field, attr.name) for attr in v]) @@ -397,6 +397,5 @@ return obj -class Element( object ): - __metaclass__ = ElementType +class Element( object, metaclass=ElementType ): _lang = 'en' --- ../python3/tmdb3/cache.py (original) +++ ../python3/tmdb3/cache.py (refactored) @@ -10,11 +10,11 @@ import time import os -from tmdb_exceptions import * -from cache_engine import Engines +from .tmdb_exceptions import * +from .cache_engine import Engines -import cache_null -import cache_file +from . import cache_null +from . import cache_file DEBUG = False @@ -49,7 +49,7 @@ self._age = max(self._age, obj.creation) def _expire(self): - for k, v in self._data.items(): + for k, v in list(self._data.items()): if v.expired: del self._data[k] @@ -83,7 +83,7 @@ w = 10 - (time.time() - self._rate_limiter.pop(0)) if (w > 0): if DEBUG: - print "rate limiting - waiting {0} seconds".format(w) + print("rate limiting - waiting {0} seconds".format(w)) time.sleep(w) return None --- ../python3/tmdb3/request.py (original) +++ ../python3/tmdb3/request.py (refactored) @@ -8,12 +8,12 @@ # TMDb v3 API #----------------------- -from tmdb_exceptions import * -from locales import get_locale -from cache import Cache +RefactoringTool: Refactored ../python3/tmdb3/__init__.py RefactoringTool: Refactored ../python3/tmdb3/cache_engine.py from .tmdb_exceptions import * +from .locales import get_locale +from .cache import Cache -from urllib import urlencode -import urllib2 +from urllib.parse import urlencode +import urllib.request, urllib.error, urllib.parse import json import os @@ -43,7 +43,7 @@ cache.configure(engine, *args, **kwargs) -class Request(urllib2.Request): +class Request(urllib.request.Request): _api_key = None _base_url = "http://api.themoviedb.org/3/" @@ -61,17 +61,17 @@ """ kwargs['api_key'] = self.api_key self._url = url.lstrip('/') - self._kwargs = dict([(kwa, kwv) for kwa, kwv in kwargs.items() + self._kwargs = dict([(kwa, kwv) for kwa, kwv in list(kwargs.items()) if kwv is not None]) locale = get_locale() kwargs = {} - for k, v in self._kwargs.items(): + for k, v in list(self._kwargs.items()): kwargs[k] = locale.encode(v) url = '{0}{1}?{2}'\ .format(self._base_url, self._url, urlencode(kwargs)) - urllib2.Request.__init__(self, url) + urllib.request.Request.__init__(self, url) self.add_header('Accept', 'application/json') self.lifetime = 3600 # 1hr @@ -80,7 +80,7 @@ Create a new instance of the request, with tweaked arguments. """ args = dict(self._kwargs) - for k, v in kwargs.items(): + for k, v in list(kwargs.items()): if v is None: if k in args: del args[k] @@ -92,31 +92,31 @@ def add_data(self, data): """Provide data to be sent with POST.""" - urllib2.Request.add_data(self, urlencode(data)) + urllib.request.Request.add_data(self, urlencode(data)) def open(self): """Open a file object to the specified URL.""" try: if DEBUG: - print 'loading '+self.get_full_url() + print('loading '+self.get_full_url()) if self.has_data(): - print ' '+self.get_data() - return urllib2.urlopen(self) - except urllib2.HTTPError, e: + print(' '+self.get_data()) + return urllib.request.urlopen(self) + except urllib.error.HTTPError as e: raise TMDBHTTPError(e) def read(self): """Return result from specified URL as a string.""" return self.open().read() - @cache.cached(urllib2.Request.get_full_url) + @cache.cached(urllib.request.Request.get_full_url) def readJSON(self): """Parse result from specified URL as JSON data.""" url = self.get_full_url() try: # catch HTTP error from open() data = json.load(self.open()) - except TMDBHTTPError, e: + except TMDBHTTPError as e: try: # try to load whatever was returned data = json.loads(e.response) --- ../python3/tmdb3/__init__.py (original) +++ ../python3/tmdb3/__init__.py (refactored) @@ -1,12 +1,12 @@ #!/usr/bin/env python -from tmdb_api import Configuration, searchMovie, searchMovieWithYear, \ +from .tmdb_api import Configuration, searchMovie, searchMovieWithYear, \ searchPerson, searchStudio, searchList, searchCollection, \ searchSeries, Person, Movie, Collection, Genre, List, \ Series, Studio, Network, Episode, Season, __version__ -from request import set_key, set_cache -from locales import get_locale, set_locale -from tmdb_auth import get_session, set_session -from cache_engine import CacheEngine -from tmdb_exceptions import * +from .request import set_key, set_cache +from .locales import get_locale, set_locale +from .tmdb_auth import get_session, set_session +from .cache_engine import CacheEngine +from .tmdb_exceptions import * --- ../python3/tmdb3/cache_engine.py (original) +++ ../python3/tmdb3/cache_engine.py (refactored) @@ -43,8 +43,7 @@ Engines.register(cls) -class CachRefactoringTool: Refactored ../python3/tmdb3/tmdb_auth.py RefactoringTool: Refactored ../python3/tmdb3/pager.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/tmdb3/tmdb_api.py RefactoringTool: ../python3/tmdb3/cache_null.py RefactoringTool: ../python3/tmdb3/cache_file.py RefactoringTool: ../python3/tmdb3/tmdb_exceptions.py RefactoringTool: ../python3/tmdb3/locales.py RefactoringTool: ../python3/tmdb3/util.py RefactoringTool: ../python3/tmdb3/cache.py RefactoringTool: ../python3/tmdb3/request.py RefactoringTool: ../python3/tmdb3/__init__.py RefactoringTool: ../python3/tmdb3/cache_engine.py RefactoringTool: ../python3/tmdb3/tmdb_auth.py RefactoringTool: ../python3/tmdb3/pager.py RefactoringTool: ../python3/setup.py eEngine(object): - __metaclass__ = CacheEngineType +class CacheEngine(object, metaclass=CacheEngineType): name = 'unspecified' def __init__(self, parent): --- ../python3/tmdb3/tmdb_auth.py (original) +++ ../python3/tmdb3/tmdb_auth.py (refactored) @@ -65,8 +65,8 @@ dt.append(tz) return cls(*dt) -from request import Request -from tmdb_exceptions import * +from .request import Request +from .tmdb_exceptions import * syssession = None --- ../python3/tmdb3/pager.py (original) +++ ../python3/tmdb3/pager.py (refactored) @@ -18,7 +18,7 @@ def __iter__(self): return self - def next(self): + def __next__(self): self._index += 1 if self._index == self._len: raise StopIteration @@ -64,7 +64,7 @@ def __getitem__(self, index): if isinstance(index, slice): - return [self[x] for x in xrange(*index.indices(len(self)))] + return [self[x] for x in range(*index.indices(len(self)))] if index >= len(self): raise IndexError("list index outside range") if (index >= len(self._data)) \ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57201 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd tmdb3-0.7.2 + 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 --debug running build running build_py creating build creating build/lib creating build/lib/tmdb3 copying tmdb3/util.py -> build/lib/tmdb3 copying tmdb3/cache.py -> build/lib/tmdb3 copying tmdb3/request.py -> build/lib/tmdb3 copying tmdb3/__init__.py -> build/lib/tmdb3 copying tmdb3/cache_engine.py -> build/lib/tmdb3 copying tmdb3/tmdb_auth.py -> build/lib/tmdb3 copying tmdb3/pager.py -> build/lib/tmdb3 copying tmdb3/tmdb_api.py -> build/lib/tmdb3 copying tmdb3/cache_null.py -> build/lib/tmdb3 copying tmdb3/cache_file.py -> build/lib/tmdb3 copying tmdb3/tmdb_exceptions.py -> build/lib/tmdb3 copying tmdb3/locales.py -> build/lib/tmdb3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/tmdb3-0.7.2 + 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 --debug running build running build_py creating build creating build/lib creating build/lib/tmdb3 copying tmdb3/tmdb_api.py -> build/lib/tmdb3 copying tmdb3/cache_null.py -> build/lib/tmdb3 copying tmdb3/cache_file.py -> build/lib/tmdb3 copying tmdb3/tmdb_exceptions.py -> build/lib/tmdb3 copying tmdb3/locales.py -> build/lib/tmdb3 copying tmdb3/util.py -> build/lib/tmdb3 copying tmdb3/cache.py -> build/lib/tmdb3 copying tmdb3/request.py -> build/lib/tmdb3 copying tmdb3/__init__.py -> build/lib/tmdb3 copying tmdb3/cache_engine.py -> build/lib/tmdb3 copying tmdb3/tmdb_auth.py -> build/lib/tmdb3 copying tmdb3/pager.py -> build/lib/tmdb3 + popd ~/RPM/BUILD/tmdb3-0.7.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.52652 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-tmdb3-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-tmdb3-buildroot + cd tmdb3-0.7.2 + 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-tmdb3-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-tmdb3-buildroot creating /usr/src/tmp/python-module-tmdb3-buildroot/usr creating /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib creating /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/locales.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/tmdb_exceptions.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/cache_file.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/cache_null.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/tmdb_api.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/pager.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/tmdb_auth.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/cache_engine.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/__init__.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/request.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/cache.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 copying build/lib/tmdb3/util.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3 byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/locales.py to locales.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_exceptions.py to tmdb_exceptions.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py to cache_file.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_null.py to cache_null.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py to tmdb_api.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/pager.py to pager.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.py to tmdb_auth.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_engine.py to cache_engine.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py to request.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py to cache.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/util.py to util.pyc running install_egg_info running egg_info writing tmdb3.egg-info/PKG-INFO writing top-level names to tmdb3.egg-info/top_level.txt writing dependency_links to tmdb3.egg-info/dependency_links.txt reading manifest file 'tmdb3.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'tmdb3.egg-info/SOURCES.txt' Copying tmdb3.egg-info to /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3-0.7.2-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/tmdb3-0.7.2 + 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-tmdb3-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/pager.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/tmdb_auth.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/cache_engine.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/__init__.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/request.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/cache.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/util.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/locales.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/tmdb_exceptions.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/cache_file.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/cache_null.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 copying build/lib/tmdb3/tmdb_api.py -> /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3 byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/pager.py to pager.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py to tmdb_auth.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_engine.py to cache_engine.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py to request.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py to cache.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py to util.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/locales.py to locales.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_exceptions.py to tmdb_exceptions.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py to cache_file.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_null.py to cache_null.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py to tmdb_api.cpython-37.pyc running install_egg_info running egg_info writing tmdb3.egg-info/PKG-INFO writing dependency_links to tmdb3.egg-info/dependency_links.txt writing top-level names to tmdb3.egg-info/top_level.txt reading manifest file 'tmdb3.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'tmdb3.egg-info/SOURCES.txt' Copying tmdb3.egg-info to /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3-0.7.2-py3.7.egg-info running install_scripts + popd ~/RPM/BUILD/tmdb3-0.7.2 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-tmdb3-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-tmdb3-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-tmdb3-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-tmdb3-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-tmdb3-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-tmdb3-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-tmdb3-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_engine.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_null.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/locales.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/pager.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_exceptions.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/util.pyc compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_engine.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_null.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/locales.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/pager.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_exceptions.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/util.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-tmdb3-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_engine.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_null.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/locales.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/pager.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_exceptions.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/util.py Bytecompiling python3 modules in /usr/src/tmp/python-module-tmdb3-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-37.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-37.pyc compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_engine.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_null.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/locales.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/pager.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_exceptions.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-tmdb3-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_engine.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_null.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/locales.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/pager.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_exceptions.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-tmdb3-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_engine.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_null.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/locales.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/pager.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_exceptions.py compile /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/tmdb3/util.pyo' => './usr/lib/python2.7/site-packages/tmdb3/util.pyc' './usr/lib/python2.7/site-packages/tmdb3/tmdb_exceptions.pyo' => './usr/lib/python2.7/site-packages/tmdb3/tmdb_exceptions.pyc' './usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.pyo' => './usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.pyc' './usr/lib/python2.7/site-packages/tmdb3/tmdb_api.pyo' => './usr/lib/python2.7/site-packages/tmdb3/tmdb_api.pyc' './usr/lib/python2.7/site-packages/tmdb3/request.pyo' => './usr/lib/python2.7/site-packages/tmdb3/request.pyc' './usr/lib/python2.7/site-packages/tmdb3/pager.pyo' => './usr/lib/python2.7/site-packages/tmdb3/pager.pyc' './usr/lib/python2.7/site-packages/tmdb3/locales.pyo' => './usr/lib/python2.7/site-packages/tmdb3/locales.pyc' './usr/lib/python2.7/site-packages/tmdb3/cache_null.pyo' => './usr/lib/python2.7/site-packages/tmdb3/cache_null.pyc' './usr/lib/python2.7/site-packages/tmdb3/cache_file.pyo' => './usr/lib/python2.7/site-packages/tmdb3/cache_file.pyc' './usr/lib/python2.7/site-packages/tmdb3/cache_engine.pyo' => './usr/lib/python2.7/site-packages/tmdb3/cache_engine.pyc' './usr/lib/python2.7/site-packages/tmdb3/cache.pyo' => './usr/lib/python2.7/site-packages/tmdb3/cache.pyc' './usr/lib/python2.7/site-packages/tmdb3/__init__.pyo' => './usr/lib/python2.7/site-packages/tmdb3/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.30538 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd tmdb3-0.7.2 + nosetests ---------------------------------------------------------------------- Ran 0 tests in 0.069s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/tmdb3-0.7.2 + nosetests3 ---------------------------------------------------------------------- Ran 0 tests in 0.050s OK + popd ~/RPM/BUILD/tmdb3-0.7.2 + exit 0 Processing files: python-module-tmdb3-0.7.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.16092 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd tmdb3-0.7.2 + DOCDIR=/usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.2 + /bin/mkdir -p /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.2 + cp -prL LICENSE PKG-INFO README.md /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.2 + chmod -R go-w /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.2 + chmod -R a+rX /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TrJHaL 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.ZxgS8H 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-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py: hiding tmdb_api, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py: hiding request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py: hiding locales, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py: hiding tmdb_auth, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py: hiding cache_engine, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py: hiding tmdb_exceptions, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py: hiding tmdb_exceptions, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py: hiding cache_engine, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py: hiding cache_null, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py: hiding cache_file, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py: skipping errno python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py: hiding tmdb_exceptions, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py: hiding cache_engine, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py: line=57 IGNORE (for REQ=slight and deep=8) module=fcntl /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py: line=98 IGNORE (for REQ=slight and deep=8) module=msvcrt python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_null.py: hiding cache_engine, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/locales.py: hiding tmdb_exceptions, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py: hiding tmdb_exceptions, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py: hiding locales, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py: hiding cache, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py: line=133 IGNORE (for REQ=slight and deep=16) module=pprint python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: hiding request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: hiding util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: hiding pager, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: hiding locales, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: hiding tmdb_auth, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: hiding tmdb_exceptions, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: line=89 IGNORE (for REQ=slight and deep=12) module=sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: line=90 IGNORE (for REQ=slight and deep=12) module=warnings /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py: line=91 IGNORE (for REQ=slight and deep=12) module=traceback python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.py: hiding request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.py: hiding tmdb_exceptions, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/util.py: hiding locales, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/util.py: hiding tmdb_auth, which SEEMS TO BE SELF-SATISFIED shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_engine.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_file.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/cache_null.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/locales.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/pager.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/request.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_api.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_auth.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/tmdb_exceptions.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3/util.py is not executable Provides: python2.7(tmdb3), python2.7(tmdb3.cache), python2.7(tmdb3.cache_engine), python2.7(tmdb3.cache_file), python2.7(tmdb3.cache_null), python2.7(tmdb3.locales), python2.7(tmdb3.pager), python2.7(tmdb3.request), python2.7(tmdb3.tmdb_api), python2.7(tmdb3.tmdb_auth), python2.7(tmdb3.tmdb_exceptions), python2.7(tmdb3.util) Requires: /usr/lib/python2.7/site-packages, python-modules, python2.7(json) Processing files: python3-module-tmdb3-0.7.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.97698 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd tmdb3-0.7.2 + DOCDIR=/usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.2 + /bin/mkdir -p /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.2 + cp -prL LICENSE PKG-INFO README.md /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.2 + chmod -R go-w /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.2 + chmod -R a+rX /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Vn0eEh 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.CqJXxe find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py: line=7 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py: line=10 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py: line=11 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py: line=13 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py: line=14 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py: line=17 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_engine.py: skipping time python3.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py: skipping errno python3.req: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py: line=21 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py: line=22 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py: line=57 IGNORE (for REQ=slight and deep=8) module=fcntl /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py: line=98 IGNORE (for REQ=slight and deep=8) module=msvcrt /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_null.py: line=10 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/locales.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py: line=11 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py: line=12 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py: line=13 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py: line=133 IGNORE (for REQ=slight and deep=16) module=pprint /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=70 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=71 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=72 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=73 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=74 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=75 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=89 IGNORE (for REQ=slight and deep=12) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=90 IGNORE (for REQ=slight and deep=12) module=warnings /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py: line=91 IGNORE (for REQ=slight and deep=12) module=traceback /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py: line=68 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py: line=69 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py: line=10 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py: line=11 possible relative import from ., UNIMPLEMENTED shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_engine.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_null.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/locales.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/pager.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_exceptions.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py is not executable Provides: python3(tmdb3), python3(tmdb3.cache), python3(tmdb3.cache_engine), python3(tmdb3.cache_file), python3(tmdb3.cache_null), python3(tmdb3.locales), python3(tmdb3.pager), python3(tmdb3.request), python3(tmdb3.tmdb_api), python3(tmdb3.tmdb_auth), python3(tmdb3.tmdb_exceptions), python3(tmdb3.util) Requires: /usr/lib/python3/site-packages, python3(collections) < 0, python3(copy) < 0, python3(datetime) < 0, python3(io) < 0, python3(json) < 0, python3(locale) < 0, python3(os) < 0, python3(re) < 0, python3(struct) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(weakref) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-tmdb3-0.7.2-alt1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-tmdb3-0.7.2-alt1.noarch.rpm 12.41user 0.80system 0:15.96elapsed 82%CPU (0avgtext+0avgdata 23096maxresident)k 0inputs+0outputs (0major+248171minor)pagefaults 0swaps 19.96user 3.99system 0:27.52elapsed 87%CPU (0avgtext+0avgdata 116760maxresident)k 0inputs+0outputs (0major+754006minor)pagefaults 0swaps