commit:     8adbd8ad52ef84a3f113cb8fed11d89842a39c6e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 11 15:18:18 2026 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 11 15:21:12 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=8adbd8ad

app-emacs/password-store-otp: new package, add 0.1.5

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/password-store-otp/Manifest              |  1 +
 .../files/50password-store-otp-gentoo.el           |  6 +++++
 app-emacs/password-store-otp/metadata.xml          | 19 ++++++++++++++++
 .../password-store-otp-0.1.5.ebuild                | 26 ++++++++++++++++++++++
 4 files changed, 52 insertions(+)

diff --git a/app-emacs/password-store-otp/Manifest 
b/app-emacs/password-store-otp/Manifest
new file mode 100644
index 0000000..341d808
--- /dev/null
+++ b/app-emacs/password-store-otp/Manifest
@@ -0,0 +1 @@
+DIST password-store-otp-0.1.5.tar.gz 17170 BLAKE2B 
c0acad88be4e494f2ff6b07c4c2219ba6f4613cf87a00cb120e871dd3cf0a066aa7d412aabbfed5ec1fe4f4b49f6fbfe9f4ff1c7b1ba1b216a87e0284cf11148
 SHA512 
b9002985dedd825e0fb27b0e96214873351c415006fd94e2a545ba56605c81bfd02243709cb841f2a79d0b003866945a00194c8ab808e6e297c62b2a27113401

diff --git a/app-emacs/password-store-otp/files/50password-store-otp-gentoo.el 
b/app-emacs/password-store-otp/files/50password-store-otp-gentoo.el
new file mode 100644
index 0000000..de30efa
--- /dev/null
+++ b/app-emacs/password-store-otp/files/50password-store-otp-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'password-store-otp-token-copy "password-store-otp" nil t)
+(autoload 'password-store-otp-uri-copy "password-store-otp" nil t)
+(autoload 'password-store-otp-insert "password-store-otp" nil t)
+(autoload 'password-store-otp-append "password-store-otp" nil t)
+(autoload 'password-store-otp-append-from-image "password-store-otp" nil t)

diff --git a/app-emacs/password-store-otp/metadata.xml 
b/app-emacs/password-store-otp/metadata.xml
new file mode 100644
index 0000000..6d88545
--- /dev/null
+++ b/app-emacs/password-store-otp/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="project">
+  <email>[email protected]</email>
+  <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<longdescription>
+  Emacs functions to interact with the pass-otp extension for
+  <pkg>app-admin/pass</pkg>.
+
+  It includes functions to import OTP URIs from screenshots of QR codes,
+  and to export them back to QR codes if needed.
+</longdescription>
+<stabilize-allarches />
+<upstream>
+  <remote-id type="github">volrath/password-store-otp.el</remote-id>
+</upstream>
+</pkgmetadata>

diff --git a/app-emacs/password-store-otp/password-store-otp-0.1.5.ebuild 
b/app-emacs/password-store-otp/password-store-otp-0.1.5.ebuild
new file mode 100644
index 0000000..17745fd
--- /dev/null
+++ b/app-emacs/password-store-otp/password-store-otp-0.1.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Major mode for password-store"
+HOMEPAGE="https://github.com/volrath/password-store-otp.el";
+SRC_URI="https://github.com/volrath/${PN}.el/archive/refs/tags/${PV}.tar.gz
+       -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}.el-${PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-admin/pass[emacs]
+       app-emacs/s"
+BDEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+# tests are for old buttercup without lexical binding
+#elisp-enable-tests buttercup tests

Reply via email to