From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1E30158092 for ; Wed, 8 Jun 2022 05:14:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0034BE08AD; Wed, 8 Jun 2022 05:14:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 788D4E08BD for ; Wed, 8 Jun 2022 05:14:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 496C8340FB2 for ; Wed, 8 Jun 2022 05:14:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6FEBD3 for ; Wed, 8 Jun 2022 05:14:13 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1654665223.7ab6df4f44a716ec4f4f4a083a568e206ce435fd.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pykeepass/Manifest dev-python/pykeepass/pykeepass-4.0.2.ebuild X-VCS-Directories: dev-python/pykeepass/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: 7ab6df4f44a716ec4f4f4a083a568e206ce435fd X-VCS-Branch: dev Date: Wed, 8 Jun 2022 05:14:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3c99dca7-5671-43a1-8bb2-ecad67b50e8e X-Archives-Hash: 0f171e6c86e25c3d35af8a8bd2ebd1c5 commit: 7ab6df4f44a716ec4f4f4a083a568e206ce435fd Author: James Beddek posteo de> AuthorDate: Fri Jun 3 05:59:57 2022 +0000 Commit: Theo Anderson posteo de> CommitDate: Wed Jun 8 05:13:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ab6df4f dev-python/pykeepass: add 4.0.2 Closes: https://bugs.gentoo.org/848279 Signed-off-by: James Beddek posteo.de> dev-python/pykeepass/Manifest | 1 + dev-python/pykeepass/pykeepass-4.0.2.ebuild | 38 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/pykeepass/Manifest b/dev-python/pykeepass/Manifest index 0192005ee..bc2747de6 100644 --- a/dev-python/pykeepass/Manifest +++ b/dev-python/pykeepass/Manifest @@ -1,2 +1,3 @@ DIST pykeepass-4.0.0.tar.gz 88720 BLAKE2B 7dcce1ded4527f32e0a602d9a7b742fabd32ee6c5e6836f0d4d217c3117177f258e974275670c9cea408e05335004996bea6a68ba12fe02ac30b0276ac7cfb54 SHA512 03483c9dc78774b2c5d4088f9995db9a9142bc69a8d4bc1824f4868175d3556434cb155c1f35a3fa0c04fca72f571af518166f59bcbe21431b7fe34a20b57cb2 DIST pykeepass-4.0.1.tar.gz 99343 BLAKE2B ed3ea6575041ef73adc769365078818af9080851bba8b31ee24ef283480633305147307c4ea7217fba96ca18cd90bcf33b0d66b0a9148121165f67937d8677b0 SHA512 512f25029fcaa7a84459767cd9101d113623722c2aaf466fd3e77cf0043c37d344ccd2c0226fcbc3b3c22e39f8060c172ab1e1c72993c469a4499b21c47f6134 +DIST pykeepass-4.0.2.tar.gz 102819 BLAKE2B 27bac0508328ed36bed779a5a74978a0e7d3aec25212811de7295214b05fc018e722530b3e40d2e09a68c8ffffd93f60dde79aa6ee03b1a445c1ac93d51c0847 SHA512 2e3704246fd1bf230fa6525a3d2cba1cd09634b669653df3c66ac52642bcd1a59f28ca09ef8a05b31e70604c70b9ad247d7ab2badddab325aa0dee837c0a2402 diff --git a/dev-python/pykeepass/pykeepass-4.0.2.ebuild b/dev-python/pykeepass/pykeepass-4.0.2.ebuild new file mode 100644 index 000000000..d95c56e0a --- /dev/null +++ b/dev-python/pykeepass/pykeepass-4.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +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/pykeepass/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/argon2-cffi-19.2.0[${PYTHON_USEDEP}] + >=dev-python/construct-2.10.54[${PYTHON_USEDEP}] + >=dev-python/future-0.18.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.5[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.8.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + # pycryptodomex to pycryptodome conversion + sed -i 's/Cryptodome/Crypto/g' pykeepass/kdbx_parsing/{common,twofish}.py || die +} + +python_test() { + "${EPYTHON}" tests/tests.py -v || die +}