Reorder arch/powerpc.py to make python happy
authorAndrew Gaffney <agaffney@gentoo.org>
Thu, 7 Feb 2008 02:47:10 +0000 (02:47 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Thu, 7 Feb 2008 02:47:10 +0000 (02:47 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1284 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
arch/powerpc.py

index 9a53fe525869f8979da9f2b9f12c99af38bd8e9b..7e90adb8263bd3d2fd606789481c84ea895cccf6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  07 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> arch/powerpc.py:
+  Reorder arch/powerpc.py to make python happy
+
   07 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
   modules/snapshot_target.py:
   Change .svn --include to an --exclude like it was supposed to be
index fff7c85770b988a3e54bfb17eb8b343a3d50d9ab..46560b8b1b3b30d0e9c854e04a1167cb12be3c88 100644 (file)
@@ -21,6 +21,19 @@ class generic_ppc64(builder.generic):
                builder.generic.__init__(self,myspec)
                self.settings["CHROOT"]="chroot"
 
+class arch_ppc(generic_ppc):
+       "builder class for generic powerpc"
+       def __init__(self,myspec):
+               generic_ppc.__init__(self,myspec)
+               self.settings["CFLAGS"]="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
+
+class arch_ppc64(generic_ppc64):
+       "builder class for generic ppc64"
+       def __init__(self,myspec):
+               generic_ppc64.__init__(self,myspec)
+               self.settings["CFLAGS"]="-O2 -pipe"
+               self.settings["CHOST"]="powerpc64-unknown-linux-gnu"
+
 class arch_970(arch_ppc64):
        "builder class for 970 aka G5 under ppc64"
        def __init__(self,myspec):
@@ -92,19 +105,6 @@ class arch_power6(arch_ppc64):
                self.settings["CFLAGS"]="-O2 -pipe -mcpu=power6 -mtune=power6"
                self.settings["HOSTUSE"]=["altivec","ibm"]
 
-class arch_ppc(generic_ppc):
-       "builder class for generic powerpc"
-       def __init__(self,myspec):
-               generic_ppc.__init__(self,myspec)
-               self.settings["CFLAGS"]="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
-
-class arch_ppc64(generic_ppc64):
-       "builder class for generic ppc64"
-       def __init__(self,myspec):
-               generic_ppc64.__init__(self,myspec)
-               self.settings["CFLAGS"]="-O2 -pipe"
-               self.settings["CHOST"]="powerpc64-unknown-linux-gnu"
-
 def register():
        "Inform main catalyst program of the contents of this plugin."
        return ({