commit:     cda2c9d66341e0b8f6e37fc51ebf63c5ca0220e9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 31 01:40:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 31 01:41:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cda2c9d6

app-admin/pass: use live template in 1.7.4 too

It's at risk of gettng lost on bumps otherwise.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/pass/pass-1.7.4-r2.ebuild | 14 ++++++++++----
 app-admin/pass/pass-9999.ebuild     |  3 ++-
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/app-admin/pass/pass-1.7.4-r2.ebuild 
b/app-admin/pass/pass-1.7.4-r2.ebuild
index b3352e849c7a..7f088dea6ac3 100644
--- a/app-admin/pass/pass-1.7.4-r2.ebuild
+++ b/app-admin/pass/pass-1.7.4-r2.ebuild
@@ -5,14 +5,21 @@ EAPI=7
 
 inherit bash-completion-r1 elisp-common
 
+if [[ ${PV} = 9999* ]]; then
+       EGIT_REPO_URI="https://git.zx2c4.com/password-store";
+       inherit git-r3
+else
+       
SRC_URI="https://git.zx2c4.com/password-store/snapshot/password-store-${PV}.tar.xz";
+       S="${WORKDIR}/password-store-${PV}"
+
+       KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86 ~arm64-macos ~x64-macos"
+fi
+
 DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely"
 HOMEPAGE="https://www.passwordstore.org/";
-SRC_URI="https://git.zx2c4.com/password-store/snapshot/password-store-${PV}.tar.xz";
-S="${WORKDIR}/password-store-${PV}"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86 ~arm64-macos ~x64-macos"
 IUSE="+git wayland X emacs dmenu importers"
 
 RDEPEND="
@@ -31,7 +38,6 @@ src_prepare() {
        default
 
        use elibc_Darwin || return
-
        # use coreutils'
        sed -i -e 's/openssl base64/base64/g' src/platform/darwin.sh || die
        # host getopt isn't cool, and we aren't brew (rip out brew reference)

diff --git a/app-admin/pass/pass-9999.ebuild b/app-admin/pass/pass-9999.ebuild
index ed545c7288ab..1c3bfbec9390 100644
--- a/app-admin/pass/pass-9999.ebuild
+++ b/app-admin/pass/pass-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,6 +11,7 @@ if [[ ${PV} = 9999* ]]; then
 else
        
SRC_URI="https://git.zx2c4.com/password-store/snapshot/password-store-${PV}.tar.xz";
        S="${WORKDIR}/password-store-${PV}"
+
        KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
 fi
 

Reply via email to