summaryrefslogtreecommitdiff
path: root/dev-python/pykeepass
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pykeepass
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/pykeepass')
-rw-r--r--dev-python/pykeepass/Manifest1
-rw-r--r--dev-python/pykeepass/metadata.xml18
-rw-r--r--dev-python/pykeepass/pykeepass-4.1.1_p1.ebuild44
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/pykeepass/Manifest b/dev-python/pykeepass/Manifest
new file mode 100644
index 000000000000..dcff25ac1848
--- /dev/null
+++ b/dev-python/pykeepass/Manifest
@@ -0,0 +1 @@
+DIST pykeepass-4.1.1_p1.gh.tar.gz 112962 BLAKE2B 986cacb63b4c9a60c291bcd67d32f025b69c4dea2c09edb4ea53251ed00ae0fc2b051aa161c9f892bd6a0877bbc00c2eebe2269a03f385ba63b92d940e9a0f16 SHA512 ba756ec7fc1410dd72a963ac70be432181d3a89d699bd823f7ffd296c42211ef9d20b583c2c47e0e1a0fc85827b0bbc14462d583fe457cc0a9174f7731d3db0f
diff --git a/dev-python/pykeepass/metadata.xml b/dev-python/pykeepass/metadata.xml
new file mode 100644
index 000000000000..3bc45daf100d
--- /dev/null
+++ b/dev-python/pykeepass/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>parona@protonmail.com</email>
+ <name>Alfred Wingate</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/pykeepass/pykeepass-4.1.1_p1.ebuild b/dev-python/pykeepass/pykeepass-4.1.1_p1.ebuild
new file mode 100644
index 000000000000..9fa6f231a0c7
--- /dev/null
+++ b/dev-python/pykeepass/pykeepass-4.1.1_p1.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 pypi
+
+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$(pypi_translate_version ${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/lxml[${PYTHON_USEDEP}]
+ >=dev-python/pycryptodome-3.6.2[${PYTHON_USEDEP}]
+ >=dev-python/pyotp-2.9.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+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
+}