commit: 0e23b1e103c84e708629950a381e2ebfdccc6a72
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 29 04:16:37 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 04:17:43 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e23b1e1
app-admin/pass-import: always depend on defusedxml
Automagic w/ Python can still be rough on tests or if defusedxml is available
but its deps need rebuilding etc.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-admin/pass-import/pass-import-3.5.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app-admin/pass-import/pass-import-3.5.ebuild
b/app-admin/pass-import/pass-import-3.5.ebuild
index 9238008ef545..78518927dcec 100644
--- a/app-admin/pass-import/pass-import-3.5.ebuild
+++ b/app-admin/pass-import/pass-import-3.5.ebuild
@@ -23,8 +23,11 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
+# defusedxml is optional, it falls back to builtin, but then it's
+# automagic, so just always depend on it.
RDEPEND="
app-admin/pass
+ dev-python/defusedxml[${PYTHON_USEDEP}]
dev-python/pyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/zxcvbn[${PYTHON_USEDEP}]
@@ -98,7 +101,6 @@ src_install() {
pkg_postinst() {
#optfeature "Lastpass cli based import/export" app-admin/lpass
- #optfeature "XML based import" dev-python/defusedxml # preferred
upstream but uses built-in xml if missing
optfeature "Keepass import from KDBX file" dev-python/pykeepass
optfeature "Gnome Keyring import" dev-python/secretstorage
optfeature "AndOTP or Aegis encrypted import" dev-python/cryptography