From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8PbmLBzQg1/TBAAA0tVLHw (envelope-from ) for ; Mon, 12 Oct 2020 03:40:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iL6pKBzQg18MHAAA1q6Kng (envelope-from ) for ; Mon, 12 Oct 2020 03:40:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C2C519402A5 for ; Mon, 12 Oct 2020 03:40:11 +0000 (UTC) Received: from localhost ([::1]:43268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRogz-0004A1-VE for larch@yhetil.org; Sun, 11 Oct 2020 23:40:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRogs-00049Q-8I for guix-patches@gnu.org; Sun, 11 Oct 2020 23:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57971) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRogr-0003S3-Rw for guix-patches@gnu.org; Sun, 11 Oct 2020 23:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRogr-0003ip-OG for guix-patches@gnu.org; Sun, 11 Oct 2020 23:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43939] [PATCH 1/3] gnu: Add python-pykeepass. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Oct 2020 03:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43939 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43939@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160247399714289 (code B ref -1); Mon, 12 Oct 2020 03:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2020 03:39:57 +0000 Received: from localhost ([127.0.0.1]:41284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRogn-0003iP-8n for submit@debbugs.gnu.org; Sun, 11 Oct 2020 23:39:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:60252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRogm-0003iI-CY for submit@debbugs.gnu.org; Sun, 11 Oct 2020 23:39:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRogm-00049D-5S for guix-patches@gnu.org; Sun, 11 Oct 2020 23:39:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRogj-0003Nw-Fh for guix-patches@gnu.org; Sun, 11 Oct 2020 23:39:55 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BD6D416005C for ; Mon, 12 Oct 2020 05:39:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1602473988; bh=Vyfd3q31s2k61CPKhvd70jciViTnqTgJIHP2YdfpwBE=; h=From:To:Cc:Subject:Date:From; b=nbpCpHvY9YXlANF6OGTKkWhJmQsl7NtVKZhlOnsOYg/4md5d2pZNLip9HKBqC31Uh ynFznXzK287kCBG56ckg+lP+i7dA/HVAXbzBOce1BNz2B0+1mfq5D67T+A3WCnbSYp bSRkrxUHpsnQScgDu3AtxiWvCTSg0msaty8NrU9Ey6XJdRDdcCZu939N2VrkehxsQT ahdTehqliCQZYk+TZvq7pOYL8cyipJpw/Q1WwnqTLKil9gReyXJLguy6rVqlzQkGCj 8ssnY0kCqNeiTIcJAlD52J/4HfIE9FPUBS8z818MUoVbjWyuwwg+mmqe0mr2lBiiHV Z35YGE2RB/07g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4C8kvR0CMqz9rxG; Mon, 12 Oct 2020 05:39:46 +0200 (CEST) From: Vinicius Monego Date: Mon, 12 Oct 2020 00:38:49 -0300 Message-Id: <20201012033849.56024-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/11 23:39:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=nbpCpHvY; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: HaetlT8i7g1i * gnu/packages/python-crypto.scm (python-pykeepass): New variable. --- v3.2.1 was released recently but it introduces a breaking change that will only be fixed in the next version of Password Safe. See https://gitlab.gnome.org/World/PasswordSafe/-/issues/163. gnu/packages/python-crypto.scm | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index f39695a850..b01f5bb173 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -61,6 +61,7 @@ #:use-module (gnu packages swig) #:use-module (gnu packages time) #:use-module (gnu packages tls) + #:use-module (gnu packages xml) #:use-module ((guix licenses) #:prefix license:) #:use-module (srfi srfi-1)) @@ -1060,6 +1061,53 @@ through the Engine interface.") (propagated-inputs `(("python2-typing" ,python2-typing)))))) +(define-public python-pykeepass + (package + (name "python-pykeepass") + (version "3.2.0") + (source + (origin + (method git-fetch) + ;; Source tarball on PyPI doesn't include tests. + (uri (git-reference + (url "https://github.com/libkeepass/pykeepass") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wxbfpy7467mlnfsvmh685fhfnq4fki9y7yc9cylp30r5n3hisaj")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'make-kdbx-writable + ;; Tests have to write to the .kdbx files in the test directory. + (lambda _ + (with-directory-excursion "tests" + (for-each make-file-writable (find-files ".")) + #t))) + (add-before 'build 'patch-requirements + (lambda _ + ;; Update requirements from dependency==version + ;; to dependency>=version. + (substitute* "setup.py" + (("==") ">=")) + #t))))) + (propagated-inputs + `(("python-argon2-cffi" ,python-argon2-cffi) + ("python-construct" ,python-construct) + ("python-dateutil" ,python-dateutil) + ("python-future" ,python-future) + ("python-lxml" ,python-lxml) + ("python-pycryptodome" ,python-pycryptodome))) + (home-page "https://github.com/libkeepass/pykeepass") + (synopsis "Python library to interact with keepass databases") + (description + "This library allows you to write entries to a KeePass database. It +supports KDBX3 and KDBX4.") + ;; There are no copyright headers in the source code. The LICENSE file + ;; indicates GPL3. + (license license:gpl3))) + (define-public python-pylibscrypt (package (name "python-pylibscrypt") -- 2.20.1