# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/fuse-python-0.2.ebuild,v 1.7 2008/08/30 20:26:27 jokey Exp $ inherit eutils distutils multilib python KEYWORDS="~amd64 x86" DESCRIPTION="Python FUSE bindings" HOMEPAGE="http://fuse.sourceforge.net/wiki/index.php/FusePython" SRC_URI="mirror://sourceforge/fuse/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" DEPEND=">=dev-lang/python-2.3 >=sys-fs/fuse-2.0" src_unpack () { distutils_src_unpack epatch "${FILESDIR}"/fuse_python_accept_none.patch } pkg_postinst() { python_version python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/fuse.py python_mod_optimize \ /usr/$(get_libdir)/python${PYVER}/site-packages/fuseparts } pkg_postrm() { python_version python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages }