# Copyright 2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later # $Header: $ EAPI=2 inherit base python DESCRIPTION="EasyGUI is a module for very simple, very easy GUI programming in Python" HOMEPAGE="http://easygui.sourceforge.net/" SRC_URI="http://${PN}.sourceforge.net/download/current_version/${PN}_v${PV}.tar.gz" KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="PYTHON" IUSE="" DEPEND="" RDEPEND="" S="${WORKDIR}" HTML_DOCS=( easygui.html python_and_check_logo.gif ) src_install() { insinto "$(python_get_sitedir)" doins "${S}"/${PN}.py base_src_install_docs } pkg_postinst() { python_mod_optimize "$(python_get_sitedir)"/${PN}.py }