PyGame on OSX mavericks w/ XCode5 in a virtual env

Just thought I'd share how I got it working if it helps anyone else out. Basically, install XQuartz, install homebrew, brew install sdl, and then once you have your virtual env running do this magic incantation:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install hg+http://bitbucket.org/pygame/pygame
(That pip installs it from the pygame repository, and the archflags thing is because the compile scripts assume it's compiling against GCC, but the newer xcode tools are clang).