2018-08-08 06:41:23 -07:00
|
|
|
# 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"
|
2020-02-13 20:42:25 -08:00
|
|
|
EGIT_COMMIT="2d2ff2382fd67574c233d0ce48150b26eb7f6809"
|
2018-08-08 06:41:23 -07:00
|
|
|
SRC_URI=""
|
2020-04-20 11:37:11 -07:00
|
|
|
EGIT_SUBMODULES=()
|
2019-11-17 06:44:50 -08:00
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
2018-08-08 06:41:23 -07:00
|
|
|
|
|
|
|
PROPERTIES="live"
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE="+doc"
|
|
|
|
|
|
|
|
DEPEND=""
|
2020-04-20 11:37:11 -07:00
|
|
|
RDEPEND="
|
|
|
|
app-vim/deoplete
|
|
|
|
dev-python/jedi
|
|
|
|
"
|
2018-08-08 06:41:23 -07:00
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2020-04-20 11:37:11 -07:00
|
|
|
rm -rf rplugin/python3/deoplete/vendored
|
|
|
|
# pushd rplugin/python3/deoplete/vendored/jedi
|
|
|
|
# ls | grep -v '^jedi$' | xargs rm -rf; popd
|
|
|
|
# pushd rplugin/python3/deoplete/vendored/parso
|
|
|
|
# ls | grep -v '^parso$' | xargs rm -rf; popd
|
|
|
|
# pushd rplugin/python3/deoplete/vendored/jedi/jedi/third_party/typeshed/
|
|
|
|
# ls | grep -v '\(^stdlib$\|^third_party$\)' | xargs rm -rf; popd
|
2019-06-23 02:36:35 -07:00
|
|
|
|
2018-08-08 06:41:23 -07:00
|
|
|
insinto /usr/share/vim/vimfiles
|
|
|
|
doins -r rplugin
|
|
|
|
use doc && dodoc README.md
|
|
|
|
find "${D}" -name ".git*" -exec rm -rf {} +
|
|
|
|
find "${D}" -name .travis.yml -exec rm -rf {} +
|
2019-06-23 02:36:35 -07:00
|
|
|
find "${D}" -name .coveragerc -exec rm -rf {} +
|
|
|
|
find "${D}" -name .flake8 -exec rm -rf {} +
|
2018-08-08 06:41:23 -07:00
|
|
|
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 {} +
|
|
|
|
}
|