2020-01-18 21:23:28 +01:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2018-10-18 13:31:56 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2020-01-18 21:23:28 +01:00
|
|
|
EAPI="7"
|
2018-10-18 13:31:56 +02:00
|
|
|
|
|
|
|
inherit vim-plugin
|
|
|
|
|
2020-01-18 21:23:28 +01:00
|
|
|
COMMIT_ID="87a1f2c1e487ee0021855fd0c65c3f3244f4fc61"
|
|
|
|
|
2018-10-18 13:31:56 +02:00
|
|
|
DESCRIPTION="vim plugin: Take Notes in rst"
|
|
|
|
HOMEPAGE="https://github.com/gu-fan/riv.vim"
|
2020-02-06 08:34:20 +01:00
|
|
|
LICENSE="MIT"
|
|
|
|
IUSE="test"
|
|
|
|
RESTRICT="!test? ( test )"
|
2018-10-18 13:31:56 +02:00
|
|
|
|
2020-02-06 08:34:20 +01:00
|
|
|
if [[ ${PV} == *9999 ]]
|
|
|
|
then
|
2018-10-18 13:31:56 +02:00
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/gu-fan/riv.vim.git"
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/gu-fan/riv.vim/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/riv.vim-${COMMIT_ID}"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
fi
|
|
|
|
|
2020-01-18 21:23:28 +01:00
|
|
|
# FIXME/upstream: /usr/share/vim/vimfiles/after/syntax/python.vim file collision
|
2019-03-02 16:32:40 +01:00
|
|
|
DEPEND="!!app-vim/jedi"
|