<86>Apr 14 01:12:33 userdel[89048]: delete user 'rooter' <86>Apr 14 01:12:33 groupadd[89055]: group added to /etc/group: name=rooter, GID=687 <86>Apr 14 01:12:33 groupadd[89055]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:12:33 groupadd[89055]: new group: name=rooter, GID=687 <86>Apr 14 01:12:33 useradd[89065]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash <86>Apr 14 01:12:33 userdel[89080]: delete user 'builder' <86>Apr 14 01:12:33 userdel[89080]: removed group 'builder' owned by 'builder' <86>Apr 14 01:12:33 userdel[89080]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:12:33 groupadd[89091]: group added to /etc/group: name=builder, GID=688 <86>Apr 14 01:12:33 groupadd[89091]: group added to /etc/gshadow: name=builder <86>Apr 14 01:12:33 groupadd[89091]: new group: name=builder, GID=688 <86>Apr 14 01:12:33 useradd[89097]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash <13>Apr 14 01:12:38 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:12:38 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:12:38 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:12:38 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:12:38 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:38 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:12:38 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:12:38 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:12:38 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:12:38 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:12:38 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:12:38 groupadd[98822]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:12:38 groupadd[98822]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:12:38 groupadd[98822]: new group: name=_keytab, GID=499 <13>Apr 14 01:12:38 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:12:39 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:12:39 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:12:39 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:39 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:12:39 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:12:39 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:12:40 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:12:40 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:40 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:12:40 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:12:40 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:40 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:40 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:40 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:40 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:40 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:40 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:41 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:41 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:41 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:41 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:41 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:41 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:12:41 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:12:41 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:12:41 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed Installing python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.45669 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-universal-analytics-python-0.2.4 + echo 'Source #0 (python-module-universal-analytics-python-0.2.4.tar):' Source #0 (python-module-universal-analytics-python-0.2.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-universal-analytics-python-0.2.4.tar + cd python-module-universal-analytics-python-0.2.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 0.2.4 + 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/test/test_everything.py WARNING: couldn't encode ../python3/test/test_everything.py's diff for your terminal RefactoringTool: Refactored ../python3/setup.py RefactoringTool: Refactored ../python3/UniversalAnalytics/__init__.py RefactoringTool: Refactored ../python3/UniversalAnalytics/Tracker.py --- ../python3/test/test_everything.py (original) +++ ../python3/test/test_everything.py (refactored) @@ -10,7 +10,7 @@ ############################################################################### import unittest -import urllib +import urllib.request, urllib.parse, urllib.error from UniversalAnalytics import Tracker from UniversalAnalytics import HTTPLog @@ -33,7 +33,7 @@ @classmethod def url_quote(cls, value, safe_chars = ''): - return urllib.quote(value, safe_chars) + return urllib.parse.quote(value, safe_chars) @property @@ -83,7 +83,7 @@ # Send unicode data: # As unicode --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -2,7 +2,7 @@ import sys VERSION=open('commit-version').read().strip() -print >>sys.stderr, "Preparing version {0}\n".format(VERSION or "NOTFOUND") +print("Preparing version {0}\n".format(VERSION or "NOTFOUND"), file=sys.stderr) try: --- ../python3/UniversalAnalytics/__init__.py (original) +++ ../python3/UniversalAnalytics/__init__.py (refactored) @@ -1 +1 @@ -import Tracker +from . import Tracker --- ../python3/UniversalAnalytics/Tracker.py (original) +++ ../python3/UniversalAnalytics/Tracker.py (refactored) @@ -1,16 +1,7 @@ -############################################################################### -# Universal Analytics for Python -# Copyright (c) 2013, Analytics Pros -# -# This project is free software, distributed under the BSD license. -# Analytics Pros offers consulting and integration services if your firm needs -# assistance in strategy, implementation, or auditing existing work. -############################################################################### - -from urllib2 import urlopen, build_opener, install_opener -from urllib2 import Request, HTTPSHandler -from urllib2 import URLError, HTTPError -from urllib import urlencode +from urllib.request import urlopen, build_opener, install_opener +from urllib.request import Request, HTTPSHandler +from urllib.error import URLError, HTTPError +from urllib.parse import urlencode import random import datetime @@ -25,7 +16,7 @@ """ Provides a _random_ UUID with no input, or a UUID4-format MD5 checksum of any input data provided """ if basedata is None: return str(uuid.uuid4()) - elif isinstance(basedata, basestring): + elif isinstance(basedata, str): checksum = hashlib.md5(basedata).hexdigest() return '%8s-%4s-%4s-%4s-%12s' % (checksum[0:8], checksum[8:12], checksum[12:16], checksum[16:20], checksum[20:32]) @@ -44,7 +35,7 @@ def to_unix(cls, timestamp): """ Wrapper over time module to produce Unix epoch time as a float """ if not isinstance(timestamp, datetime.datetime): - raise TypeError, 'Time.milliseconds expects a datetime object' + raise TypeError('Time.milliseconds expects a datetime object') base = time.mktime(timestamp.timetuple()) return base @@ -89,7 +80,7 @@ def fixUTF8(cls, data): # Ensure proper encoding for UA's servers... """ Convert all strings to UTF-8 """ for key in data: - if isinstance(data[ key ], basestring): + if isinstance(data[ key ], str): data[ key ] = data[ key ].encode('utf-8') return data @@ -156,17 +147,17 @@ @classmethod def coerceParameter(cls, name, value = None): - if isinstance(name, basestring) and name[0] == '&': + if isinstance(name, str) and name[0] == '&': return name[1:], str(value) elif name in cls.parameter_alias: typecast, param_name = cls.parameter_alias.get(name) return param_name, typecast(value) else: - raise KeyError, 'Parameter "{0}" is not recognized'.format(name) + raise KeyError('Parameter "{0}" is not recognized'.format(name)) def payload(self, data): - for key, value in data.iteritems(): + for key, value in data.items(): try: yield self.coerceParameter(key, value) except KeyError: @@ -175,10 +166,10 @@ option_sequence = { - 'pageview': [ (basestring, 'dp') ], - 'event': [ (basestring, 'ec'), (basestring, 'ea'), (basestring, 'el'), (int, 'ev') ], - 'social': [ (basestring, 'sn'), (basestring, 'sa'), (basestring, 'st') ], - 'timing': [ (basestring, 'utc'), (basestring, 'utv'), (basestring, 'utt'), (basestring, 'utl') ] + 'pageview': [ (str, 'dp') ], + 'event': [ (str, 'ec'), (str, 'ea'), (str, 'el'), (int, 'ev') ], + 'social': [ (str, 'sn'), (str, 'sa'), (str, 'st') ], + 'timing': [ (str, 'utc'), (str, 'utv'), (str, 'utt'), (str, 'utl') ] } @classmethod @@ -254,7 +245,7 @@ for key, val in self.payload(item): data[ key ] = val - for k, v in self.params.iteritems(): # update only absent parameters + for k, v in self.params.items(): # update only absent parameters if k not in data: data[ k ] = v @@ -273,13 +264,13 @@ # Setting persistent attibutes of the session/hit/etc (inc. custom dimensions/metrics) def set(self, name, value = None): if isinstance(name, dict): - for key, value in name.iteritems(): + for key, value in name.items(): try: param, value = self.coerceParameter(key, value) self.params[param] = value except KeyError: pass - elif isinstance(name, basestring): + elif isinstance(name, str): try: param, value = self.coerceParameter(name, value) self.params[param] = value @@ -304,7 +295,7 @@ def safe_unicode(obj): """ Safe convertion to the Unicode string version of the object """ try: - return unicode(obj) + return str(obj) except UnicodeDecodeError: return obj.decode('utf-8') @@ -403,7 +394,7 @@ # Enhanced Ecommerce Tracker.alias(str, 'pa') # Product action Tracker.alias(str, 'tcc') # Coupon code -Tracker.alias(unicode, 'pal') # Product action list +Tracker.alias(str, 'pal') # Product action list Tracker.alias(int, 'cos') # Checkout step Tracker.alias(str, 'col') # Checkout step option @@ -411,10 +402,10 @@ for product_index in range(1, MAX_EC_PRODUCTS): Tracker.alias(str, 'pr{0}id'.format(product_index)) # Product SKU - Tracker.alias(unicode, 'pr{0}nm'.format(product_index)) # Product name - Tracker.alias(unicode, 'pr{0}br'.format(product_index)) # Product brand - Tracker.alias(unicode, 'pr{0}ca'.format(product_index)) # Product category - Tracker.alias(unicode, 'pr{0}va'.format(product_index)) # Product variant + Tracker.alias(str, 'pr{0}nm'.format(product_index)) # Product name + Tracker.alias(str, 'pr{0}br'.format(product_index)) # Product brand + Tracker.alias(str, 'pr{0}ca'.format(product_index)) # Product category + Tracker.alias(str, 'pr{0}va'.format(product_index)) # Product variant Tracker.alias(str, 'pr{0}pr'.format(product_index)) # Product price Tracker.alias(int, 'pr{0}qt'.format(product_index)) # Product quantity Tracker.alias(str, 'pr{0}cc'.format(product_index)) # Product coupon code @@ -426,10 +417,10 @@ for list_index in range(1, MAX_EC_LISTS): Tracker.alias(str, 'il{0}pi{1}id'.format(list_index, product_index)) # Product impression SKU - Tracker.alias(unicode, 'il{0}pi{1}nm'.format(list_index, product_index)) # Product impression name - Tracker.alias(unicode, 'il{0}pi{1}br'.format(list_index, product_index)) # Product impression brand - Tracker.alias(unicode, 'il{0}pi{1}ca'.format(list_index, product_index)) # Product impression category - Tracker.alias(unicode, 'il{0}pi{1}va'.format(list_index, product_index)) # Product impression variant + Tracker.alias(str, 'il{0}pi{1}nm'.format(list_index, product_index)) # Product impression name + Tracker.alias(str, 'il{0}pi{1}br'.format(list_index, product_indRefactoringTool: Refactored ../python3/UniversalAnalytics/HTTPLog.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/test/test_everything.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/UniversalAnalytics/__init__.py RefactoringTool: ../python3/UniversalAnalytics/Tracker.py RefactoringTool: ../python3/UniversalAnalytics/HTTPLog.py ex)) # Product impression brand + Tracker.alias(str, 'il{0}pi{1}ca'.format(list_index, product_index)) # Product impression category + Tracker.alias(str, 'il{0}pi{1}va'.format(list_index, product_index)) # Product impression variant Tracker.alias(int, 'il{0}pi{1}ps'.format(list_index, product_index)) # Product impression position Tracker.alias(int, 'il{0}pi{1}pr'.format(list_index, product_index)) # Product impression price @@ -438,11 +429,11 @@ Tracker.alias(int, 'il{0}pi{1}cm{2}'.format(list_index, product_index, custom_index)) # Product impression custom metric for list_index in range(1, MAX_EC_LISTS): - Tracker.alias(unicode, 'il{0}nm'.format(list_index)) # Product impression list name + Tracker.alias(str, 'il{0}nm'.format(list_index)) # Product impression list name for promotion_index in range(1, MAX_EC_PROMOTIONS): Tracker.alias(str, 'promo{0}id'.format(promotion_index)) # Promotion ID - Tracker.alias(unicode, 'promo{0}nm'.format(promotion_index)) # Promotion name + Tracker.alias(str, 'promo{0}nm'.format(promotion_index)) # Promotion name Tracker.alias(str, 'promo{0}cr'.format(promotion_index)) # Promotion creative Tracker.alias(str, 'promo{0}ps'.format(promotion_index)) # Promotion position --- ../python3/UniversalAnalytics/HTTPLog.py (original) +++ ../python3/UniversalAnalytics/HTTPLog.py (refactored) @@ -10,7 +10,7 @@ import sys, re, os -from cStringIO import StringIO +from io import StringIO @@ -116,6 +116,6 @@ if __name__ == '__main__': consume(sys.stdout).write(sys.stdin.read()) - print '\n' + print('\n') # vim: set nowrap tabstop=4 shiftwidth=4 softtabstop=0 expandtab textwidth=0 filetype=python foldmethod=indent foldcolumn=4 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38046 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + 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 Preparing version 0.2.4 running build running build_py creating build creating build/lib creating build/lib/UniversalAnalytics copying UniversalAnalytics/__init__.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/Tracker.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/HTTPLog.py -> build/lib/UniversalAnalytics + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + 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/UniversalAnalytics copying UniversalAnalytics/__init__.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/Tracker.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/HTTPLog.py -> build/lib/UniversalAnalytics Preparing version 0.2.4 + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.96164 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-universal-analytics-python-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-universal-analytics-python-buildroot + cd python-module-universal-analytics-python-0.2.4 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-universal-analytics-python-buildroot --force Preparing version 0.2.4 running install running install_lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/HTTPLog.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/Tracker.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/__init__.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py to HTTPLog.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py to Tracker.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py to __init__.pyc running install_egg_info running egg_info creating universal_analytics_python.egg-info writing universal_analytics_python.egg-info/PKG-INFO writing top-level names to universal_analytics_python.egg-info/top_level.txt writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' Copying universal_analytics_python.egg-info to /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/universal_analytics_python-0.2.4-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-universal-analytics-python-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/HTTPLog.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/Tracker.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/__init__.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py to HTTPLog.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py to Tracker.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py to __init__.cpython-35.pyc running install_egg_info running egg_info creating universal_analytics_python.egg-info writing universal_analytics_python.egg-info/PKG-INFO writing top-level names to universal_analytics_python.egg-info/top_level.txt writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' Copying universal_analytics_python.egg-info to /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info running install_scripts Preparing version 0.2.4 + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-universal-analytics-python-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-universal-analytics-python-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-universal-analytics-python-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyc compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-universal-analytics-python-buildroot using python3 unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.pyc compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-universal-analytics-python-buildroot using python3 -O compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-universal-analytics-python-buildroot using python3 -OO compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyc' './usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyc' './usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.26757 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + python setup.py test Preparing version 0.2.4 running test running egg_info writing universal_analytics_python.egg-info/PKG-INFO writing top-level names to universal_analytics_python.egg-info/top_level.txt writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + python3 setup.py test running test running egg_info writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing top-level names to universal_analytics_python.egg-info/top_level.txt writing universal_analytics_python.egg-info/PKG-INFO reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' running build_ext Preparing version 0.2.4 ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + sed -i 's|python|python3|' Makefile + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + exit 0 Processing files: python-module-universal-analytics-python-0.2.4-alt1.git20141205.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.31917 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + DOCDIR=/usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + /bin/mkdir -p /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + cp -prL DESCRIPTION.rst README.md /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + chmod -R go-w /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + chmod -R a+rX /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JN6QIK 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.gSF88W 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-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py: skipping sys python.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py: hiding Tracker, which SEEMS TO BE SELF-SATISFIED shebang.req.files: executable script /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py is not executable Provides: python2.7(UniversalAnalytics), python2.7(UniversalAnalytics.HTTPLog), python2.7(UniversalAnalytics.Tracker) Requires: /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.4121 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + DOCDIR=/usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + /bin/mkdir -p /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + cp -prL DESCRIPTION.rst README.md /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + chmod -R go-w /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + chmod -R a+rX /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lGbgpd 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.46wELw find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py: skipping sys python3.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py: line=1 possible relative import from ., UNIMPLEMENTED shebang.req.files: executable script /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py is not executable Provides: python3(UniversalAnalytics), python3.3(UniversalAnalytics), python3(UniversalAnalytics.HTTPLog), python3(UniversalAnalytics.Tracker), python3.3(UniversalAnalytics.HTTPLog), python3.3(UniversalAnalytics.Tracker) Requires: /usr/lib/python3/site-packages, python3(datetime) < 0, python3(hashlib) < 0, python3(io) < 0, python3(os) < 0, python3(random) < 0, python3(re) < 0, python3(socket) < 0, python3(urllib) < 0, python3(uuid) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.noarch.rpm 7.38user 1.26system 0:11.44elapsed 75%CPU (0avgtext+0avgdata 34040maxresident)k 0inputs+0outputs (0major+236207minor)pagefaults 0swaps 15.38user 4.57system 0:22.86elapsed 87%CPU (0avgtext+0avgdata 122116maxresident)k 0inputs+0outputs (0major+478528minor)pagefaults 0swaps --- python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.noarch.rpm.repo 2016-03-16 22:27:27.000000000 +0000 +++ python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.noarch.rpm.hasher 2019-04-14 01:12:54.537963341 +0000 @@ -5,8 +5,17 @@ /usr/lib/python3/site-packages/UniversalAnalytics/__pycache__ 40755 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.3.egg-info 40755 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.3.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.3.egg-info/top_level.txt 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.3.egg-info/zip-safe 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info 40755 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/zip-safe 100644 /usr/share/doc/python3-module-universal-analytics-python-0.2.4 40755 @@ -15,9 +24,11 @@ Requires: /usr/lib/python3/site-packages -Requires: python3.3(datetime) -Requires: python3.3(hashlib) -Requires: python3.3(random) -Requires: python3.3(socket) -Requires: python3.3(time) -Requires: python3.3(urllib) -Requires: python3.3(uuid) +Requires: python3(datetime) < 0 +Requires: python3(hashlib) < 0 +Requires: python3(io) < 0 +Requires: python3(os) < 0 +Requires: python3(random) < 0 +Requires: python3(re) < 0 +Requires: python3(socket) < 0 +Requires: python3(urllib) < 0 +Requires: python3(uuid) < 0 Requires: rpmlib(PayloadIsLzma) @@ -25,3 +36,5 @@ Provides: python3.3(UniversalAnalytics) +Provides: python3(UniversalAnalytics.HTTPLog) Provides: python3(UniversalAnalytics.Tracker) +Provides: python3.3(UniversalAnalytics.HTTPLog) Provides: python3.3(UniversalAnalytics.Tracker)