You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/yapps/yapps-2.1.1.ebuild

36 lines
781 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/yapps/yapps-2.1.1.ebuild,v 1.2 2010/06/30 02:28:13 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils versionator
MY_P="${PN}$(delete_version_separator '-')"
DESCRIPTION="An easy to use parser generator"
HOMEPAGE="http://theory.stanford.edu/~amitp/yapps/"
SRC_URI="http://www-cs-students.stanford.edu/~amitp/yapps/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/Yapps-${PV}"
src_install() {
distutils_src_install
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}