<86>Apr 14 01:20:03 userdel[52666]: delete user 'rooter' <86>Apr 14 01:20:03 userdel[52666]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:20:03 userdel[52666]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:20:03 groupadd[52710]: group added to /etc/group: name=rooter, GID=561 <86>Apr 14 01:20:03 groupadd[52710]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:20:03 groupadd[52710]: new group: name=rooter, GID=561 <86>Apr 14 01:20:03 useradd[52785]: new user: name=rooter, UID=561, GID=561, home=/root, shell=/bin/bash <86>Apr 14 01:20:03 userdel[52988]: delete user 'builder' <86>Apr 14 01:20:03 userdel[52988]: removed group 'builder' owned by 'builder' <86>Apr 14 01:20:03 userdel[52988]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:20:03 groupadd[53012]: group added to /etc/group: name=builder, GID=562 <86>Apr 14 01:20:03 groupadd[53012]: group added to /etc/gshadow: name=builder <86>Apr 14 01:20:03 groupadd[53012]: new group: name=builder, GID=562 <86>Apr 14 01:20:03 useradd[53044]: new user: name=builder, UID=562, GID=562, home=/usr/src, shell=/bin/bash <13>Apr 14 01:20:05 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:20:05 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:20:05 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:20:06 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:20:06 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:06 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:20:06 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:20:06 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:20:06 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:20:06 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:20:06 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:20:06 groupadd[64142]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:20:06 groupadd[64142]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:20:06 groupadd[64142]: new group: name=_keytab, GID=499 <13>Apr 14 01:20:06 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:20:06 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:20:06 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:06 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:20:06 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:20:06 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:06 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:20:06 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:06 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:20:06 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:20:06 rpmi: python3-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed <13>Apr 14 01:20:07 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:20:07 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:20:07 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:20:07 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:20:07 rpmi: python-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed Installing python-module-tmdb3-0.7.0-alt1.git20140128.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.7681 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-tmdb3-0.7.0 + echo 'Source #0 (python-module-tmdb3-0.7.0.tar):' Source #0 (python-module-tmdb3-0.7.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-tmdb3-0.7.0.tar + cd python-module-tmdb3-0.7.0 + /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/util.py --- ../python3/tmdb3/util.py (original) +++ ../python3/tmdb3/util.py (refactored) @@ -7,14 +7,15 @@ #----------------------- 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 +import collections 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 +26,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): @@ -60,7 +61,7 @@ def __call__(self): # retrieve data from callable function, and apply - if not callable(self.func): + if not isinstance(self.func, collections.Callable): raise RuntimeError('Poller object called without a source function') req = self.func() if ('language' in req._kwargs) or ('country' in req._kwargs) \ @@ -82,9 +83,9 @@ 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 \ - ((data[k] is not None) if callable(self.func) else True): + ((data[k] is not None) if isinstance(self.func, collections.Callable) else True): # argument received data, populate it setattr(self.inst, v, data[k]) elif v in self.inst._data: @@ -110,7 +111,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 @@ -222,7 +223,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) @@ -288,7 +289,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 @@ -310,7 +311,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 @@ -321,7 +322,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: @@ -332,7 +333,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) @@ -348,7 +349,7 @@ RefactoringTool: No changes to ../python3/tmdb3/tmdb_exceptions.py RefactoringTool: Refactored ../python3/tmdb3/tmdb_auth.py RefactoringTool: Refactored ../python3/tmdb3/tmdb_api.py # 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]) @@ -398,6 +399,5 @@ return obj -class Element( object ): - __metaclass__ = ElementType +class Element( object, metaclass=ElementType ): _lang = 'en' --- ../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/tmdb_api.py (original) +++ ../python3/tmdb3/tmdb_api.py (refactored) @@ -63,16 +63,16 @@ # releasedate sorting from Collection Movies # 0.7.0 Add support for television series data -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 @@ -265,14 +265,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): @@ -312,7 +312,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') @@ -330,7 +330,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): @@ -354,7 +354,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') @@ -363,7 +363,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') @@ -372,7 +372,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') @@ -381,7 +381,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') @@ -397,7 +397,7 @@ def __repr__(self): # modified BASE64 encoding, no need to worry about unicode - retuRefactoringTool: Refactored ../python3/tmdb3/request.py rn u"<{0.__class__.__name__} '{0.name}'>".format(self) + return "<{0.__class__.__name__} '{0.name}'>".format(self) class AppleTrailer(Element): @@ -405,7 +405,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): if size is None: @@ -416,7 +416,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): @@ -425,7 +425,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') @@ -704,17 +704,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') @@ -722,7 +722,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')) @@ -731,7 +731,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')) --- ../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 +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: RefactoringTool: Refactored ../python3/tmdb3/pager.py RefactoringTool: Refactored ../python3/tmdb3/locales.py 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/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 @@ -61,7 +61,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)) \ --- ../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"BasqWARNING: couldn't encode ../python3/tmdb3/locales.py's diff for your terminal RefactoringTool: Refactored ../python3/tmdb3/cache_null.py RefactoringTool: Refactored ../python3/tmdb3/cache_file.py RefactoringTool: Refactored ../python3/tmdb3/cache_engine.py RefactoringTool: Refactored ../python3/tmdb3/cache.py RefactoringTool: Refactored ../python3/tmdb3/__init__.py ue") -Language("be", "bel", u"Belarusian") -Language("bn", "ben", u"Bengali") -Language("bh", "bih", u"Bihari languages") -Language("bi", "bis", u"Bislama") --- ../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,11 @@ 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 +import collections #################### # Cache File Format @@ -76,7 +77,7 @@ def __exit__(self, exc_type, exc_value, exc_tb): suppress = False - if callable(self.callback): + if isinstance(self.callback, collections.Callable): suppress = self.callback(exc_type, exc_value, exc_tb) fcntl.flock(self.fileobj, fcntl.LOCK_UN) return suppress @@ -111,7 +112,7 @@ def __exit__(self, exc_type, exc_value, exc_tb): suppress = False - if callable(self.callback): + if isinstance(self.callback, collections.Callable): suppress = self.callback(exc_type, exc_value, exc_tb) msvcrt.locking(self.fileobj.fileno(), msvcrt.LK_UNLCK, self.size) return suppress @@ -123,7 +124,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 +372,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/cache_engine.py (original) +++ ../python3/tmdb3/cache_engine.py (refactored) @@ -43,8 +43,7 @@ Engines.register(cls) -class CacheEngine(object): - __metaclass__ = CacheEngineType +class CacheEngine(object, metaclass=CacheEngineType): name = 'unspecified' def __init__(self, parent): --- ../python3/tmdb3/cache.py (original) +++ ../python3/tmdb3/cache.py (refactored) @@ -10,11 +10,12 @@ 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 +import collections class Cache(object): @@ -44,7 +45,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] @@ -104,7 +105,7 @@ raise TMDBCacheError( 'Cache.Cached decorator called before being given ' + 'a function to wrap.') - elif not callable(args[0]): + elif not isinstance(args[0], collections.Callable): raise TMDBCacheError( 'Cache.Cached must be provided a callable object.') return self.__class__(self.cache, self.callback, args[0]) --- ../python3/tmdb3/__init__.py (original) +++ ../python3/tmdb3/__init__.py (refactored) @@ -1,12 +1,12 @@ #!/usr/bin/env python -from tmdb_api RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/scripts/pytmdb3.py RefactoringTool: Refactored ../python3/scripts/populate_locale.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/tmdb3/util.py RefactoringTool: ../python3/tmdb3/tmdb_exceptions.py RefactoringTool: ../python3/tmdb3/tmdb_auth.py RefactoringTool: ../python3/tmdb3/tmdb_api.py RefactoringTool: ../python3/tmdb3/request.py RefactoringTool: ../python3/tmdb3/pager.py RefactoringTool: ../python3/tmdb3/locales.py RefactoringTool: ../python3/tmdb3/cache_null.py RefactoringTool: ../python3/tmdb3/cache_file.py RefactoringTool: ../python3/tmdb3/cache_engine.py RefactoringTool: ../python3/tmdb3/cache.py RefactoringTool: ../python3/tmdb3/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/scripts/pytmdb3.py RefactoringTool: ../python3/scripts/populate_locale.py 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/scripts/pytmdb3.py (original) +++ ../python3/scripts/pytmdb3.py (refactored) @@ -23,10 +23,10 @@ if opts.version: from tmdb3.tmdb_api import __title__, __purpose__, __version__, __author__ - print __title__ - print "" - print __purpose__ - print "Version: "+__version__ + print(__title__) + print("") + print(__purpose__) + print("Version: "+__version__) sys.exit(0) if opts.nocache: --- ../python3/scripts/populate_locale.py (original) +++ ../python3/scripts/populate_locale.py (refactored) @@ -23,7 +23,7 @@ while True: line = fd.readline() if len(line) == 0: - print "code endpoint not found, aborting!" + print("code endpoint not found, aborting!") sys.exit(1) if line.startswith('########'): endpt = fd.tell() @@ -40,7 +40,7 @@ if row.getchildren()[0].tag == "th": # skip header continue - if row.getchildren()[-1].text == u"\xa0": + if row.getchildren()[-1].text == "\xa0": # skip empty 639-1 code continue name, _, _, iso639_2, iso639_1 = [t.text for t in row] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67390 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-tmdb3-0.7.0 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/tmdb3 copying tmdb3/util.py -> build/lib/tmdb3 copying tmdb3/tmdb_exceptions.py -> build/lib/tmdb3 copying tmdb3/tmdb_auth.py -> build/lib/tmdb3 copying tmdb3/tmdb_api.py -> build/lib/tmdb3 copying tmdb3/request.py -> build/lib/tmdb3 copying tmdb3/pager.py -> build/lib/tmdb3 copying tmdb3/locales.py -> build/lib/tmdb3 copying tmdb3/cache_null.py -> build/lib/tmdb3 copying tmdb3/cache_file.py -> build/lib/tmdb3 copying tmdb3/cache_engine.py -> build/lib/tmdb3 copying tmdb3/cache.py -> build/lib/tmdb3 copying tmdb3/__init__.py -> build/lib/tmdb3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-tmdb3-0.7.0 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/tmdb3 copying tmdb3/util.py -> build/lib/tmdb3 copying tmdb3/tmdb_exceptions.py -> build/lib/tmdb3 copying tmdb3/tmdb_auth.py -> build/lib/tmdb3 copying tmdb3/tmdb_api.py -> build/lib/tmdb3 copying tmdb3/request.py -> build/lib/tmdb3 copying tmdb3/pager.py -> build/lib/tmdb3 copying tmdb3/locales.py -> build/lib/tmdb3 copying tmdb3/cache_null.py -> build/lib/tmdb3 copying tmdb3/cache_file.py -> build/lib/tmdb3 copying tmdb3/cache_engine.py -> build/lib/tmdb3 copying tmdb3/cache.py -> build/lib/tmdb3 copying tmdb3/__init__.py -> build/lib/tmdb3 + popd ~/RPM/BUILD/python-module-tmdb3-0.7.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.67390 + 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 python-module-tmdb3-0.7.0 + /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/__init__.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/cache_engine.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/locales.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/request.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/tmdb_auth.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/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/__init__.py to __init__.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/cache_engine.py to cache_engine.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/locales.py to locales.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/request.py to request.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/tmdb_auth.py to tmdb_auth.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/util.py to util.pyc running install_egg_info Writing /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python2.7/site-packages/tmdb3-0.7.0-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-tmdb3-0.7.0 + 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/__init__.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/cache_engine.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/locales.py -> /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/request.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 copying build/lib/tmdb3/tmdb_auth.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/util.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/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache.py to cache.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_engine.py to cache_engine.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_file.py to cache_file.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/cache_null.py to cache_null.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/locales.py to locales.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/pager.py to pager.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/request.py to request.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_api.py to tmdb_api.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_auth.py to tmdb_auth.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/tmdb_exceptions.py to tmdb_exceptions.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/util.py to util.cpython-35.pyc running install_egg_info Writing /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3-0.7.0-py3.5.egg-info + popd ~/RPM/BUILD/python-module-tmdb3-0.7.0 + /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) 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 python3 unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.pyc unlink /usr/src/tmp/python-module-tmdb3-buildroot/usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-35.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 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 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-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.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.17305 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-tmdb3-0.7.0 + nosetests ---------------------------------------------------------------------- Ran 0 tests in 0.047s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-tmdb3-0.7.0 + nosetests3 ---------------------------------------------------------------------- Ran 0 tests in 0.052s OK + popd ~/RPM/BUILD/python-module-tmdb3-0.7.0 + exit 0 Processing files: python-module-tmdb3-0.7.0-alt1.git20140128.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.42160 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-tmdb3-0.7.0 + DOCDIR=/usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.0 + /bin/mkdir -p /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.0 + cp -prL LICENSE README /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.0 + chmod -R go-w /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.0 + chmod -R a+rX /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python-module-tmdb3-0.7.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZPAGCQ 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.qL0I3a find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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=85 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=86 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=87 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.0-alt1.git20140128.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.65397 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-tmdb3-0.7.0 + DOCDIR=/usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.0 + /bin/mkdir -p /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.0 + cp -prL LICENSE README /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.0 + chmod -R go-w /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.0 + chmod -R a+rX /usr/src/tmp/python-module-tmdb3-buildroot/usr/share/doc/python3-module-tmdb3-0.7.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.t0YdNy 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.yU7NrZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-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=58 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=99 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=66 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=67 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=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_api.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/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=85 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=86 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=87 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.3(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), python3.3(tmdb3.cache), python3.3(tmdb3.cache_engine), python3.3(tmdb3.cache_file), python3.3(tmdb3.cache_null), python3.3(tmdb3.locales), python3.3(tmdb3.pager), python3.3(tmdb3.request), python3.3(tmdb3.tmdb_api), python3.3(tmdb3.tmdb_auth), python3.3(tmdb3.tmdb_exceptions), python3.3(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) < 0, python3(weakref) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-tmdb3-0.7.0-alt1.git20140128.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-tmdb3-0.7.0-alt1.git20140128.1.1.noarch.rpm 6.35user 0.60system 0:10.99elapsed 63%CPU (0avgtext+0avgdata 46532maxresident)k 0inputs+0outputs (0major+234205minor)pagefaults 0swaps 10.20user 2.68system 0:17.76elapsed 72%CPU (0avgtext+0avgdata 122072maxresident)k 0inputs+0outputs (0major+478895minor)pagefaults 0swaps --- python3-module-tmdb3-0.7.0-alt1.git20140128.1.1.noarch.rpm.repo 2016-03-16 15:24:01.000000000 +0000 +++ python3-module-tmdb3-0.7.0-alt1.git20140128.1.1.noarch.rpm.hasher 2019-04-14 01:20:21.333782771 +0000 @@ -1,27 +1,41 @@ /usr/lib/python3/site-packages/tmdb3 40755 -/usr/lib/python3/site-packages/tmdb3-0.7.0-py3.3.egg-info 100644 +/usr/lib/python3/site-packages/tmdb3-0.7.0-py3.5.egg-info 100644 /usr/lib/python3/site-packages/tmdb3/__init__.py 100644 /usr/lib/python3/site-packages/tmdb3/__pycache__ 40755 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_engine.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_file.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/cache_null.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/locales.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/pager.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/request.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_api.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_auth.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/tmdb_exceptions.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/tmdb3/__pycache__/util.cpython-35.pyc 100644 /usr/lib/python3/site-packages/tmdb3/cache.py 100644 @@ -41,2 +55,13 @@ Requires: /usr/lib/python3/site-packages +Requires: python3(collections) < 0 +Requires: python3(copy) < 0 +Requires: python3(datetime) < 0 +Requires: python3(io) < 0 +Requires: python3(json) < 0 +Requires: python3(locale) < 0 +Requires: python3(os) < 0 +Requires: python3(re) < 0 +Requires: python3(struct) < 0 +Requires: python3(urllib) < 0 +Requires: python3(weakref) < 0 Requires: rpmlib(PayloadIsLzma) @@ -44,2 +69,24 @@ Provides: python3.3(tmdb3) +Provides: python3(tmdb3.cache) +Provides: python3(tmdb3.cache_engine) +Provides: python3(tmdb3.cache_file) +Provides: python3(tmdb3.cache_null) +Provides: python3(tmdb3.locales) +Provides: python3(tmdb3.pager) +Provides: python3(tmdb3.request) +Provides: python3(tmdb3.tmdb_api) +Provides: python3(tmdb3.tmdb_auth) +Provides: python3(tmdb3.tmdb_exceptions) +Provides: python3(tmdb3.util) +Provides: python3.3(tmdb3.cache) +Provides: python3.3(tmdb3.cache_engine) +Provides: python3.3(tmdb3.cache_file) +Provides: python3.3(tmdb3.cache_null) +Provides: python3.3(tmdb3.locales) +Provides: python3.3(tmdb3.pager) +Provides: python3.3(tmdb3.request) +Provides: python3.3(tmdb3.tmdb_api) +Provides: python3.3(tmdb3.tmdb_auth) +Provides: python3.3(tmdb3.tmdb_exceptions) +Provides: python3.3(tmdb3.util) Provides: python3-module-tmdb3 = 0.7.0-alt1.git20140128.1.1