<86>Jul 25 11:11:39 userdel[3477676]: delete user 'rooter' <86>Jul 25 11:11:39 userdel[3477676]: removed group 'rooter' owned by 'rooter' <86>Jul 25 11:11:39 userdel[3477676]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 25 11:11:39 groupadd[3477691]: group added to /etc/group: name=rooter, GID=654 <86>Jul 25 11:11:39 groupadd[3477691]: group added to /etc/gshadow: name=rooter <86>Jul 25 11:11:39 groupadd[3477691]: new group: name=rooter, GID=654 <86>Jul 25 11:11:39 useradd[3477704]: new user: name=rooter, UID=654, GID=654, home=/root, shell=/bin/bash <86>Jul 25 11:11:39 userdel[3477718]: delete user 'builder' <86>Jul 25 11:11:39 userdel[3477718]: removed group 'builder' owned by 'builder' <86>Jul 25 11:11:39 userdel[3477718]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 11:11:39 groupadd[3477726]: group added to /etc/group: name=builder, GID=655 <86>Jul 25 11:11:39 groupadd[3477726]: group added to /etc/gshadow: name=builder <86>Jul 25 11:11:39 groupadd[3477726]: new group: name=builder, GID=655 <86>Jul 25 11:11:39 useradd[3477734]: new user: name=builder, UID=655, GID=655, home=/usr/src, shell=/bin/bash <13>Jul 25 11:11:41 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jul 25 11:11:41 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Jul 25 11:11:41 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 11:11:41 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jul 25 11:11:41 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 11:11:41 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 11:11:41 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Jul 25 11:11:41 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jul 25 11:11:41 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 11:11:41 rpmi: libcrypto1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 11:11:41 rpmi: libssl1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 11:11:41 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jul 25 11:11:41 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jul 25 11:11:42 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jul 25 11:11:42 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jul 25 11:11:42 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jul 25 11:11:45 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 11:11:45 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 11:11:45 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 25 11:11:45 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 25 11:11:45 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jul 25 11:11:45 groupadd[3493462]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 25 11:11:45 groupadd[3493462]: group added to /etc/gshadow: name=_keytab <86>Jul 25 11:11:45 groupadd[3493462]: new group: name=_keytab, GID=499 <13>Jul 25 11:11:45 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Jul 25 11:11:45 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jul 25 11:11:45 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jul 25 11:11:45 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jul 25 11:11:45 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:11:45 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-finance-0.2502-alt1.2.nosrc.rpm (w1.gzdio) <13>Jul 25 11:11:48 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jul 25 11:11:48 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jul 25 11:11:48 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jul 25 11:11:48 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Installing python-module-finance-0.2502-alt1.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72135 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-finance-0.2502 + echo 'Source #0 (python-module-finance-0.2502.tar):' Source #0 (python-module-finance-0.2502.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-finance-0.2502.tar + cd python-module-finance-0.2502 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-finance-0.2502 + find ./ -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./mathematical_meta_code/algebraic_structures.py RefactoringTool: Refactored ./mathematical_meta_code/__init__.py RefactoringTool: Refactored ./finance/yieldcurves.py RefactoringTool: Refactored ./finance/timeflow.py --- ./mathematical_meta_code/algebraic_structures.py (original) +++ ./mathematical_meta_code/algebraic_structures.py (refactored) @@ -20,7 +20,7 @@ from abc import ABCMeta, abstractmethod -class CummutativeAddition: +class CummutativeAddition(metaclass=ABCMeta): '''CummutativeAddition is a meta class for handling cummutative addition. **Usage** @@ -98,8 +98,6 @@ Can't instantiate abstract class not_all_methods_defined with abstract methods __abs__, __neg__ ''' - __metaclass__ = ABCMeta - @abstractmethod def __neg__(self): raise NotImplementedError @@ -132,7 +130,7 @@ return self.__add__(-other_value) -class CummutativeMultiplication: +class CummutativeMultiplication(metaclass=ABCMeta): '''Multiplication is a meta class for handling cummutative multiplication. **Usage** @@ -173,8 +171,6 @@ '4 / 5' ''' - __metaclass__ = ABCMeta - @abstractmethod def __mul__(self, other_value): raise NotImplementedError @@ -191,7 +187,7 @@ return self.__mul__(other_value) -class Power: +class Power(metaclass=ABCMeta): '''Power is a meta class for handling the power of an object. **Usage** @@ -226,8 +222,6 @@ 5 ** 3 ''' - __metaclass__ = ABCMeta - @abstractmethod def __pow__(self, other_value): raise NotImplementedError --- ./mathematical_meta_code/__init__.py (original) +++ ./mathematical_meta_code/__init__.py (refactored) @@ -17,7 +17,7 @@ __version__ = '0.1' -from algebraic_structures import CummutativeAddition, \ +from .algebraic_structures import CummutativeAddition, \ CummutativeMultiplication, Power __all__ = [ --- ./finance/yieldcurves.py (original) +++ ./finance/yieldcurves.py (refactored) @@ -79,7 +79,7 @@ ''' return self.discount_factor(t_value) - def __nonzero__(self): + def __bool__(self): '''Validates whether the list of yieldcurve functions is empty ''' if self._list_yc_functions: --- ./finance/timeflow.py (original) +++ ./finance/timeflow.py (refactored) @@ -9,8 +9,8 @@ from abc import ABCMeta, abstractmethod from calendar import isleap -from bankdate import BankDate -from dateflow import DateFlow +from .bankdate import BankDate +from .dateflow import DateFlow from decimalpy import Vector, vector_function, to_decimal, Solver @@ -167,13 +167,13 @@ '360/360': self._360_360_fraction, 'act/actISDA': self._act_act_isda_fraction } - if daycount_method in daycount_method_dict.keys(): + if daycount_method in list(daycount_method_dict.keys()): self._daycount_methodname = daycount_method self._daycount_method = daycount_method_dict[daycount_method] else: raise DateToTimeError( 'The daycount method must be one of %s, not %s of type %s' - % (daycount_method_dict.keys(), + % (list(daycount_method_dict.keys()), daycount_method, type(daycount_method)) ) @@ -191,9 +191,7 @@ valuation_date = property(get_valuation_date, set_valuation_date) -class ClassicRiskMeasures: - - __metaclass__ = ABCMeta +class ClassicRiskMeasures(metaclass=ABCMeta): basispoint = to_decimal('0.0001') @@ -562,15 +560,15 @@ self._set_discount(discount) self._set_dateflow(dateflow) - def __nonzero__(self): + def __bool__(self): return 1 if self._date_to_time else 0 def __str__(self): max_value = max(len(str(value)) for value in self.discounted_values()) - data = zip(self.future_dateflow().keys(), + data = list(zip(list(self.future_dateflow().keys()), self.future_times(), self.discounted_values() - ) + )) header = '\n%-10s %-8s %-s\n' % ('Date', 'Time', 'Value') layout = '%-10s, %3.4f, %' + str(max_value + 3) + '.2f' cashfloRefactoringTool: Refactored ./finance/dateflow.py RefactoringTool: Refactored ./finance/bankdate.py w = header + '\n'.join([layout % row for row in data]) @@ -634,14 +632,14 @@ return future_dateflow def future_times(self): - return Vector(self.date_to_time(self.future_dateflow().keys())) + return Vector(self.date_to_time(list(self.future_dateflow().keys()))) def discounted_values(self): if self.discount: return self.discount(self.future_times()) \ - * self.future_dateflow().values() - else: - return self.future_dateflow().values() + * list(self.future_dateflow().values()) + else: + return list(self.future_dateflow().values()) @vector_function(1, True) def npv_value(self, spread): --- ./finance/dateflow.py (original) +++ ./finance/dateflow.py (refactored) @@ -9,7 +9,7 @@ ''' # -*- coding: utf-8 -*- -from bankdate import BankDate, daterange_iter, period_count +from .bankdate import BankDate, daterange_iter, period_count from decimalpy.math_types import SortedKeysDecimalValuedDict @@ -170,7 +170,7 @@ ''' selfcopy = self.__class__(self) accumulated = 0 - for day in selfcopy.keys(): + for day in list(selfcopy.keys()): selfcopy[day] += accumulated accumulated = selfcopy[day] return selfcopy @@ -185,12 +185,12 @@ :Return: The nearest date in DateFlow (before if before is True otherwise the nearest after) keyvalue. ''' - if self.keys() and keyvalue: + if list(self.keys()) and keyvalue: keyvalue = BankDate(keyvalue) - if keyvalue in self.keys(): + if keyvalue in list(self.keys()): return keyvalue else: - lst = self.keys() + lst = list(self.keys()) lst.append(keyvalue) lst.sort() index = lst.index(keyvalue) @@ -474,14 +474,14 @@ # Main dateflow_generator if not 0 < rate < 1: - raise DateFlowError, 'Rate (%s) must be a float between 0 and 1' \ - % rate + raise DateFlowError('Rate (%s) must be a float between 0 and 1' \ + % rate) cashflowdict = { 'annuity': annuity_generator, 'bullit': bullit_generator, 'series': series_generator } - if cashflowtype.lower() in cashflowdict.keys(): + if cashflowtype.lower() in list(cashflowdict.keys()): if isinstance(enddate_or_integer, int): nbr_of_payments = enddate_or_integer else: @@ -489,16 +489,14 @@ generator = cashflowdict[cashflowtype.lower()] \ (rate, nbr_of_payments, start_date, step) else: - raise DateFlowError, \ - 'Cashflowtype (%s) must be one of %s' \ - % (cashflowtype.lower(), cashflowdict.keys()) + raise DateFlowError('Cashflowtype (%s) must be one of %s' \ + % (cashflowtype.lower(), list(cashflowdict.keys()))) profilelst = ('nominal', 'payment', 'rate') if profile.lower() in profilelst: return sum(DateFlow({row['payday']: row[profile.lower()]}) for row in generator) else: - raise DateFlowError, \ - 'Profile (%s) must be one of %s' % (profile.lower(), profilelst) + raise DateFlowError('Profile (%s) must be one of %s' % (profile.lower(), profilelst)) if __name__ == '__main__': --- ./finance/bankdate.py (original) +++ ./finance/bankdate.py (refactored) @@ -79,7 +79,7 @@ self._count, self._unit = validate_period_ok.groups() self._count = int(self._count) - def __nonzero__(self): + def __bool__(self): return 0 if self._count == None else 1 def __str__(self): @@ -493,12 +493,12 @@ 'ModifiedFollowing': modified_following_daterolling, 'ModifiedPrevious': modified_previous_daterolling, } - if daterolling in daterolling_dict.keys(): + if daterolling in list(daterolling_dict.keys()): retuRefactoringTool: Refactored ./finance/__init__.py RefactoringTool: Refactored ./decimalpy/math_vector_functions.py RefactoringTool: Refactored ./decimalpy/math_types.py rn daterolling_dict[daterolling](holidaylist) else: raise BankDateError( 'The daterolling must be one of %s, not %s of type %s' \ - % (daterolling_dict.keys(), daterolling, type(daterolling))) + % (list(daterolling_dict.keys()), daterolling, type(daterolling))) def weekday(self, as_string=False): ''' --- ./finance/__init__.py (original) +++ ./finance/__init__.py (refactored) @@ -18,11 +18,11 @@ ''' __version__ = '0.2501 beta' -from bankdate import BankDate, TimePeriod, daterange, \ +from .bankdate import BankDate, TimePeriod, daterange, \ period_count, daterange_iter -from dateflow import DateFlow, dateflow_generator -from timeflow import DateToTime, TimeFlow -import yieldcurves +from .dateflow import DateFlow, dateflow_generator +from .timeflow import DateToTime, TimeFlow +from . import yieldcurves __all__ = ['BankDate', 'TimePeriod', 'DateToTime', 'daterange_iter', 'period_count', 'daterange', 'DateFlow', 'dateflow_generator', --- ./decimalpy/math_vector_functions.py (original) +++ ./decimalpy/math_vector_functions.py (refactored) @@ -13,7 +13,7 @@ ''' from decimal import Decimal -from math_types import vector_function as _vector_function, Vector +from .math_types import vector_function as _vector_function, Vector class LUdecomp3: @@ -177,7 +177,7 @@ def __str__(self): # __str__ is not defined at base function - points = zip(self.x_data, self.y_data) + points = list(zip(self.x_data, self.y_data)) return 'Natural cubic spline based on points:\n.. %s' % \ '\n.. '.join(['(%.4f, %.4f)' % p for p in points]) @@ -274,7 +274,7 @@ def __str__(self): # __str__ is not defined at base function - points = zip(self.x_data, self.y_data) + points = list(zip(self.x_data, self.y_data)) return 'Financial cubic spline based on points:\n.. %s' % \ '\n.. '.join(['(%.4f, %.4f)' % point for point in points]) @@ -325,7 +325,7 @@ def __str__(self): # __str__ is not defined at base function - points = zip(self.x_data, self.y_data) + points = list(zip(self.x_data, self.y_data)) return 'Piecewise constant curve based on points:\n.. %s' % \ '\n.. '.join(['(%.4f, %.4f)' % p for p in points]) __repr__ = __str__ @@ -386,7 +386,7 @@ def __str__(self): # __str__ is not defined at base function - points = zip(self.x_data, self.y_data) + points = list(zip(self.x_data, self.y_data)) return 'Linear interpolation curve based on points:\n.. %s' % \ '\n.. '.join(['(%.4f, %.4f)' % p for p in points]) __repr__ = __str__ --- ./decimalpy/math_types.py (original) +++ ./decimalpy/math_types.py (refactored) @@ -16,7 +16,7 @@ from decimal import Decimal from mathematical_meta_code import CummutativeAddition, \ CummutativeMultiplication, Power -from math_meta_functions import Solver +from .math_meta_functions import Solver def vector_function(variable_index, argument_is_decimal=False): @@ -154,7 +154,7 @@ + after) ) ) - except Exception, error_text: + except Exception as error_text: raise Exception('%s\n* variable_index=%s\n' \ '* args=%s\n' \ '* kwargs=%s\n' \ @@ -398,12 +398,12 @@ self.reverse = reverse pairs = [] if isinstance(init_arg, self.__class__): - pairs = init_arg.iteritems() + pairs = iter(init_arg.items()) elif isinstance(init_arg, dict): - pairs = init_arg.iteritems() + pairs = iter(init_arg.items()) elif isinstance(init_arg, Vector): l = len(init_arg) + 1 - pairs = zip(range(l), init_arg) + pairs = list(zip(list(range(l)), init_arg)) outdict = {} for key, value in pairs: key = self.__validate_key__(key) @@ -427,28 +427,28 @@ return sorted(dict.keys(self), reverse=self.reverse) def values(self): - return Vector([self[key] for key in self.keys()]) + return Vector([self[key] for key in list(self.keys())]) def items(self): - return [(key, self[key]) for key in self.keys()] + return [(key, self[key]) for key in list(self.keys())] def iterkeys(self): - for key in self.keys(): + for key in list(self.keys()): yield key def itervalues(self): - for key in self.keys(): + for key in list(self.keys()): yield self[key] def iteritems(self): - for key in self.keys(): + for key in list(self.keys()): yield (key, self[key]) def last_key(self): - return self.keys()[-1] + return list(self.keys())[-1] def first_key(self): - return self.keys()[0] + return list(self.keys())[0] def __getitem__(self, key): if isinstance(key, slice): @@ -462,13 +462,13 @@ else: last_key = self.__validate_key__(key.stop) if first_key and last_key and first_key <= last_key: - dct = dict([(key, value) for key, value in self.items() + dct = dict([(key, value) for key, value in list(self.items()) if first_key <= key <= last_key ]) return self.__class__(dct, reverse=self.reverse) else: return self.__class__({}, reverse=self.reverse) - elif self.__validate_key__(key) in self.keys(): + elif self.__validate_key__(key) in list(self.keys()): return dict.__getitem__(self, self.__validate_key__(key)) def __setitem__(self, key, value): @@ -479,7 +479,7 @@ def __str__(self): content = '\n* '.join(sorted(['key: %s, value: %s' % (key, value) - for key, value in self.items()])) + for key, value in list(self.items())])) return 'Data for the %s:\n* %s' % (self.__class__.__name__, content) __repr__ = __str__ @@ -487,68 +487,68 @@ def __add__(self, value): out = self.__class__(self) if isinstance(value, self.__class__): - for key in value.keys(): - if key in out.keys(): + for key in list(value.keys()): + if key in list(out.keys()): out[key] += value[key] else: out[key] = value[key] elif isinstance(value, Vector) and len(self) == len(value): out = self.__class__(self) - for key, val in zip(out.keys(), out.values() + value): + for key, val in zip(list(out.keys()), list(out.values()) + value): out[key] = val else: value = self.__validate_value__(value) if value: - for key in out.keys(): + for key in list(out.keys()): out[key] += value return out def __mul__(self, value): out = self.__class__(self) - if isinstance(value, self.__class__) and self.keys() == value.keys(): + if isinstance(value, self.__class__) and list(self.keys()) == list(value.keys()): # multiplication with a SortedKeysDecimalValuedDict is not # possible unless same set of keys - for key in out.keys(): + for key in list(out.keys()): out[key] *= value[key] elif isinstance(value, Vector) and len(self) == len(value): out = self.__class__(self) - for key, val in zip(out.keys(), out.values() * value): + for key, val in zip(list(out.keys()), list(out.values()) * value): out[key] = val else: value = self.__validate_value__(value) if value: - for key in out.keys(): + for key in list(out.keys()): out[key] *= value return out def __neg__(self): out = self.__class__(self) - for key, value in out.items(): + for key, value in list(out.items()): out[key] = - value return out def __abs__(self): out = self.__class__(self) - for key, value in out.items(): + for key, value in list(out.items()): out[key] = abs(value) return out def __rsub__(self, value): out = self.__class__({}) if isinstance(value, self.__class__): - for key in self.keys(): - if key in value.keys(): + for key in list(self.keys()): + if key in list(value.keys()): out[key] = value[key] - self[key] else: out[key] = -self[key] elif isinstance(value, Vector) and len(self) == len(value): out = self.__class__(self) - for key, val in zip(out.keys(), value - self.values()): + for key, val in zip(list(out.keys()), value - list(self.values())): out[key] = val else: value = self.__validate_value__(value) if value: - for key in self.keys(): + for key in list(self.keys()): out[key] = value - self[key] return out @@ -565,34 +565,34 @@ def __div__(self, value): out = self.__class__(self) if (isinstance(value, self.__class__) - and self.keys() == value.keys()): - for key in self.keys(): + and list(self.keys()) == list(value.keys())): + for key in list(self.keys()): out[key] = self._decimal_division_(self[key], value[key]) elif isinstance(value, Vector) and len(self) == len(value): out = self.__class__(self) - for key, val in zip(out.keys(), out.values() / value): + for key, val in zip(list(out.keys()), list(out.values()) / value): out[key] = val else: value = self.__validate_value__(value) if value: - for key in self.keys(): + for key in list(self.keys()): out[key] = self._decimal_division_(self[key], value) return out def __rdiv(self, value): out = self.__class__(self) if (isinstance(value, self.__class__) - and self.keys() == value.keys()): - for key in self.keys(): + and list(self.keys()) == list(value.keys())): + for key in list(self.keys()): out[key] = decimal_division(self[key], value[key]) elif isinstance(value, Vector) and len(self) == len(value): out = self.__class__(self) - for key, val in zip(out.keys(), value / out.values()): + for key, val in zip(list(out.keys()), value / list(out.values())): out[key] = val else: value = self.__validate_value__(value) if value: - for key in self.keys(): + for key in list(self.keys()): out[key] = self._decimal_division_(self[key], value) return out @@ -613,26 +613,26 @@ def __pow__(self, value): out = self.__class__(self) if (isinstance(value, self.__class__) - and self.keys() == value.keys()): - for key in self.keys(): + and list(self.keys()) == list(value.keys())): + for key in list(self.keys()): out[key] = self._decimal_power_(self[key], value[key]) else: value = self.__validate_value__(value) if value: - for key in self.keys(): + for key in list(self.keys()): out[key] = self._decimal_power_(self[key], value) return out def __rpow__(self, value): out = self.__class__(self) if (isinstance(value, self.__class__) - and self.keys() == value.keys()): - for key in self.keys(): + and list(self.keys()) == list(value.keys())): + for key in list(self.keys()): out[key] = self._decimal_power_(value[key], self[key]) else: value = self.__validate_value__(value) if value != None: - for key in self.keys(): + for key in list(self.keys()): out[key] = self._decimal_power_(value, self[key]) return out @@ -740,7 +740,7 @@ exponents_and_factors, True ) - for exponent, factor in self.items(): + for exponent, factor in list(self.items()): if not (factor or not exponent): del self[exponent] if self == {}: @@ -754,7 +754,7 @@ def to_latex(self, reverse=True): get_sign = lambda nbr: '+' if nbr >= 0 else '-' latex = '' - for exponent, factor in sorted(self.items(), reverse=reverse): + for exponent, factor in sorted(list(self.items()), reverse=reverse): sign = get_sign(factor) if abs(factor) != Decimal('1'): latex += ' %s %s' % (sign, abs(factor)) @@ -778,10 +778,10 @@ @vector_function(1) def __call__(self, base_value): base_value = PolyExponents.__validate_value__(base_value) - exponent1, factor = self.items()[0] - if len(self.items()) == 1: + exponent1, factor = list(self.items())[0] + if len(list(self.items())) == 1: return self._decimal_power_(base_value, exponent1) * factor - for exponent2, addend in self.items()[1:]: + for exponent2, addend in list(self.items())[1:]: factor = self._decimal_power_(base_value, exponent1 - exponent2) \ * factor + addend exponent1 = exponent2 @@ -799,18 +799,18 @@ def __add__(self, value): out = SortedKeysDecimalValuedDict.__add__(self, value) - for exponent, factor in out.items(): + for exponent, factor in list(out.items()): if not (factor or not exponent): del out[exponent] - if not out.keys(): + if not list(out.keys()): out[0] = 0 return out def __mul__(self, value): if isinstance(value, self.__class__): out = self.__class__({}) - for self_exponent in self.keys(): - for value_exponent in value.keys(): + for self_exponent in list(self.keys()): + for value_exponent in list(value.keys()): new_exponent = self_exponent + value_exponent new_factor = self[self_exponent] * value[value_exponent] if new_exponent in out: @@ -819,10 +819,10 @@ out[new_exponent] = new_factor else: out = SortedKeysDecimalValuedDict.__mul__(self, value) - for exponent, factor in out.items(): + for exponent, factor in list(out.items()): if not (factor or not exponent): del out[exponent] - if not out.keys(): + if not list(out.keys()): out[0] = 0 return out @@ -830,7 +830,7 @@ out = self.__class__(self) value = self.__validate_value__(value) if value: - for key in self.keys(): + for key in list(self.keys()): out[key] = decimal_division(self[key], value) return out @@ -838,7 +838,7 @@ out = self.__class__(self) value = self.__validate_value__(value) if value: - for key in self.keys() and value: + for key in list(self.keys()) and value: out[key] = self[key] / value return out @@ -861,7 +861,7 @@ def derivative(RefactoringTool: No changes to ./decimalpy/math_meta_functions.py RefactoringTool: Refactored ./decimalpy/_math_constants_and_functions.py RefactoringTool: Refactored ./decimalpy/_decimal_to_number.py RefactoringTool: Refactored ./decimalpy/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./mathematical_meta_code/algebraic_structures.py RefactoringTool: ./mathematical_meta_code/__init__.py RefactoringTool: ./finance/yieldcurves.py RefactoringTool: ./finance/timeflow.py RefactoringTool: ./finance/dateflow.py RefactoringTool: ./finance/bankdate.py RefactoringTool: ./finance/__init__.py RefactoringTool: ./decimalpy/math_vector_functions.py RefactoringTool: ./decimalpy/math_types.py RefactoringTool: ./decimalpy/math_meta_functions.py RefactoringTool: ./decimalpy/_math_constants_and_functions.py RefactoringTool: ./decimalpy/_decimal_to_number.py RefactoringTool: ./decimalpy/__init__.py self): out = self.__class__({}) - for exponent, factor in self.__class__(self).items(): + for exponent, factor in list(self.__class__(self).items()): if exponent != Decimal('0'): out[exponent - 1] = exponent * factor return out @@ -872,7 +872,7 @@ del out[0] else: out[0] = constant - for exponent, factor in self.__class__(self).items(): + for exponent, factor in list(self.__class__(self).items()): out[exponent + 1] = factor / (exponent + 1) return out --- ./decimalpy/_math_constants_and_functions.py (original) +++ ./decimalpy/_math_constants_and_functions.py (refactored) @@ -31,7 +31,7 @@ # -*- coding: utf-8 -*- -from _decimal_to_number import Nbr, precision_decorator +from ._decimal_to_number import Nbr, precision_decorator from fractions import Fraction --- ./decimalpy/_decimal_to_number.py (original) +++ ./decimalpy/_decimal_to_number.py (refactored) @@ -252,7 +252,7 @@ """ if isinstance(other, Nbr): return other - if isinstance(other, (int, long, _Decimal)): + if isinstance(other, (int, _Decimal)): return Nbr(other) if allow_float and isinstance(other, float): return Nbr(str(other)) --- ./decimalpy/__init__.py (original) +++ ./decimalpy/__init__.py (refactored) @@ -58,11 +58,11 @@ __version__ = '0.1a beta' from decimal import Decimal as _dec, getcontext as _getcontext -from math_types import Vector, vector_function, \ +from .math_types import Vector, vector_function, \ Polynomial, PolyExponents, SortedKeysDecimalValuedDict -from math_vector_functions import exp, ln, PiecewiseConstant, \ +from .math_vector_functions import exp, ln, PiecewiseConstant, \ LinearSpline, NaturalCubicSpline, FinancialCubicSpline -from math_meta_functions import NumericalFirstOrder, NumericalSecondOrder, \ +from .math_meta_functions import NumericalFirstOrder, NumericalSecondOrder, \ Solver + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.35704 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-finance-0.2502 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python2.7 setup.py build --debug /usr/lib/python2.7/distutils/dist.py:251: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/finance copying finance/yieldcurves.py -> build/lib/finance copying finance/timeflow.py -> build/lib/finance copying finance/dateflow.py -> build/lib/finance copying finance/bankdate.py -> build/lib/finance copying finance/__init__.py -> build/lib/finance creating build/lib/decimalpy copying decimalpy/math_vector_functions.py -> build/lib/decimalpy copying decimalpy/math_types.py -> build/lib/decimalpy copying decimalpy/math_meta_functions.py -> build/lib/decimalpy copying decimalpy/_math_constants_and_functions.py -> build/lib/decimalpy copying decimalpy/_decimal_to_number.py -> build/lib/decimalpy copying decimalpy/__init__.py -> build/lib/decimalpy creating build/lib/mathematical_meta_code copying mathematical_meta_code/algebraic_structures.py -> build/lib/mathematical_meta_code copying mathematical_meta_code/__init__.py -> build/lib/mathematical_meta_code + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-finance-0.2502 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/finance copying finance/yieldcurves.py -> build/lib/finance copying finance/timeflow.py -> build/lib/finance copying finance/dateflow.py -> build/lib/finance copying finance/bankdate.py -> build/lib/finance copying finance/__init__.py -> build/lib/finance creating build/lib/decimalpy copying decimalpy/math_vector_functions.py -> build/lib/decimalpy copying decimalpy/math_types.py -> build/lib/decimalpy copying decimalpy/math_meta_functions.py -> build/lib/decimalpy copying decimalpy/_math_constants_and_functions.py -> build/lib/decimalpy copying decimalpy/_decimal_to_number.py -> build/lib/decimalpy copying decimalpy/__init__.py -> build/lib/decimalpy creating build/lib/mathematical_meta_code copying mathematical_meta_code/algebraic_structures.py -> build/lib/mathematical_meta_code copying mathematical_meta_code/__init__.py -> build/lib/mathematical_meta_code /usr/lib/python3.7/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) + popd ~/RPM/BUILD/python-module-finance-0.2502 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.36009 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-finance-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-finance-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python-module-finance-0.2502 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-finance-buildroot --force /usr/lib/python2.7/distutils/dist.py:251: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) running install running install_lib creating /usr/src/tmp/python-module-finance-buildroot creating /usr/src/tmp/python-module-finance-buildroot/usr creating /usr/src/tmp/python-module-finance-buildroot/usr/lib creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code copying build/lib/mathematical_meta_code/__init__.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code copying build/lib/mathematical_meta_code/algebraic_structures.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy copying build/lib/decimalpy/__init__.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy copying build/lib/decimalpy/_decimal_to_number.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy copying build/lib/decimalpy/_math_constants_and_functions.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy copying build/lib/decimalpy/math_meta_functions.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy copying build/lib/decimalpy/math_types.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy copying build/lib/decimalpy/math_vector_functions.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance copying build/lib/finance/__init__.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance copying build/lib/finance/bankdate.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance copying build/lib/finance/dateflow.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance copying build/lib/finance/timeflow.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance copying build/lib/finance/yieldcurves.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/algebraic_structures.py to algebraic_structures.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_decimal_to_number.py to _decimal_to_number.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.py to _math_constants_and_functions.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_meta_functions.py to math_meta_functions.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_types.py to math_types.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_vector_functions.py to math_vector_functions.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/bankdate.py to bankdate.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/dateflow.py to dateflow.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.py to timeflow.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/yieldcurves.py to yieldcurves.pyc running install_egg_info Writing /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance-0.2502-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-finance-0.2502 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-finance-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code copying build/lib/mathematical_meta_code/__init__.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code copying build/lib/mathematical_meta_code/algebraic_structures.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy copying build/lib/decimalpy/__init__.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy copying build/lib/decimalpy/_decimal_to_number.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy copying build/lib/decimalpy/_math_constants_and_functions.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy copying build/lib/decimalpy/math_meta_functions.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy copying build/lib/decimalpy/math_types.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy copying build/lib/decimalpy/math_vector_functions.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy creating /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance copying build/lib/finance/__init__.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance copying build/lib/finance/bankdate.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance copying build/lib/finance/dateflow.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance copying build/lib/finance/timeflow.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance copying build/lib/finance/yieldcurves.py -> /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/algebraic_structures.py to algebraic_structures.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_decimal_to_number.py to _decimal_to_number.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_math_constants_and_functions.py to _math_constants_and_functions.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_meta_functions.py to math_meta_functions.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_types.py to math_types.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_vector_functions.py to math_vector_functions.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/bankdate.py to bankdate.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/dateflow.py to dateflow.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/timeflow.py to timeflow.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/yieldcurves.py to yieldcurves.cpython-37.pyc running install_egg_info Writing /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance-0.2502-py3.7.egg-info /usr/lib/python3.7/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) + popd ~/RPM/BUILD/python-module-finance-0.2502 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-finance-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-finance-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python-module-finance-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-finance-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-finance-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-finance-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-finance-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_decimal_to_number.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_meta_functions.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_types.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_vector_functions.pyc compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_decimal_to_number.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_meta_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_types.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_vector_functions.py unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/bankdate.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/dateflow.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/yieldcurves.pyc compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/bankdate.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/dateflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/yieldcurves.py unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/__init__.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/algebraic_structures.pyc compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/algebraic_structures.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-finance-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_decimal_to_number.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_meta_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_types.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_vector_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/bankdate.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/dateflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/yieldcurves.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/algebraic_structures.py Bytecompiling python3 modules in /usr/src/tmp/python-module-finance-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__pycache__/_decimal_to_number.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__pycache__/_math_constants_and_functions.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__pycache__/math_meta_functions.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__pycache__/math_types.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__pycache__/math_vector_functions.cpython-37.pyc compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_decimal_to_number.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_math_constants_and_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_meta_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_types.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_vector_functions.py unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__pycache__/bankdate.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__pycache__/dateflow.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__pycache__/timeflow.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__pycache__/yieldcurves.cpython-37.pyc compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/bankdate.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/dateflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/timeflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/yieldcurves.py unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/__pycache__/algebraic_structures.cpython-37.pyc compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/algebraic_structures.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-finance-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_decimal_to_number.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_math_constants_and_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_meta_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_types.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_vector_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/bankdate.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/dateflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/timeflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/yieldcurves.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/algebraic_structures.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-finance-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_decimal_to_number.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_math_constants_and_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_meta_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_types.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_vector_functions.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/bankdate.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/dateflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/timeflow.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/yieldcurves.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/__init__.py compile /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/algebraic_structures.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/finance/__pycache__/timeflow.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/finance/__pycache__/timeflow.cpython-37.pyc' './usr/lib/python3/site-packages/finance/__pycache__/dateflow.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/finance/__pycache__/dateflow.cpython-37.pyc' './usr/lib/python3/site-packages/finance/__pycache__/bankdate.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/finance/__pycache__/bankdate.cpython-37.pyc' './usr/lib/python3/site-packages/finance/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/finance/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/decimalpy/__pycache__/math_meta_functions.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/decimalpy/__pycache__/math_meta_functions.cpython-37.pyc' './usr/lib/python3/site-packages/decimalpy/__pycache__/_math_constants_and_functions.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/decimalpy/__pycache__/_math_constants_and_functions.cpython-37.pyc' './usr/lib/python3/site-packages/mathematical_meta_code/__pycache__/algebraic_structures.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mathematical_meta_code/__pycache__/algebraic_structures.cpython-37.pyc' './usr/lib/python3/site-packages/mathematical_meta_code/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mathematical_meta_code/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/finance/timeflow.pyo' => './usr/lib/python2.7/site-packages/finance/timeflow.pyc' './usr/lib/python2.7/site-packages/finance/dateflow.pyo' => './usr/lib/python2.7/site-packages/finance/dateflow.pyc' './usr/lib/python2.7/site-packages/finance/bankdate.pyo' => './usr/lib/python2.7/site-packages/finance/bankdate.pyc' './usr/lib/python2.7/site-packages/finance/__init__.pyo' => './usr/lib/python2.7/site-packages/finance/__init__.pyc' './usr/lib/python2.7/site-packages/decimalpy/math_meta_functions.pyo' => './usr/lib/python2.7/site-packages/decimalpy/math_meta_functions.pyc' './usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.pyo' => './usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.pyc' './usr/lib/python2.7/site-packages/mathematical_meta_code/algebraic_structures.pyo' => './usr/lib/python2.7/site-packages/mathematical_meta_code/algebraic_structures.pyc' './usr/lib/python2.7/site-packages/mathematical_meta_code/__init__.pyo' => './usr/lib/python2.7/site-packages/mathematical_meta_code/__init__.pyc' Processing files: python-module-finance-0.2502-alt1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.36804 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-finance-0.2502 + DOCDIR=/usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python-module-finance-0.2502 + export DOCDIR + rm -rf /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python-module-finance-0.2502 + /bin/mkdir -p /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python-module-finance-0.2502 + cp -prL Licence.html README.html Licence.rst README.rst long_description.rst /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python-module-finance-0.2502 + chmod -R go-w /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python-module-finance-0.2502 + chmod -R a+rX /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python-module-finance-0.2502 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3A0cmQ 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.HDPBbU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.py: hiding math_types, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.py: hiding math_vector_functions, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.py: hiding math_meta_functions, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/__init__.py: line=172 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_decimal_to_number.py: line=235 IGNORE (for REQ=slight and deep=11) module=locale /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_decimal_to_number.py: line=288 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.py: hiding _decimal_to_number, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/_math_constants_and_functions.py: line=170 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_meta_functions.py: line=193 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_types.py: hiding mathematical_meta_code, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_types.py: hiding math_meta_functions, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_types.py: line=999 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_vector_functions.py: hiding math_types, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/decimalpy/math_vector_functions.py: line=444 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.py: hiding bankdate, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.py: hiding dateflow, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.py: hiding timeflow, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/__init__.py: hiding yieldcurves, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/bankdate.py: hiding mathematical_meta_code, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/bankdate.py: line=836 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/dateflow.py: hiding bankdate, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/dateflow.py: hiding decimalpy, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/dateflow.py: line=505 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.py: hiding bankdate, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.py: hiding dateflow, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.py: hiding decimalpy, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/timeflow.py: line=738 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/yieldcurves.py: hiding decimalpy, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/finance/yieldcurves.py: line=546 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/__init__.py: hiding algebraic_structures, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python2.7/site-packages/mathematical_meta_code/algebraic_structures.py: line=244 IGNORE (for REQ=slight and deep=8) module=doctest Provides: python2.7-module-finance = 0.2502-alt1.2, python2.7(decimalpy), python2.7(decimalpy._decimal_to_number), python2.7(decimalpy._math_constants_and_functions), python2.7(decimalpy.math_meta_functions), python2.7(decimalpy.math_types), python2.7(decimalpy.math_vector_functions), python2.7(finance), python2.7(finance.bankdate), python2.7(finance.dateflow), python2.7(finance.timeflow), python2.7(finance.yieldcurves), python2.7(mathematical_meta_code), python2.7(mathematical_meta_code.algebraic_structures) Requires: python = 2.7, /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-finance-0.2502-alt1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.97260 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-finance-0.2502 + DOCDIR=/usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python3-module-finance-0.2502 + export DOCDIR + rm -rf /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python3-module-finance-0.2502 + /bin/mkdir -p /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python3-module-finance-0.2502 + cp -prL Licence.html README.html Licence.rst README.rst long_description.rst /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python3-module-finance-0.2502 + chmod -R go-w /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python3-module-finance-0.2502 + chmod -R a+rX /usr/src/tmp/python-module-finance-buildroot/usr/share/doc/python3-module-finance-0.2502 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TwYuEE 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.4ARmYL find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py: line=61 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py: line=63 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py: line=65 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/__init__.py: line=172 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_decimal_to_number.py: line=235 IGNORE (for REQ=slight and deep=11) module=locale /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_decimal_to_number.py: line=288 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_math_constants_and_functions.py: line=34 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/_math_constants_and_functions.py: line=170 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_meta_functions.py: line=193 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_types.py: line=19 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_types.py: line=999 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_vector_functions.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/decimalpy/math_vector_functions.py: line=444 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py: line=21 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py: line=24 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/__init__.py: line=25 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/bankdate.py: line=836 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/dateflow.py: line=12 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/dateflow.py: line=503 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/timeflow.py: line=12 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/timeflow.py: line=13 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/timeflow.py: line=736 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/finance/yieldcurves.py: line=546 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/__init__.py: line=20 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-finance-buildroot/usr/lib/python3/site-packages/mathematical_meta_code/algebraic_structures.py: line=238 IGNORE (for REQ=slight and deep=8) module=doctest Provides: python3(decimalpy), python3(decimalpy._decimal_to_number), python3(decimalpy._math_constants_and_functions), python3(decimalpy.math_meta_functions), python3(decimalpy.math_types), python3(decimalpy.math_vector_functions), python3(finance), python3(finance.bankdate), python3(finance.dateflow), python3(finance.timeflow), python3(finance.yieldcurves), python3(mathematical_meta_code), python3(mathematical_meta_code.algebraic_structures) Requires: /usr/lib/python3/site-packages, python3(abc) < 0, python3(calendar) < 0, python3(datetime) < 0, python3(decimal) < 0, python3(fractions) < 0, python3(re) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-finance-0.2502-alt1.2.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/python3-module-finance-0.2502-alt1.2.noarch.rpm (w2.lzdio) 9.51user 0.79system 0:12.78elapsed 80%CPU (0avgtext+0avgdata 22424maxresident)k 0inputs+0outputs (0major+231609minor)pagefaults 0swaps 17.84user 4.11system 0:24.32elapsed 90%CPU (0avgtext+0avgdata 117604maxresident)k 0inputs+0outputs (0major+731547minor)pagefaults 0swaps