gentoo-overlay-trent/app-nvim/deoplete-jedi/deoplete-jedi-20180219-r1.ebuild
2018-02-23 14:56:46 -08:00

41 lines
1.0 KiB
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3
DESCRIPTION="deoplete-jedi"
HOMEPAGE="https://github.com/zchee/deoplete-jedi"
EGIT_REPO_URI="https://github.com/zchee/deoplete-jedi.git"
EGIT_COMMIT="f7a0c4ffc53c16a931f761819240f60eafec9604"
SRC_URI=""
KEYWORDS="~amd64 ~x86"
PROPERTIES="live"
LICENSE="MIT"
SLOT="0"
IUSE="+doc"
DEPEND=""
RDEPEND="app-nvim/deoplete
dev-python/jedi"
src_compile() {
true
}
src_install() {
insinto /usr/share/nvim/runtime
doins -r rplugin
use doc && dodoc README.md
find "${D}" -name ".git*" -exec rm -rf {} +
find "${D}" -name .travis.yml -exec rm -rf {} +
use doc || find "${D}" -name LICENSE.txt -exec rm -rf {} +
use doc || find "${D}" -name README.rst -exec rm -rf {} +
use doc || find "${D}" -name AUTHORS.txt -exec rm -rf {} +
use doc || find "${D}" -name README.md -exec rm -rf {} +
use doc || find "${D}" -name CHANGELOG.rst -exec rm -rf {} +
use doc || find "${D}" -name CONTRIBUTING.md -exec rm -rf {} +
}