Just a quick patch for the deprecation warnings under python-2.6. They now suggest hashlib instead of md5/sha1 and subprocess instead of popen. Please check that the patch has the expected results around the popen area, it seemed to work identically for me when using -q, but a second opinion can't hurt... 5:)
Created attachment 165392 [details, diff]
You should use subprocess.PIPE instead of PIPE.
Thanks for the patch! Fixed in layman-1.2.1. Available via portage.