mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Restrict tests due to missing dependency Closes: https://bugs.gentoo.org/904303 Signed-off-by: Julien Roy <julien@jroy.ca>
38 lines
940 B
Bash
38 lines
940 B
Bash
# Copyright 2022-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit optfeature
|
|
|
|
DESCRIPTION="an interactive menu to autotype and copy pass and gopass data"
|
|
HOMEPAGE="https://github.com/ayushnix/tessen"
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/ayushnix/${PN}.git"
|
|
else
|
|
SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
fi
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
# Requires shfmt (https://github.com/mvdan/sh) which is not packaged
|
|
RESTRICT="test"
|
|
|
|
DEPEND="app-text/scdoc"
|
|
RDEPEND="${DEPEND}
|
|
|| ( app-admin/pass
|
|
app-admin/gopass
|
|
)
|
|
"
|
|
|
|
pkg_postinst() {
|
|
optfeature "autotype support" gui-apps/wtype
|
|
optfeature "clipboard support" gui-apps/wl-clipboard
|
|
optfeature "URL opening support" x11-misc/xdg-utils
|
|
optfeature "OTP support" app-admin/pass-otp
|
|
optfeature "notifications support" x11-libs/libnotify
|
|
}
|