# Copyright 2012-2018 Martin V\"ath # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( pypy python2_7 ) EGIT_REPO_URI="https://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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="emacs" EMACSNAME="google-c-style" REQUIRED_USE="${PYTHON_REQUIRED_USE}" COMMON="emacs? ( virtual/emacs )" BDEPEND="${COMMON}" RDEPEND="${PYTHON_DEPS} ${COMMON}" src_prepare() { if use emacs then mkdir sitefile cat >"sitefile/50${EMACSNAME}-gentoo.el" <