Code Listing 2.1 ("Optimize/cleanup idiom") should be using # python_mod_optimize $(python_get_sitedir)/YOURPACKAGE instead of # python_version # python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/YOURPACKAGE If the purpose of the example is to demonstrate usage of the python_version funtion, a second or-better version of the example could be added. Reproducible: Always
Fixed in CVS revision 1.11 http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/Python/developersguide.xml?rev=1.11&view=log