commit:     4c3e551944e42887f4d002529368e9e98485ff96
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon Feb 14 23:28:25 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 22:23:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3e5519

app-admin/pass-otp: Unconditionally depend on qrencode

As pointed out by mgorny on IRC,
app-admin/pass already hard-depends on it so the USE flag is useless.

Closes: https://github.com/gentoo/gentoo/pull/24194
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-admin/pass-otp/pass-otp-1.2.0-r1.ebuild | 32 +++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/app-admin/pass-otp/pass-otp-1.2.0-r1.ebuild 
b/app-admin/pass-otp/pass-otp-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..65f765ec2d8b
--- /dev/null
+++ b/app-admin/pass-otp/pass-otp-1.2.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2018-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+DESCRIPTION="A pass extension for managing one-time-password (OTP) tokens"
+HOMEPAGE="https://github.com/tadfisher/pass-otp";
+SRC_URI="https://github.com/tadfisher/pass-otp/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-tcltk/expect:* )"
+
+RDEPEND="
+       >=app-admin/pass-1.7
+       sys-auth/oath-toolkit
+       media-gfx/qrencode
+"
+
+src_compile() {
+       :
+}
+
+src_install() {
+       emake install DESTDIR="${D}" BASHCOMPDIR="$(get_bashcompdir)"
+}

Reply via email to