2022-04-03 15:48:25 +02:00
|
|
|
# Copyright 2021-2022 Gentoo Authors
|
2021-03-14 20:23:40 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-06-06 13:52:59 +02:00
|
|
|
EAPI="8"
|
2021-03-14 20:23:40 +01:00
|
|
|
|
|
|
|
inherit vim-plugin
|
|
|
|
|
2022-12-08 22:57:56 +01:00
|
|
|
COMMIT_ID="fe9d3e1a9a50171e7d316a52e1e56d868e4c1fe5"
|
2021-03-14 20:23:40 +01:00
|
|
|
|
|
|
|
DESCRIPTION="vim plugin: mksession automation tool"
|
|
|
|
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=4472 https://github.com/tpope/vim-obsession"
|
|
|
|
LICENSE="vim"
|
|
|
|
IUSE="test"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
if [[ ${PV} == *9999 ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/tpope/vim-obsession.git"
|
|
|
|
else
|
|
|
|
if [[ ${PV} == *_p* ]]; then
|
|
|
|
SRC_URI="https://github.com/tpope/vim-obsession/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/vim-obsession-${COMMIT_ID}"
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/tpope/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
fi
|
|
|
|
fi
|
2021-08-05 14:22:51 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2021-03-14 20:23:40 +01:00
|
|
|
|
|
|
|
DOCS=(
|
|
|
|
README.markdown
|
|
|
|
CONTRIBUTING.markdown
|
|
|
|
)
|