dev-python/pykeepass: add ebuild
This commit is contained in:
parent
1f5d6b75d8
commit
570cb5e018
3 changed files with 57 additions and 0 deletions
3
dev-python/pykeepass/Manifest
Normal file
3
dev-python/pykeepass/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
DIST pykeepass-4.1.1.tar.gz 111977 BLAKE2B 2fed1169f694661a8f4710a9a67dbac205abdfb5877e3d7b258e8e83692cde03705e6199c26f215ceb22d2bfec73f6ea16dfb4cdb60ea0c9e07239e930b02692 SHA512 635d359e7bf487a963b6c97c81ea25a17a28c899969f6d8611cbd963bb6cdfc2a809b86c8abb0f87e2f82cd87d80a425c1fa88f3351005bd33a7e02684b1766b
|
||||||
|
EBUILD pykeepass-4.1.1.ebuild 1393 BLAKE2B 66450b7423be976880fa803d9137c89456efb6047cc8433b8102d84a3d780b5b0d20d44cf762dd0c96beea70b99269f836960a39494a140aa93844c9f6d979cc SHA512 f8d457d4a280e0216458b97d2a36afb951450357d3b00cedd908a293ed9358a14e85be9ffc65e00d4b0afcd1c365682a30ef21cd53d3c9539fa4e0fee003dbab
|
||||||
|
MISC metadata.xml 216 BLAKE2B 98b55d77f4255ca20a41fef0a66299cf6baec1df788810e210ecad6a6352c642ca652c2d404e24ff181f3c34cee7ef750d7985d7826e9c6ee7765dd657dc765c SHA512 6eacf7815e19e9e770cad73069181bdd082df3996c1cba2c1eead43fff8d001390152049f0f50d8bab7b3554873918f2ffeb972bbd2698243e5a0ffd33a6af1b
|
||||||
7
dev-python/pykeepass/metadata.xml
Normal file
7
dev-python/pykeepass/metadata.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>ischluff@mailbox.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
47
dev-python/pykeepass/pykeepass-4.1.1.ebuild
Normal file
47
dev-python/pykeepass/pykeepass-4.1.1.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{11..13} )
|
||||||
|
DISTUTILS_USE_PEP517="setuptools"
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python library to interact with keepass databases (supports KDBX3 and KDBX4)"
|
||||||
|
HOMEPAGE="https://github.com/libkeepass/pykeepass"
|
||||||
|
SRC_URI="https://github.com/libkeepass/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/construct[${PYTHON_USEDEP}]
|
||||||
|
dev-python/argon2-cffi[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||||
|
dev-python/future[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/construct[${PYTHON_USEDEP}]
|
||||||
|
dev-python/argon2-cffi[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests unittest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i -e 's:Cryptodome:Crypto:' pykeepass/kdbx_parsing/common.py || die
|
||||||
|
sed -i -e 's:Cryptodome:Crypto:' pykeepass/kdbx_parsing/twofish.py || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
distutils-r1_python_install
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue