holgersson-overlay/app-vim/vim-redacted/vim-redacted-0.2_p20191215-r1.ebuild
Nils Freydank 6c3eff2aac
app-vim/vim-redacted: Bump to EAPI=8
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
2022-06-06 13:52:59 +02:00

25 lines
586 B
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit vim-plugin
COMMIT_ID="784aaab9d3ff20846eba6202086d5297efda004f"
DESCRIPTION="vim plugin: Redact text"
HOMEPAGE="https://github.com/dbmrq/vim-redacted"
LICENSE="vim"
IUSE="test"
RESTRICT="!test? ( test )"
if [[ ${PV} == *9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/dbmrq/vim-redacted.git"
else
SRC_URI="https://github.com/dbmrq/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
KEYWORDS="~amd64 ~x86"
fi