diff options
author | Ulrich Müller <ulm@gentoo.org> | 2014-02-10 20:14:40 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2014-02-10 20:14:40 +0000 |
commit | 4456331e8a85a0f0c23e4e3cac24336164fad7cf (patch) | |
tree | fc1fadc49561fcf0719560bbc3304b888d9c86cc /app-emacs/company-mode/company-mode-0.6.14.ebuild | |
parent | Initial import (diff) | |
download | gentoo-2-4456331e8a85a0f0c23e4e3cac24336164fad7cf.tar.gz gentoo-2-4456331e8a85a0f0c23e4e3cac24336164fad7cf.tar.bz2 gentoo-2-4456331e8a85a0f0c23e4e3cac24336164fad7cf.zip |
Version bump. Remove old.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-emacs/company-mode/company-mode-0.6.14.ebuild')
-rw-r--r-- | app-emacs/company-mode/company-mode-0.6.14.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/company-mode/company-mode-0.6.14.ebuild b/app-emacs/company-mode/company-mode-0.6.14.ebuild new file mode 100644 index 000000000000..9d877bec9cc9 --- /dev/null +++ b/app-emacs/company-mode/company-mode-0.6.14.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/company-mode/company-mode-0.6.14.ebuild,v 1.1 2014/02/10 20:14:40 ulm Exp $ + +EAPI=5 + +inherit elisp + +DESCRIPTION="In-buffer completion front-end" +HOMEPAGE="http://company-mode.github.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ropemacs +semantic" + +# Note: company-mode supports many backends, and we refrain from including +# them all in RDEPEND. Only depend on things that are needed at build time. +DEPEND="|| ( app-emacs/nxml-mode >=virtual/emacs-23 ) + ropemacs? ( app-emacs/pymacs ) + semantic? ( virtual/emacs-cedet )" +RDEPEND="${DEPEND} + ropemacs? ( dev-python/ropemacs )" + +SITEFILE="50${PN}-gentoo.el" +DOCS="README.md NEWS.md" + +src_prepare() { + # Disable backends that require extra dependencies, unless they are + # selected by the respective USE flag + + elog "Removing pysmell backend" + rm company-pysmell.el || die + + if ! use ropemacs; then + elog "Removing ropemacs backend, as requested by USE=-ropemacs" + rm company-ropemacs.el || die + fi + + if ! use semantic; then + elog "Removing semantic backend, as requested by USE=-semantic" + rm company-semantic.el || die + fi +} |