<86>Feb 7 16:13:57 userdel[153407]: delete user 'rooter' <86>Feb 7 16:13:57 userdel[153407]: removed group 'rooter' owned by 'rooter' <86>Feb 7 16:13:57 userdel[153407]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 7 16:13:57 groupadd[153437]: group added to /etc/group: name=rooter, GID=645 <86>Feb 7 16:13:57 groupadd[153437]: group added to /etc/gshadow: name=rooter <86>Feb 7 16:13:57 groupadd[153437]: new group: name=rooter, GID=645 <86>Feb 7 16:13:57 useradd[153483]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Feb 7 16:13:57 userdel[153577]: delete user 'builder' <86>Feb 7 16:13:57 userdel[153577]: removed group 'builder' owned by 'builder' <86>Feb 7 16:13:57 userdel[153577]: removed shadow group 'builder' owned by 'builder' <86>Feb 7 16:13:57 groupadd[153624]: group added to /etc/group: name=builder, GID=646 <86>Feb 7 16:13:57 groupadd[153624]: group added to /etc/gshadow: name=builder <86>Feb 7 16:13:57 groupadd[153624]: new group: name=builder, GID=646 <86>Feb 7 16:13:57 useradd[153656]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash <13>Feb 7 16:14:00 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 7 16:14:00 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Feb 7 16:14:00 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Feb 7 16:14:00 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Feb 7 16:14:00 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 7 16:14:00 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 7 16:14:00 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Feb 7 16:14:00 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Feb 7 16:14:00 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Feb 7 16:14:01 rpmi: libcrypto1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982938 installed <13>Feb 7 16:14:01 rpmi: libssl1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982938 installed <13>Feb 7 16:14:01 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 7 16:14:01 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 7 16:14:02 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 7 16:14:02 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Feb 7 16:14:02 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 7 16:14:06 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 7 16:14:06 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Feb 7 16:14:06 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Feb 7 16:14:06 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Feb 7 16:14:06 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Feb 7 16:14:06 rpmi: python3-module-pyparsing-2.2.0-alt1 1534411950 installed <13>Feb 7 16:14:06 rpmi: python3-module-packaging-16.8-alt1.qa1 sisyphus+228363.1100.2.2 1556671459 installed <13>Feb 7 16:14:06 rpmi: python3-module-markupsafe-1.1.1-alt1 p9+254838.60.14.1 1602882139 installed <13>Feb 7 16:14:06 rpmi: python3-module-jinja2-2.11.2-alt1 p9+254838.40.14.1 1602882082 installed <13>Feb 7 16:14:06 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Feb 7 16:14:06 rpmi: python3-module-pytz-1:2016.10-alt1 1484291011 installed <13>Feb 7 16:14:07 rpmi: python3-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Feb 7 16:14:07 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Feb 7 16:14:07 rpmi: python3-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Feb 7 16:14:07 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Feb 7 16:14:07 rpmi: python3-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Feb 7 16:14:07 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847335 installed <13>Feb 7 16:14:07 rpmi: python3-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Feb 7 16:14:07 rpmi: python3-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Feb 7 16:14:07 rpmi: python3-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316452 installed <13>Feb 7 16:14:07 rpmi: python3-module-cryptography-2.6.1-alt1 sisyphus+225625.24400.91.1 1555298600 installed <13>Feb 7 16:14:07 rpmi: python3-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Feb 7 16:14:07 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Feb 7 16:14:07 rpmi: python3-module-urllib3-2:1.25.6-alt1 p9+250567.200.5.1 1590420860 installed <13>Feb 7 16:14:07 rpmi: python3-module-requests-2.23.0-alt1 p9+250567.500.5.1 1590420921 installed <13>Feb 7 16:14:07 rpmi: python-sphinx-objects.inv-1:2.3.8.20190514-alt1 p9+229421.100.1.1 1557927689 installed <13>Feb 7 16:14:07 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Feb 7 16:14:07 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <86>Feb 7 16:14:07 groupadd[205757]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 7 16:14:07 groupadd[205757]: group added to /etc/gshadow: name=_keytab <86>Feb 7 16:14:07 groupadd[205757]: new group: name=_keytab, GID=499 <13>Feb 7 16:14:07 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Feb 7 16:14:07 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Feb 7 16:14:07 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Feb 7 16:14:07 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:07 rpmi: python-strict-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 16:14:08 rpmi: python-module-egenix-mx-base-3.2.8-alt1 1405907333 installed <13>Feb 7 16:14:08 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:08 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 7 16:14:08 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Feb 7 16:14:08 rpmi: python-module-kerberos-1.3.0-alt2 sisyphus+225625.10500.91.1 1555288073 installed <13>Feb 7 16:14:08 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>Feb 7 16:14:08 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>Feb 7 16:14:09 rpmi: libxslt-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513919 installed <13>Feb 7 16:14:09 rpmi: python3-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Feb 7 16:14:09 rpmi: python3-module-html5lib-1:0.999999999-alt4.qa1 sisyphus+227493.600.1.3 1555835341 installed <13>Feb 7 16:14:09 rpmi: python3-module-lxml-4.4.2-alt1 p9+244111.100.1.1 1578758819 installed <13>Feb 7 16:14:09 rpmi: python3-module-docutils-0.14-alt2 1535729778 installed <13>Feb 7 16:14:09 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Feb 7 16:14:09 rpmi: python3-module-sphinxcontrib-applehelp-1.0.1-alt1 sisyphus+228217.100.1.1 1556282506 installed <13>Feb 7 16:14:09 rpmi: python3-module-sphinxcontrib-devhelp-1.0.1-alt1 sisyphus+228218.100.1.1 1556283262 installed <13>Feb 7 16:14:09 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Feb 7 16:14:09 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 p9+247680.64.15.1 1585326575 installed <13>Feb 7 16:14:09 rpmi: python3-module-sphinxcontrib-qthelp-1.0.2-alt1 sisyphus+228215.100.1.1 1556282300 installed <13>Feb 7 16:14:09 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.3-alt1 sisyphus+228216.100.1.1 1556282403 installed <13>Feb 7 16:14:09 rpmi: python3-module-sphinx-1:2.2.0-alt2.1.p9 p9+247680.14.15.1 1585326533 installed <13>Feb 7 16:14:09 rpmi: python3-module-Pygments-2.6.1-alt2 p9+263160.600.6.1 1607946197 installed <13>Feb 7 16:14:09 rpmi: python3-module-logilab-common-1.4.1-alt3 sisyphus+227501.100.1.2 1555851170 installed <13>Feb 7 16:14:10 rpmi: python-module-logilab-common-1.4.1-alt3 sisyphus+227501.100.1.2 1555851170 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>Feb 7 16:14:12 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:12 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 7 16:14:12 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 7 16:14:12 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 7 16:14:12 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Feb 7 16:14:12 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 7 16:14:12 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 7 16:14:12 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 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.21517 + 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.21517 + 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.33087 + 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-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/fti.py to fti.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiparser.py to ftiparser.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/ftiquery.py to ftiquery.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/mysql.py to mysql.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/postgres.py to postgres.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlgen.py to sqlgen.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlite.py to sqlite.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver.py to sqlserver.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2000.py to sqlserver2000.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2005.py to sqlserver2005.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/sqlserver2008.py to sqlserver2008.cpython-37.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.7.egg-info Installing /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab_database-1.15.0-py3.7-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-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/fti.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/ftiquery.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-37.pyc unlink /usr/src/tmp/python-module-logilab-database-buildroot/usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-37.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-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2008.cpython-37.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2005.cpython-37.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlserver2000.cpython-37.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlite.cpython-37.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/sqlgen.cpython-37.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/postgres.cpython-37.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/mysql.cpython-37.pyc' './usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/logilab/database/__pycache__/ftiparser.cpython-37.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.83924 + 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.mPByDB 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.FxnFay 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-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.5166 + 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.7IgRKR 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.D10sBh find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) 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 17.26user 1.07system 0:20.82elapsed 88%CPU (0avgtext+0avgdata 30436maxresident)k 0inputs+0outputs (0major+237991minor)pagefaults 0swaps 29.34user 5.77system 0:39.90elapsed 87%CPU (0avgtext+0avgdata 116268maxresident)k 0inputs+0outputs (0major+743478minor)pagefaults 0swaps