<86>Apr 14 01:24:15 userdel[33834]: delete user 'rooter' <86>Apr 14 01:24:15 userdel[33834]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:24:15 userdel[33834]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:24:15 groupadd[33853]: group added to /etc/group: name=rooter, GID=693 <86>Apr 14 01:24:15 groupadd[33853]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:24:15 groupadd[33853]: new group: name=rooter, GID=693 <86>Apr 14 01:24:15 useradd[33869]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Apr 14 01:24:15 userdel[33900]: delete user 'builder' <86>Apr 14 01:24:15 userdel[33900]: removed group 'builder' owned by 'builder' <86>Apr 14 01:24:15 userdel[33900]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:24:15 groupadd[33924]: group added to /etc/group: name=builder, GID=694 <86>Apr 14 01:24:15 groupadd[33924]: group added to /etc/gshadow: name=builder <86>Apr 14 01:24:15 groupadd[33924]: new group: name=builder, GID=694 <86>Apr 14 01:24:15 useradd[33955]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash <13>Apr 14 01:24:20 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:24:20 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:24:20 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:24:20 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:24:20 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:20 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:24:20 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:24:20 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:24:21 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:24:21 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:24:21 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:24:21 groupadd[51139]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:24:21 groupadd[51139]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:24:21 groupadd[51139]: new group: name=_keytab, GID=499 <13>Apr 14 01:24:21 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:24:22 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:24:22 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:22 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:24:22 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:24:22 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:22 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:24:22 rpmi: python3-module-pycrypto-2.7-alt3.a1.git20140620.1 1459652085 installed <13>Apr 14 01:24:22 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:22 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:24:23 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:24:23 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:24:23 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:24:23 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:24:23 rpmi: python-module-pyasn1-0.1.8-alt2.1.1.1 1460405470 installed <13>Apr 14 01:24:23 rpmi: python-module-pycrypto-2.7-alt3.a1.git20140620.1 1459652085 installed <13>Apr 14 01:24:23 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:24:23 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed Installing python-module-keyczar-0.715-alt1.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.75170 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-keyczar-0.715 + echo 'Source #0 (python-keyczar-0.715.tar):' Source #0 (python-keyczar-0.715.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-keyczar-0.715.tar + cd python-module-keyczar-0.715 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/tests/keyczar_tests/util_test.py RefactoringTool: Refactored ../python3/tests/keyczar_tests/signer_test.py --- ../python3/tests/keyczar_tests/util_test.py (original) +++ ../python3/tests/keyczar_tests/util_test.py (refactored) @@ -22,7 +22,7 @@ import unittest import base64 -import StringIO +import io import random import os @@ -44,8 +44,8 @@ def __testRead(self, input_data, expected_result): for size in [1, 5, 4096, 99999, -1]: - stream = util.IncrementalBase64WSStreamReader(StringIO.StringIO(input_data)) - self.assertEquals(self.__readStream(stream, size), expected_result) + stream = util.IncrementalBase64WSStreamReader(io.StringIO(input_data)) + self.assertEqual(self.__readStream(stream, size), expected_result) def testNoPadRead(self): no_pad_data = 'Some inspired test datum' @@ -74,14 +74,14 @@ 'AJehaFGwoOrkzpDCnF1zqIi721eCOMYWRmLyRyn3hxyhh_mYwpnDN6jKN057gr5lz' \ 'APFYhq9zoDwFMaGMEipEl__ECOZGeaxWw' expected_result = util.Base64WSDecode(enc_data) - stream = util.IncrementalBase64WSStreamReader(StringIO.StringIO(enc_data)) + stream = util.IncrementalBase64WSStreamReader(io.StringIO(enc_data)) result = stream.read(5) result += stream.read(15) read_data = True while read_data: read_data = stream.read(4096) result += read_data - self.assertEquals(result, expected_result) + self.assertEqual(result, expected_result) class ParseX509Test(unittest.TestCase): @@ -96,8 +96,8 @@ 'l9d+zbuoBc4YMASUZa+vKqRZ3a+d15WdlBjtEzB2NbBbnbCJKjfGSmOCbg==' params = util.ParseX509(publickey) expected = { - 'q': 1131081433714279493125447137485919672696369887159L, - 'p': long( + 'q': 1131081433714279493125447137485919672696369887159, + 'p': int( '142769326027561200015702846633037171844738546159067892543586' + '089819169405771071960306351240015809035099105692642283483274' + '608612927770127886695041551320596560058685767748528711711436' + @@ -105,7 +105,7 @@ '775238247767249458127174935432419747620377588855197434035039' + '449870211L' ), - 'y': long( + 'y': int( '150538549060345519581302552574691577464375345311526809670286' + '632129938599078813029403767119263752107859825857360955403210' + '483822181224937742908787267712756285866859569379427477824560' + @@ -113,7 +113,7 @@ '684991017869376251632455719760930339224531116502262910706269' + '32425326L' ), - 'g': long( + 'g': int( '494970673920668377956046733315341969794517742954883725248168' + '301122249691271552495885761534156140297218760038024832456713' + '075235324022590936023023330095636324540517029462960508640485' + @@ -122,9 +122,9 @@ '50905775L' ) } - self.assertEquals(len(expected),len(params)) + self.assertEqual(len(expected),len(params)) for key in expected: - self.assertEquals(expected[key],params[key]) + self.assertEqual(expected[key],params[key]) class Base64WSStreamingWriteTest(unittest.TestCase): @@ -136,7 +136,7 @@ expected_result = expected_result[:-1] for size in [1, 5, 4096, random.randrange(1, 9999), -1]: - output_stream = StringIO.StringIO() + output_stream = io.StringIO() stream = util.IncrementalBase64WSStreamWriter(output_stream) i = 0 if size >= 0: @@ -146,7 +146,7 @@ else: stream.write(input_data) stream.flush() - self.assertEquals(output_stream.getvalue(), expected_result) + self.assertEqual(output_stream.getvalue(), expected_result) def testNoPadWrite(self): no_pad_data = 'Some inspired test datum' --- ../python3/tests/keyczar_tests/signer_test.py (original) +++ ../python3/tests/keyczar_tests/signer_test.py (refactored) @@ -89,7 +89,7 @@ def __testAttachedSignAndVerify(self, subdir): (signer, attached_sig) = self.__attachedSignInput(subdir, "nonce") - self.assertEquals(self.input, signer.AttachedVerify(attached_sig, "nonce")) + seRefactoringTool: No changes to ../python3/tests/keyczar_tests/session_test.py RefactoringTool: Refactored ../python3/tests/keyczar_tests/keyczart_test.py lf.assertEqual(self.input, signer.AttachedVerify(attached_sig, "nonce")) # Changing nonce should make it fail. self.assertFalse(signer.AttachedVerify(attached_sig, "dunce")) @@ -157,7 +157,7 @@ try: signer.Verify(self.input, unencoded_sig) raise Exception("Verify should throw a Decoding error") - except errors.Base64DecodingError, e: + except errors.Base64DecodingError as e: pass self.assertTrue(signer.Verify(self.input, sig)) @@ -189,7 +189,7 @@ try: signer.Verify(self.input, unencoded_sig) raise Exception("Verify should throw a Decoding error") - except errors.Base64DecodingError, e: + except errors.Base64DecodingError as e: pass self.assertTrue(signer.AttachedVerify(sig, "nonce")) --- ../python3/tests/keyczar_tests/keyczart_test.py (original) +++ ../python3/tests/keyczar_tests/keyczart_test.py (refactored) @@ -40,21 +40,21 @@ def testCreate(self): keyczart.main(['create', '--name=testCreate', '--purpose=crypt', '--asymmetric=rsa']) - self.assertEquals('testCreate', self.mock.kmd.name) - self.assertEquals(keyinfo.DECRYPT_AND_ENCRYPT, self.mock.kmd.purpose) - self.assertEquals(keyinfo.RSA_PRIV, self.mock.kmd.type) + self.assertEqual('testCreate', self.mock.kmd.name) + self.assertEqual(keyinfo.DECRYPT_AND_ENCRYPT, self.mock.kmd.purpose) + self.assertEqual(keyinfo.RSA_PRIV, self.mock.kmd.type) def testAddKey(self): - self.assertEquals(3, self.mock.numkeys) + self.assertEqual(3, self.mock.numkeys) keyczart.main(['addkey', '--status=primary']) - self.assertEquals(4, self.mock.numkeys) + self.assertEqual(4, self.mock.numkeys) # The next version number will be 100, since the previous max was 99 - self.assertEquals(keyinfo.PRIMARY, self.mock.GetStatus(100)) - self.assertEquals(keyinfo.ACTIVE, self.mock.GetStatus(42)) + self.assertEqual(keyinfo.PRIMARY, self.mock.GetStatus(100)) + self.assertEqual(keyinfo.ACTIVE, self.mock.GetStatus(42)) def testAddKeySizeFlag(self): keyczart.main(['addkey', '--size=256']) - self.assertEquals(256, self.mock.GetKeySize(100)) + self.assertEqual(256, self.mock.GetKeySize(100)) def testAddKeyCrypterCreatesCrypter(self): self.dummy_location = None @@ -63,29 +63,29 @@ return self.mock keyczart._CreateCrypter = dummyCreateCrypter keyczart.main(['addkey', '--crypter=foo']) - self.assertEquals(self.dummy_location, 'foo') + self.assertEqual(self.dummy_location, 'foo') def testPubKey(self): pubmock = readers.MockReader('PUBTEST', keyinfo.DECRYPT_AND_ENCRYPT, keyinfo.RSA_PRIV) pubmock.AddKey(33, keyinfo.PRIMARY, 1024) # small key size for fast tests keyczart.mock = pubmock # use pubmock instead - self.assertEquals(None, pubmock.pubkmd) + self.assertEqual(None, pubmock.pubkmd) keyczart.main(['pubkey']) self.assertNotEqual(None, pubmock.pubkmd) - self.assertEquals('PUBTEST', pubmock.pubkmd.name) - self.assertEquals(keyinfo.ENCRYPT, pubmock.pubkmd.purpose) - self.assertEquals(keyinfo.RSA_PUB, pubmock.pubkmd.type) + self.assertEqual('PUBTEST', pubmock.pubkmd.name) + self.assertEqual(keyinfo.ENCRYPT, pubmock.pubkmd.purpose) + self.assertEqual(keyinfo.RSA_PUB, pubmock.pubkmd.type) self.assertTrue(pubmock.HasPubKey(33)) def testPromote(self): keyczart.main(['promote', '--version=77']) - self.assertEquals(keyinfo.PRIMARY, self.mock.GetStatus(77)) - self.assertEquals(keyinfo.ACTIVE, self.mock.GetStatus(42)) + self.assertEqual(keyinfo.PRIMARY, self.mock.GetStatus(77)) + self.assertEqual(keyinfo.ACTIVE, self.mock.GetStatus(42)) def testDemote(self): keyczart.main(['demote', '--version=77']) - self.assertEquals(keyinfo.INACTIVE, self.mock.GetStatus(77)) + self.assertEqual(keyinfo.INACTIVE, self.mock.GetStatus(77)) def testRevoke(self): self.assertTrue(self.mock.ExistsVersion(99)) @@ -116,7 +116,7 @@ generic_keyczar = keyczar.GenericKeyczar(self.mock) RefactoringTool: Refactored ../python3/tests/keyczar_tests/interop_test.py RefactoringTool: Refactored ../python3/tests/keyczar_tests/crypter_test.py generic_keyczar.Write('foo') - self.assertEquals(1, MockWriter.num_created, + self.assertEqual(1, MockWriter.num_created, 'Write("string") should have created a new writer') def tearDown(self): --- ../python3/tests/keyczar_tests/interop_test.py (original) +++ ../python3/tests/keyczar_tests/interop_test.py (refactored) @@ -322,7 +322,7 @@ operation = operations[operation_name] current_operation = operation(key_path, test_data) output = current_operation.Generate(algorithm, generate_options) - print output + print(output) def Test(operation_name, output, key_path, @@ -330,7 +330,7 @@ operation = operations[operation_name] current_operation = operation(key_path, test_data) current_operation.Test(output, algorithm, generate_options, test_options) - print "Test passes" + print("Test passes") def Usage(): --- ../python3/tests/keyczar_tests/crypter_test.py (original) +++ ../python3/tests/keyczar_tests/crypter_test.py (refactored) @@ -20,7 +20,7 @@ @author: arkajit.dey@gmail.com (Arkajit Dey) """ -import cStringIO as StringIO +import io as StringIO import os import random import unittest @@ -98,9 +98,9 @@ active_ciphertext = util.ReadFile(os.path.join(path, "1.out")) primary_ciphertext = util.ReadFile(os.path.join(path, "2.out")) active_decrypted = crypter.Decrypt(active_ciphertext) - self.assertEquals(self.input_data, active_decrypted) + self.assertEqual(self.input_data, active_decrypted) primary_decrypted = crypter.Decrypt(primary_ciphertext) - self.assertEquals(self.input_data, primary_decrypted) + self.assertEqual(self.input_data, primary_decrypted) def __testDecryptReflowed(self, subdir, reader=None): path = os.path.join(TEST_DATA, subdir) @@ -112,12 +112,12 @@ reflowed_active_ciphertext = self.__simulateReflow(active_ciphertext) active_decrypted = crypter.Decrypt(reflowed_active_ciphertext) - self.assertEquals(self.input_data, active_decrypted) + self.assertEqual(self.input_data, active_decrypted) primary_ciphertext = util.ReadFile(os.path.join(path, "2.out")) reflowed_primary_ciphertext = self.__simulateReflow(primary_ciphertext) primary_decrypted = crypter.Decrypt(reflowed_primary_ciphertext) - self.assertEquals(self.input_data, primary_decrypted) + self.assertEqual(self.input_data, primary_decrypted) def __testDecryptStream(self, subdir, reader, input_data, stream_buffer_size, len_to_read, stream_source): @@ -139,7 +139,7 @@ decoder=decoder, buffer_size=stream_buffer_size) plaintext = self.__readFromStream(decryption_stream, len_to_read) - self.assertEquals(self.input_data, plaintext, + self.assertEqual(self.input_data, plaintext, 'Active not equals for buffer:%d, read len:%d, src:%s' %( stream_buffer_size, len_to_read, @@ -154,7 +154,7 @@ decoder=decoder, buffer_size=stream_buffer_size) plaintext = self.__readFromStream(decryption_stream, len_to_read) - self.assertEquals(self.input_data, plaintext, + self.assertEqual(self.input_data, plaintext, 'Primary not equals for buffer:%d, read len:%d, src:%s' %( stream_buffer_size, len_to_read, @@ -165,11 +165,11 @@ crypter = keyczar.Crypter.Read(os.path.join(TEST_DATA, subdir)) ciphertext = crypter.Encrypt(self.input_data) plaintext = crypter.Decrypt(ciphertext) - self.assertEquals(self.input_data, plaintext) + self.assertEqual(self.input_data, plaintext) reflowed_ciphertext = self.__simulateReflow(ciphertext) plaintext = crypter.Decrypt(reflowed_ciphertext) - self.assertEquals(self.input_data, plaintext) + self.assertEqual(self.input_data, plaintext) self.__testEncryptAndDecryptUnencoded(subdir) @@ -181,7 +181,7 @@ except: pass plaintext = crypter.Decrypt(ciphertext, decoder=None) - self.assertEquals(self.input_data, plaintext) + self.assertEqual(self.input_data, plaintext) def __testStandardEncryptAndStreamDecrypt(self, subdir, input_data, @@ -203,11 +203,11 @@ decoder=decoder, buffer_size=stream_buffer_size) plaintext = self.__readFromStream(decryption_stream, len_to_read) - self.assertEquals(len(input_data), len(plaintext), + self.assertEqual(len(input_data), len(plaintext), 'Wrong length for buffer:%d, read len:%d' %(stream_buffer_size, len_to_read)) - self.assertEquals(input_data, plaintext, + self.assertEqual(input_data, plaintext, 'Not equals for buffer:%d, read len:%d' %(stream_buffer_size, len_to_read)) @@ -233,11 +233,11 @@ encryption_stream.close() ciphertext = ciphertext_stream.getvalue() plaintext = crypter.Decrypt(ciphertext, decoder=decoder) - self.assertEquals(len(input_data), len(plaintext), + self.assertEqual(len(input_data), len(plaintext), 'Wrong length for buffer:%d, write len:%d' %(stream_buffer_size, len_to_write)) - self.assertEquals(input_data, plaintext, + self.assertEqual(input_data, plaintext, 'Not equals for buffer:%d, write len:%d' %(stream_buffer_size, len_to_write)) @@ -269,11 +269,11 @@ decoder=decoder, buffer_size=stream_buffer_size) plaintext = self.__readFromStream(decryption_stream, len_to_rw) - self.assertEquals(len(input_data), len(plaintext), + self.assertEqual(len(input_data), len(plaintext), 'Wrong length for buffer:%d, r/w len:%d' %(stream_buffer_size, len_to_rw)) - self.assertEquals(input_data, plaintext, + self.assertEqual(input_data, plaintext, 'Not equals for buffer:%d, r/w len:%d' %(stream_buffer_size, len_to_rw)) @@ -413,7 +413,7 @@ decryption_stream = crypter.CreateDecryptingStreamReader( PseudoBlockingStream(ciphertext)) result = self.__readFromStream(decryption_stream, len_to_read=-1) - self.assertEquals(self.input_data, result) + self.assertEqual(self.input_data, result) def testStreamDecryptHandlesIOModuleBlockingExceptionRaised(self): """ @@ -459,7 +459,7 @@ decryption_stream = crypter.CreateDecryptingStreamReader( PseudoBlockingStream(ciphertext)) result = self.__readFromStream(decryption_stream, len_to_read=-1) - self.assertEquals(self.input_data, result) + self.assertEqual(self.input_data, result) def tearDown(self): self.input_data = None @@ -492,7 +492,7 @@ # ensure PyCrypto chosen keys.ACTIVE_CRYPT_LIB = 'pycrypto' - self.assertEquals( + self.assertEqual( aeskey.Decrypt(aeskey.Encrypt(s)), s, 'Cannot encrypt/decrypt with the same PyCrypto key! size:%s' %size ) @@ -500,28 +500,28 @@ # now switch to M2Crypto keys.ACTIVE_CRYPT_LIB = 'm2crypto' - self.assertEquals( + self.assertEqual( aeskey.Decrypt(aeskey.Encrypt(s)), s, 'Cannot encrypt/decrypt with the same M2Crypto key! size:%s' %size ) m2crypto_encrypted_str = aeskey.Encrypt(s) - self.assertEquals( + self.assertEqual( aeskey.Decrypt(pycrypto_encrypted_str), s, 'Cannot decrypt PyCrypto with M2Crypto key! size:%s' %size ) - self.assertEquals( + self.assertEqual( aeskey.Decrypt(m2crypto_encrypted_str), s, 'Cannot decrypt M2Crypto with M2Crypto key! size:%s' %size ) # now switch to PyCrypto keys.ACTIVE_CRYPT_LIB = 'pycrypto' - self.assertEquals( + self.assertEqual( aeskey.Decrypt(pycrypto_encrypted_str), s, 'Cannot decrypt PyCrypto with PyCrypto key! size:%s' %size ) - self.assertRefactoringTool: Refactored ../python3/tests/keyczar_tests/alltests.py RefactoringTool: No changes to ../python3/tests/keyczar_tests/__init__.py RefactoringTool: Refactored ../python3/src/keyczar/writers.py RefactoringTool: Refactored ../python3/src/keyczar/util.py Equals( + self.assertEqual( aeskey.Decrypt(m2crypto_encrypted_str), s, 'Cannot decrypt M2Crypto with PyCrypto key! size:%s' %size ) --- ../python3/tests/keyczar_tests/alltests.py (original) +++ ../python3/tests/keyczar_tests/alltests.py (refactored) @@ -22,11 +22,11 @@ import unittest -import crypter_test -import keyczart_test -import signer_test -import util_test -import session_test +from . import crypter_test +from . import keyczart_test +from . import signer_test +from . import util_test +from . import session_test def suite(): alltests = unittest.TestSuite() --- ../python3/src/keyczar/writers.py (original) +++ ../python3/src/keyczar/writers.py (refactored) @@ -20,8 +20,8 @@ """ import os -import errors -import util +from . import errors +from . import util def CreateWriter(location): """Factory function for Writers @@ -38,10 +38,8 @@ raise errors.KeyczarError( "Unable to create a writer for %s. Does the location exist?" % location) -class Writer(object): +class Writer(object, metaclass=util.ABCMeta): """Abstract class/interface providing supported methods for writing key sets.""" - - __metaclass__ = util.ABCMeta @util.abstractmethod def WriteMetadata(self, metadata, overwrite=True): --- ../python3/src/keyczar/util.py (original) +++ ../python3/src/keyczar/util.py (refactored) @@ -20,7 +20,7 @@ """ import base64 -import cPickle +import pickle import codecs import functools import math @@ -45,7 +45,7 @@ def __init__(self, errno, strerror, characters_written=0): super(IOError, self).__init__(errno, strerror) - if not isinstance(characters_written, (int, long)): + if not isinstance(characters_written, int): raise TypeError("characters_written must be a integer") self.characters_written = characters_written @@ -53,7 +53,7 @@ from pyasn1.codec.der import encoder from pyasn1.type import univ -import errors +from . import errors try: from abc import ABCMeta, abstractmethod, abstractproperty @@ -135,12 +135,12 @@ if version != 0: raise errors.KeyczarError("Unrecognized RSA Private Key Version") for i in range(len(RSA_PARAMS)): - params[RSA_PARAMS[i]] = long(key[i+1]) + params[RSA_PARAMS[i]] = int(key[i+1]) elif oid == DSA_OID: alg_params = ParseASN1Sequence(alg_params) for i in range(len(DSA_PARAMS)): - params[DSA_PARAMS[i]] = long(alg_params[i]) - params['x'] = long(key) + params[DSA_PARAMS[i]] = int(alg_params[i]) + params['x'] = int(key) else: raise errors.KeyczarError("Unrecognized AlgorithmIdentifier: not RSA/DSA") return params @@ -178,12 +178,12 @@ # then convert to OCTET STRING which can be ASN.1 decoded params = {} if oid == RSA_OID: - [params['n'], params['e']] = [long(x) for x in ParseASN1Sequence(pubkey)] + [params['n'], params['e']] = [int(x) for x in ParseASN1Sequence(pubkey)] elif oid == DSA_OID: - vals = [long(x) for x in ParseASN1Sequence(alg_params)] + vals = [int(x) for x in ParseASN1Sequence(alg_params)] for i in range(len(DSA_PARAMS)): params[DSA_PARAMS[i]] = vals[i] - params['y'] = long(pubkey) + params['y'] = int(pubkey) else: raise errors.KeyczarError("Unrecognized AlgorithmIdentifier: not RSA/DSA") return params @@ -237,8 +237,8 @@ seq = decoder.decode(sig)[0] if len(seq) != 2: raise errors.KeyczarError("Illegal DSA signature.") - r = long(seq.getComponentByPosition(0)) - s = long(seq.getComponentByPosition(1)) + r = int(seq.getComponentByPosition(0)) + s = int(seq.getComponentByPosition(1)) return (r, s) def MakeEmsaMessage(msg, modulus_size): @@ -288,7 +288,7 @@ def BytesToLong(byte_string): l = len(byte_string) - return long(sum([ord(byte_string[i]) * 256**(l - 1 - i) for i in range(l)])) + return int(sum([ord(byte_string[i]) * 256**(l - 1 - i) for i in range(l)])) def Xor(a, b): """Return a ^ b as a byte string where a and b are byte strings.""" @@ -796,7 +796,7 @@ data = self.bytebuffer + newdata RefactoringTool: Refactored ../python3/src/keyczar/readers.py RefactoringTool: Refactored ../python3/src/keyczar/keys.py RefactoringTool: Refactored ../python3/src/keyczar/keyinfo.py RefactoringTool: Refactored ../python3/src/keyczar/keydata.py RefactoringTool: Refactored ../python3/src/keyczar/keyczart.py try: newchars, decodedbytes = self.decode(data, self.errors) - except UnicodeDecodeError, exc: + except UnicodeDecodeError as exc: if firstline: newchars, decodedbytes = self.decode(data[:exc.start], self.errors) lines = newchars.splitlines(True) @@ -855,7 +855,7 @@ @functools.wraps(func) def memo(*args,**kwargs): - pickled_args = cPickle.dumps((args, sorted(kwargs.iteritems()))) + pickled_args = pickle.dumps((args, sorted(kwargs.items()))) if pickled_args not in memory: memory[pickled_args] = func(*args,**kwargs) --- ../python3/src/keyczar/readers.py (original) +++ ../python3/src/keyczar/readers.py (refactored) @@ -21,11 +21,11 @@ import os -import errors -import keydata -import keyinfo -import keys -import util +from . import errors +from . import keydata +from . import keyinfo +from . import keys +from . import util def CreateReader(location): """Factory function for Reader's @@ -43,10 +43,8 @@ raise errors.KeyczarError( "Unable to create a reader for %s. Does the location exist?" % location) -class Reader(object): +class Reader(object, metaclass=util.ABCMeta): """Interface providing supported methods (no implementation).""" - - __metaclass__ = util.ABCMeta @util.abstractmethod def GetMetadata(self): --- ../python3/src/keyczar/keys.py (original) +++ ../python3/src/keyczar/keys.py (refactored) @@ -47,10 +47,10 @@ # overideable crypt library selection ACTIVE_CRYPT_LIB = 'm2crypto' if EVP else 'pycrypto' -import errors -import keyczar -import keyinfo -import util +from . import errors +from . import keyczar +from . import keyinfo +from . import util #TODO: Note that simplejson deals in Unicode strings. So perhaps we should #modify all Read() methods to wrap data obtained from simplejson with str(). @@ -259,15 +259,15 @@ @return: EVP.Cipher """ assert selector in self.OP_TYPES, 'Invalid selector :%s' %selector - if selector == self.OP_ACTIVE and (len(self.ciphers.keys()) > 1 or - not len(self.ciphers.keys())): + if selector == self.OP_ACTIVE and (len(list(self.ciphers.keys())) > 1 or + not len(list(self.ciphers.keys()))): assert 0, 'If both encryption and decryption used then selector must \ be OP_ENCRYPT or OP_DECRYPT and at least 1 must be active' cipher = None if selector == self.OP_ACTIVE: # should only be one cipher active - cipher = self.ciphers.values()[0] + cipher = list(self.ciphers.values())[0] else: cipher = self.ciphers.get(selector) # have we been created a cipher for this selector yet? --- ../python3/src/keyczar/keyinfo.py (original) +++ ../python3/src/keyczar/keyinfo.py (refactored) @@ -20,7 +20,7 @@ @author: arkajit.dey@gmail.com (Arkajit Dey) """ -import errors +from . import errors class _NameId(object): def __init__(self, name, key_id): --- ../python3/src/keyczar/keydata.py (original) +++ ../python3/src/keyczar/keydata.py (refactored) @@ -25,8 +25,8 @@ except ImportError: import json -import errors -import keyinfo +from . import errors +from . import keyinfo class KeyMetadata(object): """Encodes metadata for a keyset with a name, purpose, type, and versions.""" @@ -38,7 +38,7 @@ self.encrypted = encrypted self.__versions = {} # dictionary from version nums to KeyVersions - versions = property(lambda self: self.__versions.values()) + versions = property(lambda self: list(self.__versions.values())) def __str__(self): return json.dumps({"name": self.name, --- ../python3/src/keyczar/keyczart.py (original) +++ ../python3/src/keyczar/keyczart.py (refactored) @@ -22,13 +22,13 @@ import os import sys -import errors -import keyczar -import keydata -import keyinfo -import readers -import writers -import util +from . import errors +from . import keyczar +from . import keydata +from . import keyinfo +from . import readers +frRefactoringTool: Refactored ../python3/src/keyczar/keyczar.py om . import writers +from . import util KEYSETS = [('aes', keyinfo.DECRYPT_AND_ENCRYPT, None, None), ('aes-crypted', keyinfo.DECRYPT_AND_ENCRYPT, None, 'aes'), @@ -165,9 +165,9 @@ return keyczar.Crypter.Read(location) def GenKeySet(loc): - print "Generating private key sets..." + print("Generating private key sets...") for (name, purpose, asymmetric, crypter) in KEYSETS: - print "." + print(".") dir_path = os.path.join(loc, name) if crypter: crypter = _CreateCrypter(os.path.join(loc, crypter)) @@ -178,13 +178,13 @@ AddKey(dir_path, keyinfo.PRIMARY, crypter) UseKey(purpose, dir_path, os.path.join(dir_path, "2.out"), crypter) - print "Exporting public key sets..." + print("Exporting public key sets...") for name in ('dsa', 'rsa-sign'): - print "." + print(".") dir_path = os.path.join(loc, name) dest = os.path.join(loc, name + '.public') PubKey(dir_path, dest) - print "Done!" + print("Done!") def Clean(directory): for filename in os.listdir(directory): @@ -207,7 +207,7 @@ reader.Close() def Usage(): - print '''Usage: "keyczart command flags" + print('''Usage: "keyczart command flags" Commands: create addkey pubkey promote demote revoke Flags: location name size status purpose destination version asymmetric crypter Command Usage: @@ -243,7 +243,7 @@ promote command. WARNING: The key will be destroyed. Optional flags are in [brackets]. The notation (a|b|c) means "a", "b", and "c" -are the valid choices''' +are the valid choices''') def CreateGenericKeyczar(loc, crypter=None): if mock is not None: @@ -290,7 +290,7 @@ [flag, val] = arg.split("=") flags[GetFlag(flag)] = val except ValueError: - print "Flags incorrectly formatted" + print("Flags incorrectly formatted") Usage() try: @@ -298,7 +298,7 @@ size = int(flags.get(SIZE, -1)) # -1 if non-existent except ValueError: - print "Size and version flags require an integer" + print("Size and version flags require an integer") Usage() loc = flags.get(LOCATION) # all commands need location --- ../python3/src/keyczar/keyczar.py (original) +++ ../python3/src/keyczar/keyczar.py (refactored) @@ -23,24 +23,22 @@ import os import warnings -import errors +from . import errors import json -import keydata -import keyinfo -import keys -import readers -import writers -import util +from . import keydata +from . import keyinfo +from . import keys +from . import readers +from . import writers +from . import util VERSION = 0 VERSION_BYTE = '\x00' KEY_HASH_SIZE = 4 HEADER_SIZE = 1 + KEY_HASH_SIZE -class Keyczar(object): +class Keyczar(object, metaclass=util.ABCMeta): """Abstract Keyczar base class.""" - - __metaclass__ = util.ABCMeta def __init__(self, reader): self.metadata = keydata.KeyMetadata.Read(reader.GetMetadata()) @@ -67,7 +65,7 @@ self._keys[version] = key self._keys[key.hash_id] = key - versions = property(lambda self: [k for k in self._keys.keys() + versions = property(lambda self: [k for k in list(self._keys.keys()) if isinstance(k, keydata.KeyVersion)], doc="""List of versions in key set.""") primary_key = property(lambda self: self.GetKey(self.primary_version), @@ -181,9 +179,9 @@ self.primary_version = version if size < self.default_size: - print("WARNING: %d-bit key size is less than recommended default key" + print(("WARNING: %d-bit key size is less than recommended default key" "size of %d bits for %s keys." - % (size, self.default_size, str(self.metadata.type))) + % (size, self.default_size, str(self.metadata.type)))) # Make sure no keys collide on their identifiers while True: @@ -288,7 +286,7 @@ write an unencrypted key set. @type encrypter: Encrypter """ - if isinstance(writer, basestring): + if isinstance(writer, str): writer = writeRefactoringTool: No changes to ../python3/src/keyczar/errors.py RefactoringTool: No changes to ../python3/src/keyczar/__init__.py RefactoringTool: Refactored ../python3/setup.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/tests/keyczar_tests/util_test.py RefactoringTool: ../python3/tests/keyczar_tests/signer_test.py RefactoringTool: ../python3/tests/keyczar_tests/session_test.py RefactoringTool: ../python3/tests/keyczar_tests/keyczart_test.py RefactoringTool: ../python3/tests/keyczar_tests/interop_test.py RefactoringTool: ../python3/tests/keyczar_tests/crypter_test.py RefactoringTool: ../python3/tests/keyczar_tests/alltests.py RefactoringTool: ../python3/tests/keyczar_tests/__init__.py RefactoringTool: ../python3/src/keyczar/writers.py RefactoringTool: ../python3/src/keyczar/util.py RefactoringTool: ../python3/src/keyczar/readers.py RefactoringTool: ../python3/src/keyczar/keys.py RefactoringTool: ../python3/src/keyczar/keyinfo.py RefactoringTool: ../python3/src/keyczar/keydata.py RefactoringTool: ../python3/src/keyczar/keyczart.py RefactoringTool: ../python3/src/keyczar/keyczar.py RefactoringTool: ../python3/src/keyczar/errors.py RefactoringTool: ../python3/src/keyczar/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ../python3/tests/keyczar_tests/crypter_test.py ### RefactoringTool: Line 61: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence RefactoringTool: Line 61: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence RefactoringTool: Line 87: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence RefactoringTool: Line 87: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence rs.CreateWriter(writer) warnings.warn( 'Using a string as the writer is deprecated. Use writers.CreateWriter', --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -41,7 +41,7 @@ maintainer_email='keyczar-discuss@googlegroups.com', license='http://www.apache.org/licenses/LICENSE-2.0', platforms=['any'], - classifiers=filter(None, classifiers.split("\n")), + classifiers=[_f for _f in classifiers.split("\n") if _f], long_description=doclines[0], # create an executable for the KeyCzar tool + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.21729 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-keyczar-0.715 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/keyczar copying src/keyczar/writers.py -> build/lib/keyczar copying src/keyczar/util.py -> build/lib/keyczar copying src/keyczar/readers.py -> build/lib/keyczar copying src/keyczar/keys.py -> build/lib/keyczar copying src/keyczar/keyinfo.py -> build/lib/keyczar copying src/keyczar/keydata.py -> build/lib/keyczar copying src/keyczar/keyczart.py -> build/lib/keyczar copying src/keyczar/keyczar.py -> build/lib/keyczar copying src/keyczar/errors.py -> build/lib/keyczar copying src/keyczar/__init__.py -> build/lib/keyczar + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-keyczar-0.715 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/keyczar copying src/keyczar/writers.py -> build/lib/keyczar copying src/keyczar/util.py -> build/lib/keyczar copying src/keyczar/readers.py -> build/lib/keyczar copying src/keyczar/keys.py -> build/lib/keyczar copying src/keyczar/keyinfo.py -> build/lib/keyczar copying src/keyczar/keydata.py -> build/lib/keyczar copying src/keyczar/keyczart.py -> build/lib/keyczar copying src/keyczar/keyczar.py -> build/lib/keyczar copying src/keyczar/errors.py -> build/lib/keyczar copying src/keyczar/__init__.py -> build/lib/keyczar + popd ~/RPM/BUILD/python-module-keyczar-0.715 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.21729 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-keyczar-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-keyczar-buildroot + cd python-module-keyczar-0.715 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-keyczar-0.715 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-keyczar-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-keyczar-buildroot creating /usr/src/tmp/python-module-keyczar-buildroot/usr creating /usr/src/tmp/python-module-keyczar-buildroot/usr/lib creating /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/__init__.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/errors.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/keyczar.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/keyczart.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/keydata.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/keyinfo.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/keys.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/readers.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/util.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar copying build/lib/keyczar/writers.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/errors.py to errors.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py to keyczar.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py to keyczart.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py to keydata.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyinfo.py to keyinfo.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py to keys.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py to readers.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py to util.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/writers.py to writers.cpython-35.pyc running install_egg_info running egg_info writing python_keyczar.egg-info/PKG-INFO writing dependency_links to python_keyczar.egg-info/dependency_links.txt writing entry points to python_keyczar.egg-info/entry_points.txt writing requirements to python_keyczar.egg-info/requires.txt writing top-level names to python_keyczar.egg-info/top_level.txt reading manifest file 'python_keyczar.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_keyczar.egg-info/SOURCES.txt' Copying python_keyczar.egg-info to /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info running install_scripts Installing keyczart script to /usr/src/tmp/python-module-keyczar-buildroot/usr/bin + popd ~/RPM/BUILD/python-module-keyczar-0.715 + pushd /usr/src/tmp/python-module-keyczar-buildroot/usr/bin ~/tmp/python-module-keyczar-buildroot/usr/bin ~/RPM/BUILD/python-module-keyczar-0.715 ++ ls + for i in '$(ls)' + mv keyczart keyczart.py3 + popd ~/RPM/BUILD/python-module-keyczar-0.715 + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-keyczar-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/__init__.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/errors.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/keyczar.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/keyczart.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/keydata.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/keyinfo.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/keys.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/readers.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/util.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar copying build/lib/keyczar/writers.py -> /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/errors.py to errors.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py to keyczar.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py to keyczart.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.py to keydata.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyinfo.py to keyinfo.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py to keys.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py to readers.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py to util.pyc byte-compiling /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/writers.py to writers.pyc running install_egg_info running egg_info writing requirements to python_keyczar.egg-info/requires.txt writing python_keyczar.egg-info/PKG-INFO writing top-level names to python_keyczar.egg-info/top_level.txt writing dependency_links to python_keyczar.egg-info/dependency_links.txt writing entry points to python_keyczar.egg-info/entry_points.txt reading manifest file 'python_keyczar.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_keyczar.egg-info/SOURCES.txt' Copying python_keyczar.egg-info to /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/python_keyczar-0.715-py2.7.egg-info running install_scripts Installing keyczart script to /usr/src/tmp/python-module-keyczar-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-keyczar-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-keyczar-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-keyczar-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-keyczar-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-keyczar-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-keyczar-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/__init__.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/errors.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyinfo.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/writers.pyc compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/__init__.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/errors.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyinfo.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/writers.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-keyczar-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/__init__.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/errors.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyinfo.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/writers.py Bytecompiling python3 modules in /usr/src/tmp/python-module-keyczar-buildroot using python3 unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/keyczar.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/keys.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/util.cpython-35.pyc unlink /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-35.pyc compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__init__.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/errors.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyinfo.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/writers.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-keyczar-buildroot using python3 -O compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__init__.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/errors.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyinfo.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/writers.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-keyczar-buildroot using python3 -OO compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/__init__.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/errors.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyinfo.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py compile /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/writers.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-35.pyc' './usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-35.pyc' './usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-35.pyc' './usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-35.pyc' './usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-35.pyc' './usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-35.pyc' './usr/lib/python3/site-packages/keyczar/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/keyczar/__pycache__/__init__.cpython-35.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/keyczar/writers.pyo' => './usr/lib/python2.7/site-packages/keyczar/writers.pyc' './usr/lib/python2.7/site-packages/keyczar/readers.pyo' => './usr/lib/python2.7/site-packages/keyczar/readers.pyc' './usr/lib/python2.7/site-packages/keyczar/keyinfo.pyo' => './usr/lib/python2.7/site-packages/keyczar/keyinfo.pyc' './usr/lib/python2.7/site-packages/keyczar/keydata.pyo' => './usr/lib/python2.7/site-packages/keyczar/keydata.pyc' './usr/lib/python2.7/site-packages/keyczar/keyczart.pyo' => './usr/lib/python2.7/site-packages/keyczar/keyczart.pyc' './usr/lib/python2.7/site-packages/keyczar/errors.pyo' => './usr/lib/python2.7/site-packages/keyczar/errors.pyc' './usr/lib/python2.7/site-packages/keyczar/__init__.pyo' => './usr/lib/python2.7/site-packages/keyczar/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.6027 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-keyczar-0.715 + python setup.py test running test running egg_info deleting python_keyczar.egg-info/requires.txt writing python_keyczar.egg-info/PKG-INFO writing top-level names to python_keyczar.egg-info/top_level.txt writing dependency_links to python_keyczar.egg-info/dependency_links.txt writing entry points to python_keyczar.egg-info/entry_points.txt reading manifest file 'python_keyczar.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_keyczar.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + export PYTHONPATH=/usr/src/RPM/BUILD/python-module-keyczar-0.715/src + PYTHONPATH=/usr/src/RPM/BUILD/python-module-keyczar-0.715/src + pushd tests/keyczar_tests ~/RPM/BUILD/python-module-keyczar-0.715/tests/keyczar_tests ~/RPM/BUILD/python-module-keyczar-0.715 + py.test -vv ============================= test session starts ============================== platform linux2 -- Python 2.7.11, pytest-3.2.1, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python cachedir: ../../.cache rootdir: /usr/src/RPM/BUILD/python-module-keyczar-0.715, inifile: collecting ... collected 91 items crypter_test.py::BaseCrypterTest::testAesDecrypt PASSED crypter_test.py::BaseCrypterTest::testAesEncryptAndDecrypt PASSED crypter_test.py::BaseCrypterTest::testAesEncryptedKeyDecrypt PASSED crypter_test.py::BaseCrypterTest::testAesStandardEncryptAndStreamDecryptInterop PASSED crypter_test.py::BaseCrypterTest::testAesStreamEncryptAndStandardDecryptInterop PASSED crypter_test.py::BaseCrypterTest::testAesStreamEncryptAndStreamDecryptInterop PASSED crypter_test.py::BaseCrypterTest::testBadAesCiphertexts PASSED crypter_test.py::BaseCrypterTest::testBadAesCiphertextsStream PASSED crypter_test.py::BaseCrypterTest::testRsaDecrypt PASSED crypter_test.py::BaseCrypterTest::testRsaEncryptAndDecrypt PASSED crypter_test.py::BaseCrypterTest::testStreamDecryptHandlesIOModuleBlockingExceptionRaised PASSED crypter_test.py::BaseCrypterTest::testStreamDecryptHandlesIOModuleBlockingNoneReturned PASSED crypter_test.py::PyCryptoCrypterTest::testAesDecrypt PASSED crypter_test.py::PyCryptoCrypterTest::testAesEncryptAndDecrypt PASSED crypter_test.py::PyCryptoCrypterTest::testAesEncryptedKeyDecrypt PASSED crypter_test.py::PyCryptoCrypterTest::testAesStandardEncryptAndStreamDecryptInterop PASSED crypter_test.py::PyCryptoCrypterTest::testAesStreamEncryptAndStandardDecryptInterop PASSED crypter_test.py::PyCryptoCrypterTest::testAesStreamEncryptAndStreamDecryptInterop PASSED crypter_test.py::PyCryptoCrypterTest::testBadAesCiphertexts PASSED crypter_test.py::PyCryptoCrypterTest::testBadAesCiphertextsStream PASSED crypter_test.py::PyCryptoCrypterTest::testRsaDecrypt PASSED crypter_test.py::PyCryptoCrypterTest::testRsaEncryptAndDecrypt PASSED crypter_test.py::PyCryptoCrypterTest::testStreamDecryptHandlesIOModuleBlockingExceptionRaised PASSED crypter_test.py::PyCryptoCrypterTest::testStreamDecryptHandlesIOModuleBlockingNoneReturned PASSED crypter_test.py::M2CryptoCrypterTest::testAesDecrypt PASSED crypter_test.py::M2CryptoCrypterTest::testAesEncryptAndDecrypt PASSED crypter_test.py::M2CryptoCrypterTest::testAesEncryptedKeyDecrypt PASSED crypter_test.py::M2CryptoCrypterTest::testAesStandardEncryptAndStreamDecryptInterop PASSED crypter_test.py::M2CryptoCrypterTest::testAesStreamEncryptAndStandardDecryptInterop PASSED crypter_test.py::M2CryptoCrypterTest::testAesStreamEncryptAndStreamDecryptInterop PASSED crypter_test.py::M2CryptoCrypterTest::testBadAesCiphertexts PASSED crypter_test.py::M2CryptoCrypterTest::testBadAesCiphertextsStream PASSED crypter_test.py::M2CryptoCrypterTest::testRsaDecrypt PASSED crypter_test.py::M2CryptoCrypterTest::testRsaEncryptAndDecrypt PASSED crypter_test.py::M2CryptoCrypterTest::testStreamDecryptHandlesIOModuleBlockingExceptionRaised PASSED crypter_test.py::M2CryptoCrypterTest::testStreamDecryptHandlesIOModuleBlockingNoneReturned PASSED crypter_test.py::PyCryptoM2CryptoInteropTest::testKeysizeInterop PASSED crypter_test.py::CreateReaderTest::testCreateReaderDirectInstantiation PASSED crypter_test.py::CreateReaderTest::testDefaultCreateReaderIgnoresUnsupported PASSED crypter_test.py::CreateReaderTest::testFileReaderDoesNotOpenNonExistantLocation PASSED crypter_test.py::CreateReaderTest::testFileReaderOpensExistingLocation PASSED crypter_test.py::CreateReaderTest::testNewLocationTypeSupported PASSED crypter_test.py::CreateWriterTest::testCreateWriterDirectInstantiation PASSED crypter_test.py::CreateWriterTest::testDefaultCreateWriterIgnoresUnsupported PASSED crypter_test.py::CreateWriterTest::testFileWriterDoesNotOpenNonExistantLocation PASSED crypter_test.py::CreateWriterTest::testFileWriterOpensExistingLocation PASSED crypter_test.py::CreateWriterTest::testNewLocationTypeSupported PASSED keyczart_test.py::KeyczartTest::testAddKey PASSED keyczart_test.py::KeyczartTest::testAddKeyCrypterCreatesCrypter PASSED keyczart_test.py::KeyczartTest::testAddKeySizeFlag PASSED keyczart_test.py::KeyczartTest::testCreate PASSED keyczart_test.py::KeyczartTest::testDemote PASSED keyczart_test.py::KeyczartTest::testPromote PASSED keyczart_test.py::KeyczartTest::testPubKey PASSED keyczart_test.py::KeyczartTest::testRevoke PASSED keyczart_test.py::KeyczartTest::testWriteIsBackwardCompatible PASSED session_test.py::SessionEncrypterTest::testSessionEncryptAndDecrypt PASSED session_test.py::SessionEncrypterTest::testSignedSessionEncryptAndDecrypt PASSED signer_test.py::SignerTest::testBadDsaVerify PASSED signer_test.py::SignerTest::testBadHmacVerify PASSED signer_test.py::SignerTest::testBadRsaVerify PASSED signer_test.py::SignerTest::testDsaPublicVerify PASSED signer_test.py::SignerTest::testDsaSignAndVerify PASSED signer_test.py::SignerTest::testDsaSignerVerify PASSED signer_test.py::SignerTest::testDsaUnversionedSignAndVerify PASSED signer_test.py::SignerTest::testDsaVerify PASSED signer_test.py::SignerTest::testHmacBadSigs PASSED signer_test.py::SignerTest::testHmacSignAndVerify PASSED signer_test.py::SignerTest::testHmacUnversionedSignAndVerify PASSED signer_test.py::SignerTest::testHmacVerify PASSED signer_test.py::SignerTest::testRsaPublicVerify PASSED signer_test.py::SignerTest::testRsaSignAndVerify PASSED signer_test.py::SignerTest::testRsaSignatureLengthPadding PASSED signer_test.py::SignerTest::testRsaSignerVerify PASSED signer_test.py::SignerTest::testRsaUnversionedSignAndVerify PASSED signer_test.py::SignerTest::testRsaVerify PASSED signer_test.py::SignerTest::testUnencodedAttachedSign PASSED signer_test.py::SignerTest::testUnencodedAttachedVerify PASSED signer_test.py::SignerTest::testUnencodedSign PASSED signer_test.py::SignerTest::testUnencodedUnversionedSign PASSED signer_test.py::SignerTest::testUnencodedUnversionedVerify PASSED signer_test.py::SignerTest::testUnencodedVerify PASSED util_test.py::Base64WSStreamingReadTest::testDoublePadRead PASSED util_test.py::Base64WSStreamingReadTest::testNoPadRead PASSED util_test.py::Base64WSStreamingReadTest::testSimulateDecrypter PASSED util_test.py::Base64WSStreamingReadTest::testSinglePadRead PASSED util_test.py::ParseX509Test::testParseX509 PASSED util_test.py::Base64WSStreamingWriteTest::testDoublePadWrite PASSED util_test.py::Base64WSStreamingWriteTest::testNoPadWrite PASSED util_test.py::Base64WSStreamingWriteTest::testRandomLongerWrite PASSED util_test.py::Base64WSStreamingWriteTest::testSinglePadWrite PASSED ========================== 91 passed in 6.18 seconds =========================== + popd ~/RPM/BUILD/python-module-keyczar-0.715 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-keyczar-0.715 + python3 setup.py test running test running egg_info writing top-level names to python_keyczar.egg-info/top_level.txt writing entry points to python_keyczar.egg-info/entry_points.txt writing dependency_links to python_keyczar.egg-info/dependency_links.txt writing python_keyczar.egg-info/PKG-INFO deleting python_keyczar.egg-info/requires.txt reading manifest file 'python_keyczar.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_keyczar.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + popd ~/RPM/BUILD/python-module-keyczar-0.715 + exit 0 Processing files: python-module-keyczar-0.715-alt1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.97004 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-keyczar-0.715 + DOCDIR=/usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python-module-keyczar-0.715 + export DOCDIR + rm -rf /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python-module-keyczar-0.715 + /bin/mkdir -p /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python-module-keyczar-0.715 + cp -prL ChangeLog README doc/pycrypt.pdf doc/pycrypt.tex /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python-module-keyczar-0.715 + chmod -R go-w /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python-module-keyczar-0.715 + chmod -R a+rX /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python-module-keyczar-0.715 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Hbb2KP 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.Lx0jU4 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-keyczar-buildroot/usr/bin/keyczart: skipping sys python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py: hiding keydata, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py: hiding keyinfo, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py: hiding keys, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py: hiding readers, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py: hiding writers, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczar.py: hiding util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: skipping sys python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: hiding keyczar, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: hiding keydata, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: hiding keyinfo, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: hiding readers, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: hiding writers, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyczart.py: hiding util, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.py: line=24 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.py: line=26 IGNORE (for REQ=slight and deep=8) module=json python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keydata.py: hiding keyinfo, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keyinfo.py: hiding errors, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: line=29 IGNORE (for REQ=slight and deep=8) module=hashlib /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: line=31 IGNORE (for REQ=slight and deep=8) module=sha /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: line=37 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: line=39 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: line=43 IGNORE (for REQ=slight and deep=8) module=M2Crypto python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: hiding keyczar, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: hiding keyinfo, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/keys.py: hiding util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py: hiding keydata, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py: hiding keyinfo, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py: hiding keys, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/readers.py: hiding util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py: line=34 IGNORE (for REQ=slight and deep=8) module=hashlib /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py: line=36 IGNORE (for REQ=slight and deep=8) module=sha /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py: line=40 IGNORE (for REQ=slight and deep=8) module=io python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py: hiding errors, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/util.py: line=59 IGNORE (for REQ=slight and deep=8) module=abc python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/writers.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python2.7/site-packages/keyczar/writers.py: hiding util, which SEEMS TO BE SELF-SATISFIED Provides: python2.7-module-keyczar = 0.715-alt1.1.1, python2.7(keyczar), python2.7(keyczar.errors), python2.7(keyczar.keyczar), python2.7(keyczar.keyczart), python2.7(keyczar.keydata), python2.7(keyczar.keyinfo), python2.7(keyczar.keys), python2.7(keyczar.readers), python2.7(keyczar.util), python2.7(keyczar.writers) Requires: python = 2.7, python2.7(Crypto), python2.7(pyasn1), python2.7(json), /usr/bin/python2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(pkg_resources) Processing files: python3-module-keyczar-0.715-alt1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.57268 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-keyczar-0.715 + DOCDIR=/usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python3-module-keyczar-0.715 + export DOCDIR + rm -rf /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python3-module-keyczar-0.715 + /bin/mkdir -p /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python3-module-keyczar-0.715 + cp -prL ChangeLog README doc/pycrypt.pdf doc/pycrypt.tex /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python3-module-keyczar-0.715 + chmod -R go-w /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python3-module-keyczar-0.715 + chmod -R a+rX /usr/src/tmp/python-module-keyczar-buildroot/usr/share/doc/python3-module-keyczar-0.715 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.X1Lmgo 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.Bsi0MK 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-keyczar-buildroot/usr/bin/keyczart.py3: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py: line=26 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py: line=29 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py: line=30 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py: line=31 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py: line=32 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczar.py: line=33 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: line=25 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: line=26 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: line=27 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: line=29 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: line=30 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyczart.py: line=31 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py: line=24 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py: line=26 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keydata.py: line=29 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keyinfo.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=29 IGNORE (for REQ=slight and deep=8) module=hashlib /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=31 IGNORE (for REQ=slight and deep=8) module=sha /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=37 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=39 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=43 IGNORE (for REQ=slight and deep=8) module=M2Crypto /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=50 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=51 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=52 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/keys.py: line=53 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py: line=24 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py: line=25 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py: line=26 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py: line=27 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/readers.py: line=28 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=34 IGNORE (for REQ=slight and deep=8) module=hashlib /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=36 IGNORE (for REQ=slight and deep=8) module=sha /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=40 IGNORE (for REQ=slight and deep=8) module=io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=56 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=59 IGNORE (for REQ=slight and deep=8) module=abc /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=29) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=30) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=31) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=32) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=33) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=34) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=35) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=36) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=37) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=38) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=39) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=40) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=41) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=42) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/util.py: line=882 IGNORE (for REQ=slight and deep=43) module=%s /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/writers.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-keyczar-buildroot/usr/lib/python3/site-packages/keyczar/writers.py: line=24 possible relative import from ., UNIMPLEMENTED Provides: python3(keyczar), python3.3(keyczar), python3(keyczar.errors), python3(keyczar.keyczar), python3(keyczar.keyczart), python3(keyczar.keydata), python3(keyczar.keyinfo), python3(keyczar.keys), python3(keyczar.readers), python3(keyczar.util), python3(keyczar.writers), python3.3(keyczar.errors), python3.3(keyczar.keyczar), python3.3(keyczar.keyczart), python3.3(keyczar.keydata), python3.3(keyczar.keyinfo), python3.3(keyczar.keys), python3.3(keyczar.readers), python3.3(keyczar.util), python3.3(keyczar.writers) Requires: python3(Crypto) < 0, python3(pyasn1) < 0, /usr/bin/python3, /usr/lib/python3/site-packages, python3(base64) < 0, python3(codecs) < 0, python3(functools) < 0, python3(hmac) < 0, python3(json) < 0, python3(math) < 0, python3(os) < 0, python3(pickle) < 0, python3(pkg_resources) < 0, python3(random) < 0, python3(struct) < 0, python3(warnings) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-keyczar-0.715-alt1.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-keyczar-0.715-alt1.1.1.noarch.rpm 18.07user 1.33system 0:24.49elapsed 79%CPU (0avgtext+0avgdata 51916maxresident)k 0inputs+0outputs (0major+282540minor)pagefaults 0swaps 24.92user 4.66system 0:36.47elapsed 81%CPU (0avgtext+0avgdata 121908maxresident)k 0inputs+0outputs (0major+528210minor)pagefaults 0swaps --- python3-module-keyczar-0.715-alt1.1.1.noarch.rpm.repo 2016-03-14 18:27:41.000000000 +0000 +++ python3-module-keyczar-0.715-alt1.1.1.noarch.rpm.hasher 2019-04-14 01:24:50.135353124 +0000 @@ -4,20 +4,32 @@ /usr/lib/python3/site-packages/keyczar/__pycache__ 40755 -/usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keyczar.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keyczar.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keys.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/keys.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/util.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/util.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/errors.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyczar.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyczar.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyczar.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyczart.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keydata.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keyinfo.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keys.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keys.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/keys.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/readers.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/util.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/util.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/util.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/keyczar/__pycache__/writers.cpython-35.pyc 100644 /usr/lib/python3/site-packages/keyczar/errors.py 100644 @@ -31,9 +43,9 @@ /usr/lib/python3/site-packages/keyczar/writers.py 100644 -/usr/lib/python3/site-packages/python_keyczar-0.715-py3.3.egg-info 40755 -/usr/lib/python3/site-packages/python_keyczar-0.715-py3.3.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/python_keyczar-0.715-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/python_keyczar-0.715-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/python_keyczar-0.715-py3.3.egg-info/entry_points.txt 100644 -/usr/lib/python3/site-packages/python_keyczar-0.715-py3.3.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/python_keyczar-0.715-py3.3.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info 40755 +/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info/entry_points.txt 100644 +/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/python_keyczar-0.715-py3.5.egg-info/top_level.txt 100644 /usr/share/doc/python3-module-keyczar-0.715 40755 @@ -43,18 +55,18 @@ /usr/share/doc/python3-module-keyczar-0.715/pycrypt.tex 100644 -Requires: python3.3(Crypto) -Requires: python3.3(pyasn1) +Requires: python3(Crypto) < 0 +Requires: python3(pyasn1) < 0 Requires: /usr/bin/python3 Requires: /usr/lib/python3/site-packages -Requires: python3.3(base64) -Requires: python3.3(codecs) -Requires: python3.3(functools) -Requires: python3.3(hmac) -Requires: python3.3(json) -Requires: python3.3(math) -Requires: python3.3(os) -Requires: python3.3(pickle) -Requires: python3.3(pkg_resources) -Requires: python3.3(random) -Requires: python3.3(struct) -Requires: python3.3(warnings) +Requires: python3(base64) < 0 +Requires: python3(codecs) < 0 +Requires: python3(functools) < 0 +Requires: python3(hmac) < 0 +Requires: python3(json) < 0 +Requires: python3(math) < 0 +Requires: python3(os) < 0 +Requires: python3(pickle) < 0 +Requires: python3(pkg_resources) < 0 +Requires: python3(random) < 0 +Requires: python3(struct) < 0 +Requires: python3(warnings) < 0 Requires: rpmlib(PayloadIsLzma)