commit: 1a2de2a36b1a6e18056ce2a5ea1f52fa561228d0 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Jan 21 11:05:33 2026 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Jan 21 11:07:21 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a2de2a3
app-emacs/password-store-otp: new package, add 0.1.5 Imported from emacs overlay, 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 | 27 ++++++++++++++++++++++ 4 files changed, 53 insertions(+) diff --git a/app-emacs/password-store-otp/Manifest b/app-emacs/password-store-otp/Manifest new file mode 100644 index 000000000000..341d808822c1 --- /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 000000000000..de30efa64436 --- /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 000000000000..6d885455f8ee --- /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 000000000000..c403a614288a --- /dev/null +++ b/app-emacs/password-store-otp/password-store-otp-0.1.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +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" + +BDEPEND="app-admin/pass[emacs] + app-emacs/s" +RDEPEND="${BDEPEND} + app-admin/pass-otp" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +# tests are for old buttercup without lexical binding +#elisp-enable-tests buttercup tests
