Created attachment 348324 [details, diff] python-memcached-1.48-distutils-r1.patch Attached is a suggested patch.
Created attachment 348326 [details, diff] python-memcached-1.48-distutils-r1.patch Slightly revised patch.
There is no need to override src_test and call python_foreach_impl manually; please define a python_test() function and run the test from that.
Created attachment 348340 [details, diff] python-memcached-1.48-distutils-r1.patch Updated patch based on feedback.
looks good; couple of little ones; ${BUILD_DIR}/lib needs the usual "" -> "${BUILD_DIR}"/lib popd > /dev/null is correct but in the flow, it's the last step of python_test, the next step will cd anyway, so it can be simply left out. I ran it, the test phase works fine & fails horribly. Anyone else before adding to portage?
Created attachment 348884 [details, diff] python-memcached-1.48-r1.patch Revised patch to fix quoting and test issue - they cannot be run in parallel.
22 May 2013; Ian Delaney <idella4@gentoo.org> +python-memcached-1.48-r1.ebuild: revbump, migrate -> distutils-r1, closes Bug #469856 by kensington