# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils git EGIT_REPO_URI="git://github.com/bobf/bpython.git" DESCRIPTION="A fancy interface to the Python interpreter for Unix-like operating systems." HOMEPAGE="http://www.noiseforfree.com/bpython/" SRC_URI="" LICENSE="MIT" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="" RDEPEND="dev-python/pygments >=dev-python/pyparsing-1.4.11" DOCS="sample-rc" pkg_setup() { if ! built_with_use dev-lang/python ncurses; then echo eerror "dev-lang/python needs to be built with ncurses support." eerror "Please re-emerge python with the ncurses use flag set." die "Missing ncurses flag for dev-lang/python" fi }