# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit multilib python gnome2 DESCRIPTION="Change the name of several files at the same time easily." HOMEPAGE="http://www.infinicode.org/code/pyrenamer/" SRC_URI="http://www.infinicode.org/code/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND=">=dev-python/pygtk-2.6 dev-python/eyeD3" DEPEND="${RDEPEND}" src_unpack() { gnome2_src_unpack cd ${S} mv py-compile py-compile.old ln -s /bin/true py-compile } pkg_postinst() { python_version python_mod_optimize "${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}" } pkg_postrm() { python_mod_cleanup }