# Copyright 2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 PYTHON_COMPAT=( jython2_7 pypy python2_7 ) EGIT_REPO_URI="git://github.com/google/styleguide.git" inherit elisp-common git-r3 python-single-r1 RESTRICT="mirror" DESCRIPTION="The google styleguide together with cpplint and an emacs file" HOMEPAGE="https://github.com/google/styleguide" SRC_URI="" LICENSE="CC-BY-3.0" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="emacs" EMACSNAME="google-c-style" REQUIRED_USE="${PYTHON_REQUIRED_USE}" COMMON="emacs? ( virtual/emacs )" DEPEND="${COMMON}" RDEPEND="${PYTHON_DEPS} ${COMMON}" src_prepare() { if use emacs then mkdir sitefile cat >"sitefile/50${EMACSNAME}-gentoo.el" <