<s> from pythonforandroid . toolchain import BootstrapNDKRecipe , current_directory , shprint , info <EOL> from os . path import exists , join <EOL> import sh <EOL> import glob <EOL> class PygameJNIComponentsRecipe ( BootstrapNDKRecipe ) : <EOL> version = '<STR_LIT>' <EOL> url = '<STR_LIT>' <EOL> dir_name = '<STR_LIT>' <EOL> def prebuild_arch ( self , arch ) : <EOL> super ( PygameJNIComponentsRecipe , self ) . postbuild_arch ( arch ) <EOL> info ( '<STR_LIT>' ) <EOL> with current_directory ( self . get_build_container_dir ( arch ) ) : <EOL> if exists ( '<STR_LIT>' ) : <EOL> info ( '<STR_LIT>' + <EOL> '<STR_LIT>' ) <EOL> return <EOL> for dirn in glob . glob ( join ( self . get_build_dir ( arch ) , <EOL> '<STR_LIT>' , '<STR_LIT:*>' ) ) : <EOL> shprint ( sh . mv , dirn , '<STR_LIT>' ) <EOL> info ( '<STR_LIT>' ) <EOL> shprint ( sh . rm , '<STR_LIT>' , self . get_build_dir ( arch ) ) <EOL> recipe = PygameJNIComponentsRecipe ( ) </s>
