You are an expert at summarizing long articles. Proceed to summarize the following text: 
the head of south africa 's ruling party jacob zuma was in court friday for a ruling on his bid to scrap his graft trial , which could end his hopes to lead the country next year .
south african ruling party chief awaits graft case ruling