--- scribes-0.3.3.3.ebuild
+++ scribes-0.3.3.3.ebuild
@@ -44,11 +44,10 @@
 
 pkg_postinst() {
 	gnome2_pkg_postinst
-	python_version
-	python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/SCRIBES
+	python_mod_optimize $(python_get_sitedir)/SCRIBES
 }
 
 pkg_postrm() {
 	gnome2_pkg_postrm
-	python_mod_cleanup
+	python_mod_cleanup $(python_get_sitedir)/SCRIBES
 }