<86>Oct 31 10:49:52 userdel[4002334]: delete user 'rooter'
<86>Oct 31 10:49:52 userdel[4002334]: removed group 'rooter' owned by 'rooter'
<86>Oct 31 10:49:52 userdel[4002334]: removed shadow group 'rooter' owned by 'rooter'
<86>Oct 31 10:49:52 groupadd[4002373]: group added to /etc/group: name=rooter, GID=675
<86>Oct 31 10:49:52 groupadd[4002373]: group added to /etc/gshadow: name=rooter
<86>Oct 31 10:49:52 groupadd[4002373]: new group: name=rooter, GID=675
<86>Oct 31 10:49:52 useradd[4002443]: new user: name=rooter, UID=675, GID=675, home=/root, shell=/bin/bash
<86>Oct 31 10:49:52 userdel[4002805]: delete user 'builder'
<86>Oct 31 10:49:52 userdel[4002805]: removed group 'builder' owned by 'builder'
<86>Oct 31 10:49:52 userdel[4002805]: removed shadow group 'builder' owned by 'builder'
<86>Oct 31 10:49:53 groupadd[4003559]: group added to /etc/group: name=builder, GID=676
<86>Oct 31 10:49:53 groupadd[4003559]: group added to /etc/gshadow: name=builder
<86>Oct 31 10:49:53 groupadd[4003559]: new group: name=builder, GID=676
<86>Oct 31 10:49:53 useradd[4003728]: new user: name=builder, UID=676, GID=676, home=/usr/src, shell=/bin/bash
<13>Oct 31 10:50:03 rpmi: libgdbm-1.8.3-alt10 1454943334 installed
<13>Oct 31 10:50:03 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed
<13>Oct 31 10:50:04 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed
<13>Oct 31 10:50:04 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed
<13>Oct 31 10:50:04 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Oct 31 10:50:04 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Oct 31 10:50:04 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed
<13>Oct 31 10:50:04 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Oct 31 10:50:04 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed
<13>Oct 31 10:50:04 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed
<13>Oct 31 10:50:04 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed
<13>Oct 31 10:50:04 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:50:05 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:50:05 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:50:05 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed
<13>Oct 31 10:50:05 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed
<13>Oct 31 10:50:10 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed
<13>Oct 31 10:50:10 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed
<13>Oct 31 10:50:10 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed
<13>Oct 31 10:50:10 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed
<86>Oct 31 10:50:10 groupadd[4056448]: group added to /etc/group: name=_keytab, GID=499
<86>Oct 31 10:50:10 groupadd[4056448]: group added to /etc/gshadow: name=_keytab
<86>Oct 31 10:50:10 groupadd[4056448]: new group: name=_keytab, GID=499
<13>Oct 31 10:50:10 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed
<13>Oct 31 10:50:10 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed
<13>Oct 31 10:50:10 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed
<13>Oct 31 10:50:10 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:10 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:10 rpmi: python-modules-email-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:10 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:11 rpmi: python-modules-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:11 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:11 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:11 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:11 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:50:11 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/pysycache-3.1-alt3.nosrc.rpm
Installing pysycache-3.1-alt3.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72466
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf pysycache-3.1
+ echo 'Source #0 (pysycache-3.1.tar.gz):'
Source #0 (pysycache-3.1.tar.gz):
+ /bin/tar -xf -
+ /bin/gzip -dc /usr/src/RPM/SOURCES/pysycache-3.1.tar.gz
+ cd pysycache-3.1
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (port-to-python3.patch):'
Patch #0 (port-to-python3.patch):
+ /usr/bin/patch -p2
patching file usr/bin/pysycache
patching file usr/share/pysycache/datas.py
patching file usr/share/pysycache/datasclass.py
patching file usr/share/pysycache/pysybuttons.py
patching file usr/share/pysycache/pysycache.py
patching file usr/share/pysycache/pysyclasses.py
patching file usr/share/pysycache/pysyclick.py
patching file usr/share/pysycache/pysydblclick.py
patching file usr/share/pysycache/pysyihm.py
patching file usr/share/pysycache/pysymove.py
patching file usr/share/pysycache/pysypuzzle.py
patching file usr/share/pysycache/pysyselect.py
+ 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 ./usr/share/pysycache/pysyselect.py
RefactoringTool: No changes to ./usr/share/pysycache/pysypuzzle.py
RefactoringTool: No changes to ./usr/share/pysycache/pysymove.py
RefactoringTool: No changes to ./usr/share/pysycache/pysyihm.py
RefactoringTool: No changes to ./usr/share/pysycache/pysydblclick.py
RefactoringTool: No changes to ./usr/share/pysycache/pysyclick.py
RefactoringTool: Refactored ./usr/share/pysycache/pysyclasses.py
RefactoringTool: Refactored ./usr/share/pysycache/pysycache.py
--- ./usr/share/pysycache/pysyselect.py	(original)
+++ ./usr/share/pysycache/pysyselect.py	(refactored)
@@ -51,11 +51,11 @@
 
 class PysyUser:
 	"""A user """
-	name = u''
+	name = ''
 	withsound = 0
 	level = 2
 	id = 0
-	photo = u''
+	photo = ''
 	colonne = 0
 	rangee = 0
 	left = 0
@@ -240,7 +240,7 @@
 						title =  datas.GetTextInLang("IB0", "Name of the new user")
 						valutf, nvrep, returnvalue = pysyihm.ShowInputBox(title)
 						if returnvalue == 1:
-							olddir = os.getcwdu()
+							olddir = os.getcwd()
 							os.chdir(const.GRepUsersPysycache)
 							os.mkdir(valutf)
 							os.chdir(olddir)
@@ -459,16 +459,16 @@
 		if const.GWithSound == 1:
 			try:
 				pygame.mixer.pre_init(44100, -16, 2, 2048)
-			except  Exception, err:
+			except  Exception as err:
 				const.GWithSound = 0
 				const.GSoundError = 1
-				print ""
-				print ""
-				print "*************************************************************"
-				print "*"
-				print '*           Error in sound initialization : ', err
-				print "*"
-				print "*************************************************************"
+				print("")
+				print("")
+				print("*************************************************************")
+				print("*")
+				print('*           Error in sound initialization : ', err)
+				print("*")
+				print("*************************************************************")
 
 		(nbtry, nbfail) = pygame.init()
 		if nbfail != 0:
--- ./usr/share/pysycache/pysyclasses.py	(original)
+++ ./usr/share/pysycache/pysyclasses.py	(refactored)
@@ -1876,19 +1876,19 @@
 		""" Read the configuration file for the pysycache user"""
 
 		#verification que les repertoires de l'utilisateur existent
-		myrep = os.path.join(const.GRepPersoUser, unicode("themes-buttons"))
+		myrep = os.path.join(const.GRepPersoUser, str("themes-buttons"))
 		if os.path.isdir(myrep) == False:
 			os.makedirs(myrep)
-		myrep = os.path.join(const.GRepPersoUser, unicode("themes-click"))
+		myrep = os.path.join(const.GRepPersoUser, str("themes-click"))
 		if os.path.isdir(myrep) == False:
 			os.makedirs(myrep)
-		myrep = os.path.join(const.GRepPersoUser, unicode("themes-move"))
+		myrep = os.path.join(const.GRepPersoUser, str("themes-move"))
 		if os.path.isdir(myrep) == False:
 			os.makedirs(myrep)
-		myrep = os.path.join(const.GRepPersoUser, unicode("themes-dblclick"))
+		myrep = os.path.join(const.GRepPersoUser, str("themes-dblclick"))
 		if os.path.isdir(myrep) == False:
 			os.makedirs(myrep)
-		myrep = os.path.join(const.GRepPersoUser, unicode("themes-puzzle"))
+		myrep = os.path.join(const.GRepPersoUser, str("themes-puzzle"))
 		if os.path.isdir(myrep) == False:
 			os.makedirs(myrep)
 
--- ./usr/share/pysycache/pysycache.py	(original)
+++ ./usr/share/pysycache/pysycache.py	(refactored)
@@ -98,30 +98,30 @@
 				datas.DebugMessage("the directory of scores ( %s ) doesn't exist !" %const.GRepScores)
 				os.makedirs(const.GRepScores)
 
-			myrep = os.path.join(const.GRepScores, unicode("themes-buttons"))
-			if os.path.isdir(myrep) == False:
-				os.makedirs(myrep)
-			myrep = os.path.join(const.GRepScores, unicode("themes-click"))
-			if os.path.isdir(myrep) == False:
-				os.makedirs(myrep)
-			myrep = os.path.join(const.GRepScores, unicode("themes-move"))
-			if os.path.isdir(myrep) == False:
-				os.makedirs(myrep)
-			myrep = os.path.join(const.GRepScores, unicode("themes-dblclick"))
-			if os.path.isdir(myrep) == False:
-				os.makedirs(myrep)
-			myrep = os.path.join(const.GRepScores, unicode("themes-puzzle"))
-			if os.path.isdir(myrep) == False:
-				os.makedirs(myrep)
-
-		except  Exception, err:
-			print ""
-			print ""
-			print "*************************************************************"
-			print "*"
-			print '*           Error in directories creation : ', err
-			print "*"
-			print "*************************************************************"
+			myrep = os.path.join(const.GRepScores, str("themes-buttons"))
+			if os.path.isdir(myrep) == False:
+				os.makedirs(myrep)
+			myrep = os.path.join(const.GRepScores, str("themes-click"))
+			if os.path.iRefactoringTool: Refactored ./usr/share/pysycache/pysybuttons.py
RefactoringTool: No changes to ./usr/share/pysycache/datasclass.py
RefactoringTool: Refactored ./usr/share/pysycache/datas.py
sdir(myrep) == False:
+				os.makedirs(myrep)
+			myrep = os.path.join(const.GRepScores, str("themes-move"))
+			if os.path.isdir(myrep) == False:
+				os.makedirs(myrep)
+			myrep = os.path.join(const.GRepScores, str("themes-dblclick"))
+			if os.path.isdir(myrep) == False:
+				os.makedirs(myrep)
+			myrep = os.path.join(const.GRepScores, str("themes-puzzle"))
+			if os.path.isdir(myrep) == False:
+				os.makedirs(myrep)
+
+		except  Exception as err:
+			print("")
+			print("")
+			print("*************************************************************")
+			print("*")
+			print('*           Error in directories creation : ', err)
+			print("*")
+			print("*************************************************************")
 
 		if const.GPysyUserMode == 0:
 			#un joueur par utilisateur machine
@@ -220,7 +220,7 @@
 # analyse des parametres passes en arguement
 for opt in sys.argv:
 	if const.GDebug == 1:
-		print "option : ", opt
+		print("option : ", opt)
 
 	if opt == '-nf':
 		const.GPrefUserFromOptions.FullScreen = 0
@@ -244,7 +244,7 @@
 
 	if opt == '-debug':
 		const.GDebug = 1
-		print "Mode debug"
+		print("Mode debug")
 	if opt == '-admin':
 		const.GAdmin = 1
 
@@ -253,10 +253,10 @@
 	if opt == '--help':
 		datas.help_message()
 	if opt == '--version':
-		print 'pysycache version 3.1'
+		print('pysycache version 3.1')
 		sys.exit(0)
 	if opt == '--python-version':
-		print 'Python '+ sys.version
+		print('Python '+ sys.version)
 		sys.exit(0)
 
 
--- ./usr/share/pysycache/pysybuttons.py	(original)
+++ ./usr/share/pysycache/pysybuttons.py	(refactored)
@@ -557,7 +557,7 @@
 		datas.DebugMessage("BEFORE")
 		if const.GDebug == 1:
 			for obj in self.GLstBallons.sprites():
-				print obj.id, " - ", obj.filename, " - ", obj.categ, obj.fileif, obj.fileifnot
+				print(obj.id, " - ", obj.filename, " - ", obj.categ, obj.fileif, obj.fileifnot)
 
 		for i in range(0, const.GNbButtons):
 			cpt = 0
@@ -615,7 +615,7 @@
 		datas.DebugMessage("AFTER")
 		if const.GDebug == 1:
 			for obj in self.GLstBallons.sprites():
-				print obj.id, " - ", obj.filename, " - ", obj.categ, obj.fileif, obj.fileifnot
+				print(obj.id, " - ", obj.filename, " - ", obj.categ, obj.fileif, obj.fileifnot)
 
 #		self.GetIdOfItemToMove()
 #		screen = pygame.display.get_surface()
--- ./usr/share/pysycache/datas.py	(original)
+++ ./usr/share/pysycache/datas.py	(refactored)
@@ -47,7 +47,7 @@
 # Show help about pysycache
 #*******************************************************************************
 def Help_message():
-	print '''
+	print('''
 Pysycache is an educative software for teach to use the mouse
 
 Usage : 
@@ -67,7 +67,7 @@
                         (it must be placed in the fonts directory)
     --version         : displays Pysycache version
     ---python-version : displays Pysycache version
-'''
+''')
 	sys.exit(0)
 
 
@@ -77,7 +77,7 @@
 #*******************************************************************************
 def DebugMessage(message):
 	if const.GDebug == 1:
-		print message.encode(const.GConsoleLocale, "ignore")
+		print(message.encode(const.GConsoleLocale, "ignore"))
 
 
 
@@ -118,9 +118,9 @@
 
 	try:
 		image = pygame.image.load(fullname)
-	except pygame.error, message:
-		print 'Cannot load image: ', fullname
-		raise SystemExit, message
+	except pygame.error as message:
+		print('Cannot load image: ', fullname)
+		raise SystemExit(message)
 
 	image = image.convert()
 	if colorkey is not None:
@@ -151,9 +151,9 @@
 			image = image.convert()
 		else:
 			image = image.convert_alpha()
-	except pygame.error, message:
-		print 'Cannot load image:', fullname
-		raise SystemExit, message
+	except pygame.error as message:
+		print('Cannot load image:', fullname)
+		raise SystemExit(message)
 
 	#A GARDER !!!!!!!!!!!!!!!!!!
 #	imagescaled = pygame.transform.scale(image, (ht * 0.8, lg * 0.8))		#0.8 = 640 / 800
@@ -175,7 +175,7 @@
 			fullname = os.path.join(const.GRepPysycache, dirname, filename).encode(const.GConsoleLocale)
 
 			if not pygame.mixer.get_init():
-				print "Cannot load sound : pygame error : ", pygame.get_error()
+				pRefactoringTool: No changes to ./usr/share/pysycache/pysyscores.py
RefactoringTool: No changes to ./usr/share/pysycache/pysypreferences.py
RefactoringTool: Refactored ./usr/share/pysycache/pysymenu.py
RefactoringTool: No changes to ./usr/share/pysycache/pysycredits.py
RefactoringTool: No changes to ./usr/share/pysycache/pysyadminpysycache.py
RefactoringTool: Refactored ./usr/share/pysycache/pysyadmin.py
rint("Cannot load sound : pygame error : ", pygame.get_error())
 			else:
 				if os.path.isfile(fullname):
 					pygame.mixer.music.load(fullname)
@@ -329,7 +329,7 @@
 #
 #*******************************************************************************
 def GetTextInLang(IdText, Default):
-	if const.GDicoLangue.has_key(IdText):
+	if IdText in const.GDicoLangue:
 		text =  const.GDicoLangue[IdText]
 	else:
 		text = Default
--- ./usr/share/pysycache/pysymenu.py	(original)
+++ ./usr/share/pysycache/pysymenu.py	(refactored)
@@ -112,7 +112,7 @@
 
 					if const.GWithSound == 1 :
 						if not pygame.mixer.get_init():
-							print "Cannot load sound : pygame error : ", pygame.get_error()
+							print("Cannot load sound : pygame error : ", pygame.get_error())
 						else:
 							if pygame.mixer.music.get_busy :
 								pygame.mixer.music.stop()
@@ -242,16 +242,16 @@
 	if const.GWithSound == 1:
 		try:
 			pygame.mixer.pre_init(44100, -16, 2, 2048)
-		except  Exception, err:
+		except  Exception as err:
 			const.GWithSound = 0
 			const.GSoundError = 1
-			print ""
-			print ""
-			print "*************************************************************"
-			print "*"
-			print '*           Error in sound initialization : ', err
-			print "*"
-			print "*************************************************************"
+			print("")
+			print("")
+			print("*************************************************************")
+			print("*")
+			print('*           Error in sound initialization : ', err)
+			print("*")
+			print("*************************************************************")
 
 	#-------------------------  Initialise screen ------------------------------
 	if const.GPysyUserMode == 0:
@@ -262,21 +262,21 @@
 				const.GSoundError = 1
 				datas.DebugMessage("Some errors occurs in pygame.init() : all sounds will be desactivated ")
 			
-		except  Exception, err:
-			print ""
-			print ""
-			print "*************************************************************"
-			print "*"
-			print '*           Error in initialization : ', err
-			print "*"
-			print "*************************************************************"
+		except  Exception as err:
+			print("")
+			print("")
+			print("*************************************************************")
+			print("*")
+			print('*           Error in initialization : ', err)
+			print("*")
+			print("*************************************************************")
 			
 
 
 	datas.DebugMessage("")
 	datas.DebugMessage("Information on display")
 	if const.GDebug == 1 :
-		print pygame.display.Info()
+		print(pygame.display.Info())
 
 	#whe hide the mouse for all the game
 	pygame.mouse.set_visible(const.CACHE)
@@ -301,14 +301,14 @@
 		datas.DebugMessage("")
 		datas.DebugMessage("Information on display")
 		if const.GDebug == 1:
-			print pygame.display.Info()
+			print(pygame.display.Info())
 		pygame.display.set_caption('PySyCache')
 
-	const.AppMove.InitializeApp(unicode("themes-move"), "move")
-	const.AppClick.InitializeApp(unicode("themes-click"), "click")
-	const.AppButtons.InitializeApp(unicode("themes-buttons"), "buttons")
-	const.AppDblClick.InitializeApp(unicode("themes-dblclick"), "dblclick")
-	const.AppPuzzle.InitializeApp(unicode("themes-puzzle"), "puzzle")
+	const.AppMove.InitializeApp(str("themes-move"), "move")
+	const.AppClick.InitializeApp(str("themes-click"), "click")
+	const.AppButtons.InitializeApp(str("themes-buttons"), "buttons")
+	const.AppDblClick.InitializeApp(str("themes-dblclick"), "dblclick")
+	const.AppPuzzle.InitializeApp(str("themes-puzzle"), "puzzle")
 
 	#-------------------------- image vide de fond -----------------------------
 	if const.GPysyUserMode == 0:
--- ./usr/share/pysycache/pysyadmin.py	(original)
+++ ./usr/share/pysycache/pysyadmin.py	(refactored)
@@ -95,7 +95,7 @@
 
 					if const.GWithSound == 1 :
 						if not pygame.mixer.get_init():
-							print "Cannot load sound : pygame error : ", pygame.get_error()
+							print("Cannot load sound : pygame error : ", pygame.get_error())
 						else:
 							if pygame.mixer.music.get_busy :
 				RefactoringTool: No changes to ./usr/share/pysycache/const.py
RefactoringTool: Files that were modified:
RefactoringTool: ./usr/share/pysycache/pysyselect.py
RefactoringTool: ./usr/share/pysycache/pysypuzzle.py
RefactoringTool: ./usr/share/pysycache/pysymove.py
RefactoringTool: ./usr/share/pysycache/pysyihm.py
RefactoringTool: ./usr/share/pysycache/pysydblclick.py
RefactoringTool: ./usr/share/pysycache/pysyclick.py
RefactoringTool: ./usr/share/pysycache/pysyclasses.py
RefactoringTool: ./usr/share/pysycache/pysycache.py
RefactoringTool: ./usr/share/pysycache/pysybuttons.py
RefactoringTool: ./usr/share/pysycache/datasclass.py
RefactoringTool: ./usr/share/pysycache/datas.py
RefactoringTool: ./usr/share/pysycache/pysyscores.py
RefactoringTool: ./usr/share/pysycache/pysypreferences.py
RefactoringTool: ./usr/share/pysycache/pysymenu.py
RefactoringTool: ./usr/share/pysycache/pysycredits.py
RefactoringTool: ./usr/share/pysycache/pysyadminpysycache.py
RefactoringTool: ./usr/share/pysycache/pysyadmin.py
RefactoringTool: ./usr/share/pysycache/const.py
				pygame.mixer.music.stop()
@@ -205,16 +205,16 @@
 		try:
 			pygame.mixer.pre_init(44100, -16, 2, 2048)
 #			pygame.mixer.init()
-		except  Exception, err:
+		except  Exception as err:
 			const.GWithSound = 0
 			const.GSoundError = 1
-			print ""
-			print ""
-			print "*************************************************************"
-			print "*"
-			print '*           Error in sound initialization : ', err
-			print "*"
-			print "*************************************************************"
+			print("")
+			print("")
+			print("*************************************************************")
+			print("*")
+			print('*           Error in sound initialization : ', err)
+			print("*")
+			print("*************************************************************")
 	else:
 		const.GWithSound = 0
 
@@ -227,14 +227,14 @@
 			datas.DebugMessage("Some errors occurs in pygame.init() : all sounds will be desactivated ")
 
 		
-	except  Exception, err:
-		print ""
-		print ""
-		print "*************************************************************"
-		print "*"
-		print '*           Error in initialization : ', err
-		print "*"
-		print "*************************************************************"
+	except  Exception as err:
+		print("")
+		print("")
+		print("*************************************************************")
+		print("*")
+		print('*           Error in initialization : ', err)
+		print("*")
+		print("*************************************************************")
 
 
 
@@ -258,7 +258,7 @@
 
 	datas.DebugMessage("")
 	if const.GDebug == 1:
-		print "Information on display = ", pygame.display.Info()
+		print("Information on display = ", pygame.display.Info())
 
 	pygame.display.set_caption('PySyCache')
 
++ find ./ -name '*.py'
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./usr/share/pysycache/pysyselect.py ./usr/share/pysycache/pysypuzzle.py ./usr/share/pysycache/pysymove.py ./usr/share/pysycache/pysyihm.py ./usr/share/pysycache/pysydblclick.py ./usr/share/pysycache/pysyclick.py ./usr/share/pysycache/pysyclasses.py ./usr/share/pysycache/pysycache.py ./usr/share/pysycache/pysybuttons.py ./usr/share/pysycache/datasclass.py ./usr/share/pysycache/datas.py ./usr/share/pysycache/pysyscores.py ./usr/share/pysycache/pysypreferences.py ./usr/share/pysycache/pysymenu.py ./usr/share/pysycache/pysycredits.py ./usr/share/pysycache/pysyadminpysycache.py ./usr/share/pysycache/pysyadmin.py ./usr/share/pysycache/const.py
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.52934
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/pysycache-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/pysycache-buildroot
+ cd pysycache-3.1
+ mkdir -p /usr/src/tmp/pysycache-buildroot
+ cp -a usr /usr/src/tmp/pysycache-buildroot/
+ mkdir -p /usr/src/tmp/pysycache-buildroot/etc/pysycache/
+ cat
+ for d in themes-buttons themes-click themes-dblclick themes-move themes-puzzle users
+ mkdir -p /usr/src/tmp/pysycache-buildroot/var/lib/pysycache/themes-buttons/
+ for d in themes-buttons themes-click themes-dblclick themes-move themes-puzzle users
+ mkdir -p /usr/src/tmp/pysycache-buildroot/var/lib/pysycache/themes-click/
+ for d in themes-buttons themes-click themes-dblclick themes-move themes-puzzle users
+ mkdir -p /usr/src/tmp/pysycache-buildroot/var/lib/pysycache/themes-dblclick/
+ for d in themes-buttons themes-click themes-dblclick themes-move themes-puzzle users
+ mkdir -p /usr/src/tmp/pysycache-buildroot/var/lib/pysycache/themes-move/
+ for d in themes-buttons themes-click themes-dblclick themes-move themes-puzzle users
+ mkdir -p /usr/src/tmp/pysycache-buildroot/var/lib/pysycache/themes-puzzle/
+ for d in themes-buttons themes-click themes-dblclick themes-move themes-puzzle users
+ mkdir -p /usr/src/tmp/pysycache-buildroot/var/lib/pysycache/users/
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/pysycache-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/pysycache-buildroot (binconfig,pkgconfig,libtool,desktop)
/usr/share/applications/pysycachenf.desktop: performed minor cleanup:
2d1
< Encoding=UTF-8
6c5
< Categories=Application;Game;KidsGame;Education
---
> Categories=Game;KidsGame;Education;
15c14
< StartupNotify=false
\ No newline at end of file
---
> StartupNotify=false
/usr/share/applications/pysycache.desktop: performed minor cleanup:
2d1
< Encoding=UTF-8
6c5
< Categories=Application;Game;KidsGame;Education
---
> Categories=Game;KidsGame;Education;
14c13
< StartupNotify=false
\ No newline at end of file
---
> StartupNotify=false
/usr/share/applications/pysycache-admin.desktop: performed minor cleanup:
2d1
< Encoding=UTF-8
6c5
< Categories=Application;Game;KidsGame;Education
---
> Categories=Game;KidsGame;Education;
13c12
< StartupNotify=false
\ No newline at end of file
---
> StartupNotify=false
Checking contents of files in /usr/src/tmp/pysycache-buildroot/ (default)
Compressing files in /usr/src/tmp/pysycache-buildroot (auto)
Adjusting library links in /usr/src/tmp/pysycache-buildroot
./var/lib:
Verifying ELF objects in /usr/src/tmp/pysycache-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Bytecompiling python modules in /usr/src/tmp/pysycache-buildroot using /usr/bin/python2.7
Can't list '/usr/src/tmp/pysycache-buildroot/usr/lib'
Bytecompiling python modules with optimization in /usr/src/tmp/pysycache-buildroot using /usr/bin/python2.7 -O
Can't list '/usr/src/tmp/pysycache-buildroot/usr/lib'
Bytecompiling python3 modules in /usr/src/tmp/pysycache-buildroot using /usr/bin/python3
Can't list '/usr/src/tmp/pysycache-buildroot/usr/lib/python3/site-packages'
Bytecompiling python3 modules with optimization in /usr/src/tmp/pysycache-buildroot using /usr/bin/python3 -O
Can't list '/usr/src/tmp/pysycache-buildroot/usr/lib/python3/site-packages'
Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/pysycache-buildroot using /usr/bin/python3 -OO
Can't list '/usr/src/tmp/pysycache-buildroot/usr/lib/python3/site-packages'
Hardlinking identical .pyc and .opt-?.pyc files
Hardlinking identical .pyc and .pyo files
Processing files: pysycache-3.1-alt3
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.E3WFS7
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.u47224
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/pysycache-buildroot/usr/share/pysycache/const.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/datas.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyadmin.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyadmin.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyadminpysycache.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyadminpysycache.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysybuttons.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysybuttons.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysycache.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysycache.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyclick.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyclick.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysycredits.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysycredits.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysydblclick.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysydblclick.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyihm.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysymenu.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysymenu.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysymove.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysymove.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysypreferences.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysypreferences.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysypuzzle.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysypuzzle.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyscores.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyscores.py: skipping time
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyselect.py: skipping sys
python3.req: /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyselect.py: skipping time
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/const.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/datas.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/datasclass.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyadmin.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyadminpysycache.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysybuttons.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyclasses.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyclick.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysycredits.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysydblclick.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyihm.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysymenu.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysymove.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysypreferences.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysypuzzle.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyscores.py is not executable
shebang.req.files: executable script /usr/src/tmp/pysycache-buildroot/usr/share/pysycache/pysyselect.py is not executable
find-requires: FINDPACKAGE-COMMANDS: python3 xterm
Requires: python3-module-opencv3.4, /bin/bash, /usr/bin/env, python3, python3(getopt) < 0, python3(glob) < 0, python3(locale) < 0, python3(os) < 0, python3(os.path) < 0, python3(pygame) < 0, python3(pygame.locals) < 0, python3(random) < 0, python3(shutil) < 0, python3(string) < 0, xterm
Wrote: /usr/src/RPM/RPMS/noarch/pysycache-3.1-alt3.noarch.rpm
61.87user 1.30system 1:06.52elapsed 94%CPU (0avgtext+0avgdata 36300maxresident)k
0inputs+0outputs (0major+133305minor)pagefaults 0swaps
75.67user 5.27system 1:32.65elapsed 87%CPU (0avgtext+0avgdata 109988maxresident)k
0inputs+0outputs (0major+528398minor)pagefaults 0swaps