# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/boa-constructor/boa-constructor-0.6.1.ebuild,v 1.8 2010/05/12 13:12:33 hwoarang Exp $ EAPI=2 inherit eutils python multilib DESCRIPTION="Python GUI RAD development tool." HOMEPAGE="http://boa-constructor.sourceforge.net/" SRC_URI="mirror://sourceforge/boa-constructor/${P}.src.zip" SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd" IUSE="" RDEPEND="dev-python/wxpython:2.6 dev-libs/expat" DEPEND="${RDEPEND} app-arch/unzip" src_compile() { "$(PYTHON)" -c "import compileall; compileall.compile_dir('.', force=1)" } src_install() { local boadir="$(python_get_sitedir)"/boa local dir for dir in $(find . -type d) do insinto "${boadir}/${dir}" cd "${dir}" local file for file in * do [[ -f "${file}" ]] && doins "${file}" done cd "${S}" done insinto "${boadir}" insinto "${boadir}/Plug-ins" doins Plug-ins/* newbin "${FILESDIR}"/${P} boa-constructor dodoc Bugs.txt Changes.txt Credits.txt README.txt }