Remove unneeded glibcLocales. Remove overrided agate-sql and agate-dbf, as these overrides are not needed. Use pytestCheckHook instead of overriding checkPhase. Add an upstream patch that fixes tests.