summaryrefslogtreecommitdiff
path: root/dev-python/pykeepass
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-10 03:04:52 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-10 03:04:52 -0500
commit1160c54c5acbfd332d8757e926627ae58c982459 (patch)
tree1b77233142ee428a8bb175ab467fc16086f9d41c /dev-python/pykeepass
parent92f6d12bf21434879bac739a9c4c7d9924ce3bad (diff)
downloadbaldeagleos-repo-1160c54c5acbfd332d8757e926627ae58c982459.tar.gz
baldeagleos-repo-1160c54c5acbfd332d8757e926627ae58c982459.tar.xz
baldeagleos-repo-1160c54c5acbfd332d8757e926627ae58c982459.zip
Adding metadata
Diffstat (limited to 'dev-python/pykeepass')
-rw-r--r--dev-python/pykeepass/Manifest1
-rw-r--r--dev-python/pykeepass/pykeepass-4.2.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pykeepass/Manifest b/dev-python/pykeepass/Manifest
index dcff25ac1848..f94168e76ae9 100644
--- a/dev-python/pykeepass/Manifest
+++ b/dev-python/pykeepass/Manifest
@@ -1 +1,2 @@
DIST pykeepass-4.1.1_p1.gh.tar.gz 112962 BLAKE2B 986cacb63b4c9a60c291bcd67d32f025b69c4dea2c09edb4ea53251ed00ae0fc2b051aa161c9f892bd6a0877bbc00c2eebe2269a03f385ba63b92d940e9a0f16 SHA512 ba756ec7fc1410dd72a963ac70be432181d3a89d699bd823f7ffd296c42211ef9d20b583c2c47e0e1a0fc85827b0bbc14462d583fe457cc0a9174f7731d3db0f
+DIST pykeepass-4.2.0.gh.tar.gz 115337 BLAKE2B 467cee5c8852f90d6bff05aca0ff1cd77081da280ec45e8f7a0d649396813d781a45271a11db838cf8492fa486f5ad867438123d4f543affe1f19a4c225ed78a SHA512 b4374f94dd7a8ef7bf1b5a357eccdf0244e85585667fb0516010c1d6cb0aa3410b0c7b71c44f1c89ee901c280e44577ccc9aaadaa7851968daccfd1f11d97a8c
diff --git a/dev-python/pykeepass/pykeepass-4.2.0.ebuild b/dev-python/pykeepass/pykeepass-4.2.0.ebuild
new file mode 100644
index 000000000000..08f3ae9e441d
--- /dev/null
+++ b/dev-python/pykeepass/pykeepass-4.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library to interact with keepass databases (supports KDBX3 and KDBX4)"
+HOMEPAGE="
+ https://github.com/libkeepass/pykeepass/
+ https://pypi.org/project/pykeepass/
+"
+# no tests in sdist
+SRC_URI="
+ https://github.com/libkeepass/pykeepass/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/argon2-cffi-18.1.0[${PYTHON_USEDEP}]
+ >=dev-python/construct-2.10.53[${PYTHON_USEDEP}]
+ dev-python/importlib-metadata[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ >=dev-python/pycryptodome-3.6.2[${PYTHON_USEDEP}]
+ >=dev-python/pyotp-2.9.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_prepare() {
+ sed -e 's|pycryptodomex|pycryptodome|' -i pyproject.toml || die
+ sed -e 's|from Cryptodome|from Crypto|' -i pykeepass/kdbx_parsing/{common,twofish}.py || die
+}
+
+python_test() {
+ eunittest tests.tests
+}