# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 PYTHON_DEPEND="*" SUPPORT_PYTHON_ABIS="" RESTRICT_PYTHON_ABIS="" inherit distutils git DESCRIPTION="" HOMEPAGE="https://github.com/ametaireau/pelican" SRC_URI="" EGIT_REPO_URI="git://github.com/ametaireau/pelican.git" LICENSE="" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="examples +rst markdown +pygments" # argparse only with python2.7 if [ $(python_get_version --major) -lt 2 ] && [ $(python_get_version --major) -lt 7 ];then CON_DEP="dev-python/argparse" else CON_DEP="" fi DEPEND="dev-python/jinja dev-python/feedgenerator rst? ( dev-python/docutils ) markdown? ( dev-python/markdown ) pygments? ( dev-python/pygments ) ${CON_DEP}" RDEPEND="${DEPEND}" DOCS="README.rst CHANGELOG LICENSE THANKS" src_install() { distutils_src_install if use examples; then insinto /usr/share/doc/${PF}/examples doins -r samples/* || die "Failed to install examples" fi }