<86>Dec 25 06:24:37 userdel[74931]: delete user 'rooter' <86>Dec 25 06:24:37 userdel[74931]: removed group 'rooter' owned by 'rooter' <86>Dec 25 06:24:37 userdel[74931]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 06:24:37 groupadd[74970]: group added to /etc/group: name=rooter, GID=681 <86>Dec 25 06:24:37 groupadd[74970]: group added to /etc/gshadow: name=rooter <86>Dec 25 06:24:37 groupadd[74970]: new group: name=rooter, GID=681 <86>Dec 25 06:24:37 useradd[75001]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Dec 25 06:24:37 userdel[75045]: delete user 'builder' <86>Dec 25 06:24:37 userdel[75045]: removed group 'builder' owned by 'builder' <86>Dec 25 06:24:37 userdel[75045]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 06:24:37 groupadd[75066]: group added to /etc/group: name=builder, GID=682 <86>Dec 25 06:24:37 groupadd[75066]: group added to /etc/gshadow: name=builder <86>Dec 25 06:24:37 groupadd[75066]: new group: name=builder, GID=682 <86>Dec 25 06:24:37 useradd[75099]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash <13>Dec 25 06:24:40 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 25 06:24:40 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Dec 25 06:24:40 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Dec 25 06:24:40 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Dec 25 06:24:40 rpmi: ed-1:0.2-alt10 1449768440 installed <13>Dec 25 06:24:40 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 25 06:24:40 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 25 06:24:40 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Dec 25 06:24:40 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Dec 25 06:24:40 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Dec 25 06:24:40 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 25 06:24:40 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 25 06:24:40 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 25 06:24:40 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 25 06:24:40 rpmi: python3-3.6.5-alt1.1 1535734576 installed <13>Dec 25 06:24:41 rpmi: python3-base-3.6.5-alt1.1 1535734576 installed <13>Dec 25 06:24:41 rpmi: libpython3-3.6.5-alt1.1 1535734576 installed <13>Dec 25 06:24:45 rpmi: python3-module-six-1.11.0-alt2 1535611135 installed <13>Dec 25 06:24:45 rpmi: python3-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 25 06:24:45 rpmi: python3-module-idna-2.7-alt1 1530720902 installed <13>Dec 25 06:24:45 rpmi: libcom_err-1.44.3-alt1 1532134732 installed <13>Dec 25 06:24:45 rpmi: python3-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Dec 25 06:24:45 rpmi: python3-module-more-itertools-4.3.0-alt1 1533048475 installed <13>Dec 25 06:24:45 rpmi: python3-module-whoosh-2.7.4-alt1 1527698183 installed <13>Dec 25 06:24:45 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Dec 25 06:24:45 rpmi: python3-module-py-1.7.0-alt1 sisyphus.214414.220 1539670883 installed <13>Dec 25 06:24:45 rpmi: python3-module-pluggy-0.8.0-alt1 sisyphus.215346.100 1540073015 installed <13>Dec 25 06:24:45 rpmi: python3-module-attrs-18.2.0-alt1 sisyphus.214354.100 1539088435 installed <13>Dec 25 06:24:45 rpmi: python3-module-atomicwrites-1.2.1-alt1 sisyphus.214347.100 1539076636 installed <13>Dec 25 06:24:45 rpmi: python3-module-pytest-3.9.3-alt1 sisyphus.215666.100 1540687418 installed <13>Dec 25 06:24:45 rpmi: python3-module-markupsafe-0.23-alt1.2.1.1 1525118834 installed <13>Dec 25 06:24:45 rpmi: python3-module-jinja2-2.10-alt1 1521724576 installed <13>Dec 25 06:24:45 rpmi: python3-module-imagesize-0.7.1-alt1 1461387704 installed <13>Dec 25 06:24:45 rpmi: python3-module-pytz-1:2016.10-alt1 1484291011 installed <13>Dec 25 06:24:45 rpmi: python3-module-babel-1:2.4.0-alt1.1 1517644530 installed <13>Dec 25 06:24:45 rpmi: python3-module-chardet-3.0.4-alt1 1506613818 installed <13>Dec 25 06:24:45 rpmi: python3-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Dec 25 06:24:46 rpmi: python3-module-genshi-0.7-alt1.1.1.1 1460400448 installed <13>Dec 25 06:24:46 rpmi: python3-module-asn1crypto-0.24.0-alt1 1521037480 installed <13>Dec 25 06:24:46 rpmi: python3-module-pycparser-2.19-alt1 sisyphus.216095.100 1541345023 installed <13>Dec 25 06:24:46 rpmi: python3-module-cffi-1.10.0-alt1.1 1525117736 installed <13>Dec 25 06:24:46 rpmi: python3-module-cryptography-2.4.2-alt1 sisyphus.216799.200 1543487260 installed <13>Dec 25 06:24:46 rpmi: python3-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Dec 25 06:24:46 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 1531457735 installed <13>Dec 25 06:24:46 rpmi: python3-module-urllib3-2:1.24.1-alt2 sisyphus.218529.100 1545673498 installed <13>Dec 25 06:24:46 rpmi: python3-module-requests-2.21.0-alt1 sisyphus.218511.200 1545669878 installed <13>Dec 25 06:24:46 rpmi: python-sphinx-objects.inv-1:2.3.8.20181220-alt1 sisyphus.218261.100 1545348338 installed <13>Dec 25 06:24:46 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:46 rpmi: libxapian-1.4.5-alt3 sisyphus.215025.100 1539610704 installed <13>Dec 25 06:24:46 rpmi: python3-module-xapian-1.4.5-alt2.qa1 1531484078 installed <13>Dec 25 06:24:46 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700318 installed <13>Dec 25 06:24:46 rpmi: python3-modules-sqlite3-3.6.5-alt1.1 1535734576 installed <13>Dec 25 06:24:46 rpmi: python3-module-SQLAlchemy-1.0.12-alt1.1 1525119509 installed <13>Dec 25 06:24:46 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Dec 25 06:24:46 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <86>Dec 25 06:24:46 groupadd[107117]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 25 06:24:46 groupadd[107117]: group added to /etc/gshadow: name=_keytab <86>Dec 25 06:24:46 groupadd[107117]: new group: name=_keytab, GID=499 <13>Dec 25 06:24:46 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483297 installed <13>Dec 25 06:24:46 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Dec 25 06:24:46 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 25 06:24:46 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:46 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:46 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:46 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:46 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:46 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-strict-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 25 06:24:47 rpmi: python-module-egenix-mx-base-3.2.8-alt1 1405907333 installed <13>Dec 25 06:24:47 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:47 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 25 06:24:47 rpmi: python-module-six-1.11.0-alt2 1535611135 installed <13>Dec 25 06:24:47 rpmi: python-module-kerberos-1.3.0-alt1.S1.1 1525165306 installed <13>Dec 25 06:24:47 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Dec 25 06:24:47 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223289 installed <13>Dec 25 06:24:47 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Dec 25 06:24:47 rpmi: python3-module-cssselect-0.9.1-alt1.2 1526980827 installed <13>Dec 25 06:24:47 rpmi: python3-module-html5lib-1:0.999999999-alt4.qa1 sisyphus.214868.100 1539741045 installed <13>Dec 25 06:24:47 rpmi: python3-module-lxml-4.2.1-alt1.1 1525119302 installed <13>Dec 25 06:24:47 rpmi: python3-module-docutils-0.14-alt2 1535729778 installed <13>Dec 25 06:24:47 rpmi: python3-module-alabaster-0.7.6-alt3 1526385201 installed <13>Dec 25 06:24:47 rpmi: python3-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus.214922.100 1539851266 installed <13>Dec 25 06:24:48 rpmi: python3-module-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Dec 25 06:24:48 rpmi: python3-module-Pygments-2.2.0-alt2 1526455576 installed <13>Dec 25 06:24:48 rpmi: python3-module-logilab-common-1.4.1-alt3 1527495429 installed <13>Dec 25 06:24:48 rpmi: python-module-logilab-common-1.4.1-alt3 1527495429 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-logilab-database-1.15.0-alt2.nosrc.rpm <13>Dec 25 06:24:50 rpmi: python-tools-2to3-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:50 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Dec 25 06:24:50 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Dec 25 06:24:50 rpmi: python3-dev-3.6.5-alt1.1 1535734576 installed <13>Dec 25 06:24:50 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Dec 25 06:24:50 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 25 06:24:50 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 25 06:24:50 rpmi: python3-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed Installing python-module-logilab-database-1.15.0-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.18198 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-logilab-database-1.15.0 + echo 'Source #0 (database-1.15.0.tar):' Source #0 (database-1.15.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/database-1.15.0.tar + cd python-module-logilab-database-1.15.0 + /bin/chmod -c -Rf u+rwX,go-w . + touch test/__init__.py + rm -rf ../python3 + cp -a . ../python3 + touch ../python3/test/__init__.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67499 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-logilab-database-1.15.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/logilab copying logilab/__init__.py -> build/lib/logilab creating build/lib/logilab/database copying logilab/database/sqlserver2008.py -> build/lib/logilab/database copying logilab/database/sqlserver2005.py -> build/lib/logilab/database copying logilab/database/sqlserver2000.py -> build/lib/logilab/database copying logilab/database/sqlserver.py -> build/lib/logilab/database copying logilab/database/sqlite.py -> build/lib/logilab/database copying logilab/database/sqlgen.py -> build/lib/logilab/database copying logilab/database/postgres.py -> build/lib/logilab/database copying logilab/database/mysql.py -> build/lib/logilab/database copying logilab/database/ftiquery.py -> build/lib/logilab/database copying logilab/database/ftiparser.py -> build/lib/logilab/database copying logilab/database/fti.py -> build/lib/logilab/database copying logilab/database/__init__.py -> build/lib/logilab/database + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-logilab-database-1.15.0 + cp setup.py setup.py.bak + 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: Refactored ./test/unittest_sqlserver2005.py RefactoringTool: No changes to ./test/unittest_sqlite.py RefactoringTool: No changes to ./test/unittest_sqlgen.py RefactoringTool: Refactored ./test/unittest_postgres.py RefactoringTool: Refactored ./test/unittest_mysql.py RefactoringTool: Refactored ./test/unittest_fti.py WARNING: couldn't encode ./test/unittest_fti.py's diff for your terminal RefactoringTool: Refactored ./test/unittest_db.py --- ./test/unittest_sqlserver2005.py (original) +++ ./test/unittest_sqlserver2005.py (refactored) @@ -15,7 +15,7 @@ # # You should have received a copy of the GNU Lesser General Public License along # with logilab-database. If not, see . -from __future__ import print_function + import sys import unittest --- ./test/unittest_postgres.py (original) +++ ./test/unittest_postgres.py (refactored) @@ -19,7 +19,7 @@ from logilab.common.testlib import TestCase, MockConnection -from unittest_fti import IndexableObject +from .unittest_fti import IndexableObject from logilab.database import get_db_helper @@ -47,19 +47,19 @@ 'uid': 1})]) def test_fulltext_search_base(self): - self.helper.fulltext_search(u'ginco-jpl') + self.helper.fulltext_search('ginco-jpl') self.assertEqual(self.cnx.received, [("SELECT 1, uid FROM appears WHERE words @@ to_tsquery(%(config)s, %(words)s)", {'config': 'default', 'words': 'ginco&jpl'})]) def test_fulltext_search_prefix_1(self): - self.helper.fulltext_search(u'ginco*') + self.helper.fulltext_search('ginco*') self.assertEqual(self.cnx.received, [("SELECT 1, uid FROM appears WHERE words @@ to_tsquery(%(config)s, %(words)s)", {'config': 'default', 'words': 'ginco:*'})]) def test_fulltext_search_prefix_2(self): - self.helper.fulltext_search(u'ginc*o') + self.helper.fulltext_search('ginc*o') self.assertEqual(self.cnx.received, [("SELECT 1, uid FROM appears WHERE words @@ to_tsquery(%(config)s, %(words)s)", {'config': 'default', 'words': 'ginc:*o'})]) --- ./test/unittest_mysql.py (original) +++ ./test/unittest_mysql.py (refactored) @@ -21,7 +21,7 @@ from logilab.database import get_db_helper -from unittest_fti import IndexableObject +from .unittest_fti import IndexableObject class MyHelperTC(unittest.TestCase): @@ -44,7 +44,7 @@ {'wrds': 'ginco jpl bla blip blop blap cubic 456', 'uid': 1})]) def test_fulltext_search(self): - self.helper.fulltext_search(u'ginco-jpl') + self.helper.fulltext_search('ginco-jpl') self.assertEqual(self.cnx.received, [('SELECT 1, uid FROM appears WHERE MATCH (words) AGAINST (%(words)s IN BOOLEAN MODE)', {'words': 'ginco jpl'})]) --- ./test/unittest_fti.py (original) +++ ./test/unittest_fti.py (refactored) @@ -36,23 +36,23 @@ class TokenizeTC(unittest.TestCase): def test_utf8(self): --- ./test/unittest_db.py (original) +++ ./test/unittest_db.py (refactored) @@ -18,8 +18,8 @@ """ unit tests for module logilab.common.db """ -from __future__ import print_function -from __future__ import with_statement + + import socket @@ -122,12 +122,12 @@ quiet=1) except psycopg2.OperationalError as ex: self.skipTest('pgsql test requires a specific configuration') - self.failIf(isinstance(cnx, PyConnection), + self.assertFalse(isinstance(cnx, PyConnection), 'cnx should *not* be a PyConnection instance') cnx = get_connection('postgres', self.host, self.db, self.user, self.passwd, quiet=1, pywrap=True) - self.failUnless(isinstance(cnx, PyConnection), + self.assertTrue(isinstance(cnx, PyConnection), 'cnx should be a PyConnection instance') @@ -144,7 +144,7 @@ except psycopg2.OperationalError as ex: self.skipTest('pgsql test requires a specific configuration') cursor = cnx.cursor() - self.failUnless(isinstance(cursor, PyCursor), + self.assertTrue(isinstance(cursor, PyCursor), 'cnx should be a PyCursor instance') @@ -167,12 +167,12 @@ helper = get_db_helRefactoringTool: No changes to ./test/unittest_converters.py RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./logilab/database/sqlserver2008.py RefactoringTool: No changes to ./logilab/database/sqlserver2005.py RefactoringTool: No changes to ./logilab/database/sqlserver2000.py RefactoringTool: Refactored ./logilab/database/sqlserver.py RefactoringTool: Refactored ./logilab/database/sqlite.py RefactoringTool: Refactored ./logilab/database/sqlgen.py RefactoringTool: Refactored ./logilab/database/postgres.py per('postgres') except ImportError: self.skipTest('postgresql dbapi module not installed') - self.failUnless(isinstance(helper, _PGAdvFuncHelper)) + self.assertTrue(isinstance(helper, _PGAdvFuncHelper)) try: helper = get_db_helper('sqlite') except ImportError: self.skipTest('sqlite dbapi module not installed') - self.failUnless(isinstance(helper, _SqliteAdvFuncHelper)) + self.assertTrue(isinstance(helper, _SqliteAdvFuncHelper)) def test_register_funcdef(self): @@ -222,7 +222,7 @@ def blob(self): cursor = self.cnx.cursor() - data_length = range(400*1024-10, 400*1024+10) + data_length = list(range(400*1024-10, 400*1024+10)) for length in data_length: data = buffer('\x00'*length) print("inserting string of length", len(data)) @@ -235,7 +235,7 @@ def large_string(self): cursor = self.cnx.cursor() - data_length = range(400*1024-10, 400*1024+10) + data_length = list(range(400*1024-10, 400*1024+10)) for length in data_length: data = '1'*length print("inserting string of length", len(data)) --- ./logilab/database/sqlserver.py (original) +++ ./logilab/database/sqlserver.py (refactored) @@ -179,7 +179,7 @@ assert typecode is not None, self transform = None if typecode == self.STRING and not self.returns_unicode: - transform = lambda v: unicode(v, encoding, 'replace') + transform = lambda v: str(v, encoding, 'replace') elif typecode == self.BINARY: # value is a python buffer if binarywrap is None: transforn = lambda v: v[:] @@ -188,7 +188,7 @@ elif typecode == self.UNKNOWN: # may occurs on constant selection for instance (e.g. SELECT 'hop') # with postgresql at least - transform = lambda v: unicode(value, encoding, 'replace') if isinstance(v, str) else v + transform = lambda v: str(value, encoding, 'replace') if isinstance(v, str) else v return transform --- ./logilab/database/sqlite.py (original) +++ ./logilab/database/sqlite.py (refactored) @@ -67,7 +67,7 @@ return data.getvalue() sqlite.register_adapter(BytesIO, adapt_bytea) try: - from StringIO import StringIO + from io import StringIO except ImportError: pass else: @@ -140,7 +140,7 @@ days = 0 timepart = parts[-1] timepart_full = timepart.split(".") - hours, minutes, seconds = map(int, timepart_full[0].split(":")) + hours, minutes, seconds = list(map(int, timepart_full[0].split(":"))) if len(timepart_full) == 2: microseconds = int(float("0." + timepart_full[1]) * 1000000) else: @@ -173,7 +173,7 @@ """ def _replace_parameters(self, sql, kwargs): if isinstance(kwargs, dict): - for k,v in kwargs.items(): + for k,v in list(kwargs.items()): if PY2 and isinstance(v, str): warn('Sanitizing an input dictionary with str values, ' 'please check your data (key = %r)' % k, --- ./logilab/database/sqlgen.py (original) +++ ./logilab/database/sqlgen.py (refactored) @@ -18,7 +18,7 @@ """Help to generate SQL strings usable by the Python DB-API. """ -from __future__ import print_function + __docformat__ = "restructuredtext en" --- ./logilab/database/postgres.py (original) +++ ./logilab/database/postgres.py (refactored) @@ -89,7 +89,7 @@ args.setdefault('port', port) if password: args.setdefault('password', password) - cnx_string = ' '.join('%s=%s' % item for item in args.items()) + cnx_string = ' '.join('%s=%s' % item for item in list(args.items())) if extRefactoringTool: Refactored ./logilab/database/mysql.py RefactoringTool: Refactored ./logilab/database/ftiquery.py ra_args is not None: cnx_string += ' ' + extra_args cnx = self._native_module.connect(cnx_string) @@ -404,7 +404,7 @@ """Execute a full text query and return a list of 2-uple (rating, uid). """ if PY2 and isinstance(querystr, str): - querystr = unicode(querystr, self.dbencoding) + querystr = str(querystr, self.dbencoding) searched = self._fti_query_to_tsquery_words(querystr) sql = "%s.words @@ to_tsquery('%s', '%s')" % (tablename, self.config, searched) if not_: @@ -418,7 +418,7 @@ """Execute a full text query and return a list of 2-uple (rating, uid). """ if PY2 and isinstance(querystr, str): - querystr = unicode(querystr, self.dbencoding) + querystr = str(querystr, self.dbencoding) searched = self._fti_query_to_tsquery_words(querystr) return "ts_rank(%s.words, to_tsquery('%s', '%s'))*%s.weight" % ( tablename, self.config, searched, tablename) --- ./logilab/database/mysql.py (original) +++ ./logilab/database/mysql.py (refactored) @@ -55,7 +55,7 @@ times.DateTimeDeltaType = mxdt.DateTimeDeltaType def connect(self, host='', database='', user='', password='', port=None, - unicode=True, charset='utf8', schema=None, extra_args=None): + str=True, charset='utf8', schema=None, extra_args=None): """Handles mysqldb connection format the unicode named argument asks to use Unicode objects for strings in result sets and query parameters @@ -65,12 +65,12 @@ % schema) kwargs = {'host' : host or '', 'db' : database, 'user' : user, 'passwd' : password, - 'use_unicode' : unicode} + 'use_unicode' : str} # MySQLdb doesn't support None port if port: kwargs['port'] = int(port) cnx = self._native_module.connect(**kwargs) - if unicode: + if str: if charset.lower() == 'utf-8': charset = 'utf8' cnx.set_character_set(charset) @@ -91,7 +91,7 @@ # XXX: what about other encodings ?? if maxsize in (16777215, 50331645): # mediumtext (2**24 - 1) if PY2 and isinstance(value, str): - return unicode(value, encoding, 'replace') + return str(value, encoding, 'replace') return value #if maxsize == 255: # tinyblob (2**8 - 1) # return value @@ -285,7 +285,7 @@ """Execute a full text query and return a list of 2-uple (rating, uid). """ if isinstance(querystr, str): - querystr = unicode(querystr, self.dbencoding) + querystr = str(querystr, self.dbencoding) words = normalize_words(tokenize(querystr)) cursor = cursor or self._cnx.cursor() cursor.execute('SELECT 1, uid FROM appears ' @@ -297,7 +297,7 @@ """Execute a full text query and return a list of 2-uple (rating, uid). """ if PY2 and isinstance(querystr, str): - querystr = unicode(querystr, self.dbencoding) + querystr = str(querystr, self.dbencoding) words = normalize_words(tokenize(querystr)) sql = "MATCH (%s.words) AGAINST ('%s' IN BOOLEAN MODE)" % (tablename, ' '.join(words)) if not_: --- ./logilab/database/ftiquery.py (original) +++ ./logilab/database/ftiquery.py (refactored) @@ -71,19 +71,19 @@ # phrase queries for q in self.phrases: - _results = q.dict_query(cursor, results and results.keys() or None) + _results = q.dict_query(cursor, results and list(results.keys()) or None) if not _results: yield () # return () # adjust rating - for uid, rating in results.items(): + for uid, rating in list(results.items()): try: _rRefactoringTool: Refactored ./logilab/database/ftiparser.py RefactoringTool: Refactored ./logilab/database/fti.py WARNING: couldn't encode ./logilab/database/fti.py's diff for your terminal RefactoringTool: Refactored ./logilab/database/__init__.py RefactoringTool: No changes to ./logilab/__init__.py RefactoringTool: No changes to ./__pkginfo__.py RefactoringTool: Files that were modified: RefactoringTool: ./test/unittest_sqlserver2005.py RefactoringTool: ./test/unittest_sqlite.py RefactoringTool: ./test/unittest_sqlgen.py RefactoringTool: ./test/unittest_postgres.py RefactoringTool: ./test/unittest_mysql.py RefactoringTool: ./test/unittest_fti.py RefactoringTool: ./test/unittest_db.py RefactoringTool: ./test/unittest_converters.py RefactoringTool: ./setup.py RefactoringTool: ./logilab/database/sqlserver2008.py RefactoringTool: ./logilab/database/sqlserver2005.py RefactoringTool: ./logilab/database/sqlserver2000.py RefactoringTool: ./logilab/database/sqlserver.py RefactoringTool: ./logilab/database/sqlite.py RefactoringTool: ./logilab/database/sqlgen.py RefactoringTool: ./logilab/database/postgres.py RefactoringTool: ./logilab/database/mysql.py RefactoringTool: ./logilab/database/ftiquery.py RefactoringTool: ./logilab/database/ftiparser.py RefactoringTool: ./logilab/database/fti.py RefactoringTool: ./logilab/database/__init__.py RefactoringTool: ./logilab/__init__.py RefactoringTool: ./__pkginfo__.py esults[uid] += rating except: continue results = _results - for uid, rating in results.items(): + for uid, rating in list(results.items()): yield (rating, uid) --- ./logilab/database/ftiparser.py (original) +++ ./logilab/database/ftiparser.py (refactored) @@ -18,7 +18,7 @@ """Yapps input grammar for indexer queries. """ -from __future__ import print_function + __docformat__ = "restructuredtext en" --- ./logilab/database/fti.py (original) +++ ./logilab/database/fti.py (refactored) @@ -61,12 +61,12 @@ RE_DATE = r"\d{2,4}[/-]\d{2,2}[/-]\d{2,4}" RE_HOUR = r"\d{1,2}[:h]\d{2,2}:?\d{0,2}" # indexation tokenizer --- ./logilab/database/__init__.py (original) +++ ./logilab/database/__init__.py (refactored) @@ -34,7 +34,7 @@ as listing existing users or databases, creating database... Get the helper for your database using the `get_db_helper` function. """ -from __future__ import with_statement + __docformat__ = "restructuredtext en" @@ -364,7 +364,7 @@ assert typecode is not None, self transform = None if typecode == self.STRING and not self.returns_unicode: - transform = lambda v: unicode(v, encoding, 'replace') + transform = lambda v: str(v, encoding, 'replace') elif typecode == self.BOOLEAN: transform = bool elif typecode == self.BINARY and binarywrap is not None: @@ -372,7 +372,7 @@ elif typecode == self.UNKNOWN: # may occurs on constant selection for instance (e.g. SELECT 'hop') # with postgresql at least - transform = lambda v: unicode(v, encoding, 'replace') if isinstance(v, str) else v + transform = lambda v: str(v, encoding, 'replace') if isinstance(v, str) else v return transform def process_cursor(self, cursor, encoding, binarywrap=None): @@ -664,7 +664,7 @@ def copy(self): registry = _FunctionRegistry() - for funcname, funcdef in self.functions.items(): + for funcname, funcdef in list(self.functions.items()): registry.register_function(funcdef, funcname=funcname) return registry + mv -f setup.py.bak setup.py + 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 running build running build_py creating build creating build/lib creating build/lib/logilab copying logilab/__init__.py -> build/lib/logilab creating build/lib/logilab/database copying logilab/database/sqlserver2008.py -> build/lib/logilab/database copying logilab/database/sqlserver2005.py -> build/lib/logilab/database copying logilab/database/sqlserver2000.py -> build/lib/logilab/database copying logilab/database/sqlserver.py -> build/lib/logilab/database copying logilab/database/sqlite.py -> build/lib/logilab/database copying logilab/database/sqlgen.py -> build/lib/logilab/database copying logilab/database/postgres.py -> build/lib/logilab/database copying logilab/database/mysql.py -> build/lib/logilab/database copying logilab/database/ftiquery.py -> build/lib/logilab/database copying logilab/database/ftiparser.py -> build/lib/logilab/database copying logilab/database/fti.py -> build/lib/logilab/database copying logilab/database/__init__.py -> build/lib/logilab/database + popd ~/RPM/BUILD/python-module-logilab-database-1.15.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.55853 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-logilab-database-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-logilab-database-buildroot + cd python-module-logilab-database-1.15.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-logilab-database-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/__init__.py (namespace package) copying logilab/database/__init__.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/fti.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/ftiparser.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/ftiquery.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/mysql.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/postgres.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/sqlgen.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/sqlite.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/sqlserver.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/sqlserver2000.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/sqlserver2005.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database copying logilab/database/sqlserver2008.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/fti.py to fti.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiparser.py to ftiparser.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiquery.py to ftiquery.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/mysql.py to mysql.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py to postgres.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlgen.py to sqlgen.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py to sqlite.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver.py to sqlserver.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2000.py to sqlserver2000.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py to sqlserver2005.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2008.py to sqlserver2008.pyc running install_egg_info running egg_info creating logilab_database.egg-info writing requirements to logilab_database.egg-info/requires.txt writing logilab_database.egg-info/PKG-INFO writing namespace_packages to logilab_database.egg-info/namespace_packages.txt writing top-level names to logilab_database.egg-info/top_level.txt writing dependency_links to logilab_database.egg-info/dependency_links.txt writing manifest file 'logilab_database.egg-info/SOURCES.txt' reading manifest file 'logilab_database.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'logilab_database.egg-info/SOURCES.txt' Copying logilab_database.egg-info to /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab_database-1.15.0-py2.7.egg-info Installing /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab_database-1.15.0-py2.7-nspkg.pth running install_scripts + rm -f '/usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/__init__.py*' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-logilab-database-1.15.0 + 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-logilab-database-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/__init__.py (namespace package) copying logilab/database/__init__.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/fti.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/ftiparser.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/ftiquery.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/mysql.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/postgres.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/sqlgen.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/sqlite.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/sqlserver.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/sqlserver2000.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/sqlserver2005.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database copying logilab/database/sqlserver2008.py -> /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/fti.py to fti.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiparser.py to ftiparser.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiquery.py to ftiquery.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/mysql.py to mysql.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py to postgres.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlgen.py to sqlgen.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py to sqlite.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver.py to sqlserver.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2000.py to sqlserver2000.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py to sqlserver2005.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2008.py to sqlserver2008.cpython-36.pyc running install_egg_info running egg_info creating logilab_database.egg-info writing logilab_database.egg-info/PKG-INFO writing dependency_links to logilab_database.egg-info/dependency_links.txt writing namespace_packages to logilab_database.egg-info/namespace_packages.txt writing requirements to logilab_database.egg-info/requires.txt writing top-level names to logilab_database.egg-info/top_level.txt writing manifest file 'logilab_database.egg-info/SOURCES.txt' reading manifest file 'logilab_database.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'logilab_database.egg-info/SOURCES.txt' Copying logilab_database.egg-info to /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info Installing /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-logilab-database-1.15.0 + rm -f '/usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/__init__.py*' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-logilab-database-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-logilab-database-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-logilab-database-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-logilab-database-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-logilab-database-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-logilab-database-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-logilab-database-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/__init__.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/fti.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiparser.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiquery.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/mysql.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlgen.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2000.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2008.pyc compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/__init__.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/fti.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiparser.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiquery.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/mysql.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlgen.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2000.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2008.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-logilab-database-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/__init__.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/fti.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiparser.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiquery.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/mysql.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlgen.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2000.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2008.py Bytecompiling python3 modules in /usr/src/tmp/python-module-logilab-database-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-36.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-36.pyc compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/fti.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiparser.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiquery.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/mysql.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlgen.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2000.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2008.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-logilab-database-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/fti.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiparser.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiquery.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/mysql.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlgen.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2000.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2008.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-logilab-database-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/fti.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiparser.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiquery.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/mysql.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlgen.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2000.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py compile /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2008.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-36.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-36.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-36.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-36.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-36.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-36.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-36.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-36.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/logilab/database/sqlserver2008.pyo' => './usr/lib/python2.7/site-packages/logilab/database/sqlserver2008.pyc' './usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.pyo' => './usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.pyc' './usr/lib/python2.7/site-packages/logilab/database/sqlserver2000.pyo' => './usr/lib/python2.7/site-packages/logilab/database/sqlserver2000.pyc' './usr/lib/python2.7/site-packages/logilab/database/sqlite.pyo' => './usr/lib/python2.7/site-packages/logilab/database/sqlite.pyc' './usr/lib/python2.7/site-packages/logilab/database/sqlgen.pyo' => './usr/lib/python2.7/site-packages/logilab/database/sqlgen.pyc' './usr/lib/python2.7/site-packages/logilab/database/postgres.pyo' => './usr/lib/python2.7/site-packages/logilab/database/postgres.pyc' './usr/lib/python2.7/site-packages/logilab/database/mysql.pyo' => './usr/lib/python2.7/site-packages/logilab/database/mysql.pyc' './usr/lib/python2.7/site-packages/logilab/database/ftiparser.pyo' => './usr/lib/python2.7/site-packages/logilab/database/ftiparser.pyc' Processing files: python-module-logilab-database-1.15.0-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.69995 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-logilab-database-1.15.0 + DOCDIR=/usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python-module-logilab-database-1.15.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python-module-logilab-database-1.15.0 + /bin/mkdir -p /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python-module-logilab-database-1.15.0 + cp -prL ChangeLog README /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python-module-logilab-database-1.15.0 + chmod -R go-w /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python-module-logilab-database-1.15.0 + chmod -R a+rX /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python-module-logilab-database-1.15.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cJSdWc 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.aXcx58 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-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/__init__.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/fti.py: line=199 IGNORE (for REQ=slight and deep=11) module=logilab /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/fti.py: line=200 IGNORE (for REQ=slight and deep=11) module=logilab python.req: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiparser.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/ftiparser.py: line=63 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/mysql.py: line=48 IGNORE (for REQ=slight and deep=15) module=MySQLdb /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/mysql.py: line=49 IGNORE (for REQ=slight and deep=15) module=mx /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py: line=67 IGNORE (for REQ=slight and deep=11) module=psycopg2 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py: line=72 IGNORE (for REQ=slight and deep=15) module=psycopg2 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py: line=131 IGNORE (for REQ=slight and deep=15) module=psycopg2 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py: line=155 IGNORE (for REQ=slight and deep=11) module=psycopg2ct /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py: line=166 IGNORE (for REQ=slight and deep=11) module=psycopg2cffi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/postgres.py: line=430 IGNORE (for REQ=slight and deep=11) module=glob /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlgen.py: line=330 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlgen.py: line=331 IGNORE (for REQ=slight and deep=8) module=logilab /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py: line=65 IGNORE (for REQ=slight and deep=11) module=io /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py: line=70 IGNORE (for REQ=slight and deep=15) module=StringIO /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py: line=80 IGNORE (for REQ=slight and deep=11) module=decimal /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py: line=91 IGNORE (for REQ=slight and deep=15) module=mx /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py: line=114 IGNORE (for REQ=slight and deep=15) module=datetime /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlite.py: line=329 IGNORE (for REQ=slight and deep=8) module=random python.req: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py: line=324 IGNORE (for REQ=slight and deep=12) module=time /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py: line=325 IGNORE (for REQ=slight and deep=12) module=logilab /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py: line=362 IGNORE (for REQ=slight and deep=12) module=logilab /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python2.7/site-packages/logilab/database/sqlserver2005.py: line=378 IGNORE (for REQ=slight and deep=12) module=time Provides: python2.7(logilab.database), python2.7(logilab.database.fti), python2.7(logilab.database.ftiparser), python2.7(logilab.database.ftiquery), python2.7(logilab.database.mysql), python2.7(logilab.database.postgres), python2.7(logilab.database.sqlgen), python2.7(logilab.database.sqlite), python2.7(logilab.database.sqlserver), python2.7(logilab.database.sqlserver2000), python2.7(logilab.database.sqlserver2005), python2.7(logilab.database.sqlserver2008) Requires: /usr/lib/python2.7/site-packages, python-modules, python2.7(dateutil), python2.7(inspect), python2.7(logging), python2.7(logilab), python2.7(six), python2.7(yapps) Processing files: python3-module-logilab-database-1.15.0-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.82581 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-logilab-database-1.15.0 + DOCDIR=/usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python3-module-logilab-database-1.15.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python3-module-logilab-database-1.15.0 + /bin/mkdir -p /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python3-module-logilab-database-1.15.0 + cp -prL ChangeLog README /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python3-module-logilab-database-1.15.0 + chmod -R go-w /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python3-module-logilab-database-1.15.0 + chmod -R a+rX /usr/src/tmp/python-module-logilab-database-buildroot/usr/share/doc/python3-module-logilab-database-1.15.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XTslwc 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.papB6e 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-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=13) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=14) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=15) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=16) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=17) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=18) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=19) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=20) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=21) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=22) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=23) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=24) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=25) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=26) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=27) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=28) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=29) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=30) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__init__.py: line=65 IGNORE (for REQ=slight and deep=31) module=logilab.database.%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/fti.py: line=199 IGNORE (for REQ=slight and deep=11) module=logilab.database.ftiparser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/fti.py: line=200 IGNORE (for REQ=slight and deep=11) module=logilab.database.ftiquery python3.req: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiparser.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiparser.py: line=63 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/mysql.py: line=48 IGNORE (for REQ=slight and deep=15) module=MySQLdb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/mysql.py: line=49 IGNORE (for REQ=slight and deep=15) module=mx /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py: line=67 IGNORE (for REQ=slight and deep=11) module=psycopg2 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py: line=72 IGNORE (for REQ=slight and deep=15) module=psycopg2 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py: line=131 IGNORE (for REQ=slight and deep=15) module=psycopg2 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py: line=155 IGNORE (for REQ=slight and deep=11) module=psycopg2ct /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py: line=166 IGNORE (for REQ=slight and deep=11) module=psycopg2cffi /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py: line=430 IGNORE (for REQ=slight and deep=11) module=glob /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlgen.py: line=330 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlgen.py: line=331 IGNORE (for REQ=slight and deep=8) module=logilab.database /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py: line=65 IGNORE (for REQ=slight and deep=11) module=io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py: line=70 IGNORE (for REQ=slight and deep=15) module=io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py: line=80 IGNORE (for REQ=slight and deep=11) module=decimal /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py: line=91 IGNORE (for REQ=slight and deep=15) module=mx.DateTime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py: line=114 IGNORE (for REQ=slight and deep=15) module=datetime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py: line=329 IGNORE (for REQ=slight and deep=8) module=random python3.req: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py: line=324 IGNORE (for REQ=slight and deep=12) module=time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py: line=325 IGNORE (for REQ=slight and deep=12) module=logilab.database /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py: line=362 IGNORE (for REQ=slight and deep=12) module=logilab.database /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py: line=378 IGNORE (for REQ=slight and deep=12) module=time Provides: python3(logilab.database), python3(logilab.database.fti), python3(logilab.database.ftiparser), python3(logilab.database.ftiquery), python3(logilab.database.mysql), python3(logilab.database.postgres), python3(logilab.database.sqlgen), python3(logilab.database.sqlite), python3(logilab.database.sqlserver), python3(logilab.database.sqlserver2000), python3(logilab.database.sqlserver2005), python3(logilab.database.sqlserver2008) Requires: /usr/lib/python3/site-packages, python3(datetime) < 0, python3(dateutil) < 0, python3(inspect) < 0, python3(logging) < 0, python3(logilab) < 0, python3(logilab.common.date) < 0, python3(logilab.common.deprecation) < 0, python3(logilab.common.modutils) < 0, python3(logilab.common.textutils) < 0, python3(os) < 0, python3(os.path) < 0, python3(re) < 0, python3(shutil) < 0, python3(six) < 0, python3(six.moves) < 0, python3(threading) < 0, python3(warnings) < 0, python3(yapps) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-logilab-database-1.15.0-alt2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-logilab-database-1.15.0-alt2.noarch.rpm 18.07user 0.72system 0:23.59elapsed 79%CPU (0avgtext+0avgdata 30256maxresident)k 0inputs+0outputs (0major+254442minor)pagefaults 0swaps 33.56user 5.03system 0:47.35elapsed 81%CPU (0avgtext+0avgdata 122208maxresident)k 0inputs+0outputs (0major+917893minor)pagefaults 0swaps --- python3-module-logilab-database-1.15.0-alt2.noarch.rpm.repo 2017-10-19 14:25:27.000000000 +0000 +++ python3-module-logilab-database-1.15.0-alt2.noarch.rpm.hasher 2018-12-25 06:25:17.227077453 +0000 @@ -4,38 +4,38 @@ /usr/lib/python3/site-packages/logilab/database/__pycache__ 40755 -/usr/lib/python3/site-packages/logilab/database/__pycache__/__init__.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/__init__.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/__init__.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/__init__.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/__init__.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/__init__.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-36.pyc 100644 /usr/lib/python3/site-packages/logilab/database/fti.py 100644 @@ -51,10 +51,10 @@ /usr/lib/python3/site-packages/logilab/database/sqlserver2008.py 100644 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5-nspkg.pth 100644 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5.egg-info 40755 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5.egg-info/namespace_packages.txt 100644 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.5.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6-nspkg.pth 100644 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info 40755 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info/namespace_packages.txt 100644 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.6.egg-info/top_level.txt 100644 /usr/share/doc/python3-module-logilab-database-1.15.0 40755 @@ -94,14 +94,2 @@ Provides: python3(logilab.database.sqlserver2008) -Provides: python3.3(logilab.database) -Provides: python3.3(logilab.database.fti) -Provides: python3.3(logilab.database.ftiparser) -Provides: python3.3(logilab.database.ftiquery) -Provides: python3.3(logilab.database.mysql) -Provides: python3.3(logilab.database.postgres) -Provides: python3.3(logilab.database.sqlgen) -Provides: python3.3(logilab.database.sqlite) -Provides: python3.3(logilab.database.sqlserver) -Provides: python3.3(logilab.database.sqlserver2000) -Provides: python3.3(logilab.database.sqlserver2005) -Provides: python3.3(logilab.database.sqlserver2008) Provides: python3-module-logilab-database = 1.15.0-alt2