# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit python DESCRIPTION="Scanning, Parsing, and Rewriting Kit" HOMEPAGE="http://pages.cpsc.ucalgary.ca/~aycock/spark/" SRC_URI="http://pages.cpsc.ucalgary.ca/~aycock/spark/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="virtual/python" src_install() { python_version exeinto /usr/lib/python${PYVER}/site-packages doexe spark.py dodir /usr/share/doc/${PF} cp -r examples ${D}/usr/share/doc/${PF} dodoc CHANGES doc/* }