summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 12:18:56 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 12:20:30 +0000
commit3422669f50ad8e0acd4f9de428c46091056c0267 (patch)
treec32f8f612f17130c6cabaf2cef9d62a0f96ddf31 /gnu/packages/python-crypto.scm
parentf3d36c2391f35a04886bf873220287c53cff206c (diff)
gnu: python-pykeepass: Update to 4.1.1.post1.
* gnu/packages/python-crypto.scm (python-pykeepass): Update to 4.1.1.post1. [build-system]: Switch to pyproject-build-system. [arguments] <test-backend>: Use 'unittest. <phases>: Remove 'make-kdbx-writable and 'patch-requirements. [propagated-inputs]: Remove python-dateutil and python-future; add python-pyotp. [native-inputs]: Add python-setuptools. Change-Id: I0a47e095caec0334e2980cac4dc81881cc4fb1d2
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm35
1 files changed, 11 insertions, 24 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index a770b588ab5..d66fa8f80ab 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1152,41 +1152,28 @@ through the Engine interface.")
1152(define-public python-pykeepass 1152(define-public python-pykeepass
1153 (package 1153 (package
1154 (name "python-pykeepass") 1154 (name "python-pykeepass")
1155 (version "3.2.1") 1155 (version "4.1.1.post1")
1156 (source 1156 (source
1157 (origin 1157 (origin
1158 (method git-fetch) 1158 (method git-fetch)
1159 ;; Source tarball on PyPI doesn't include tests.
1160 (uri (git-reference 1159 (uri (git-reference
1161 (url "https://github.com/libkeepass/pykeepass") 1160 (url "https://github.com/libkeepass/pykeepass")
1162 (commit version))) 1161 (commit (string-append "v" version))))
1163 (file-name (git-file-name name version)) 1162 (file-name (git-file-name name version))
1164 (sha256 1163 (sha256
1165 (base32 "1symxf4ahylynihnp9z4z3lh2vy65ipvg8s4hjrnn936hcaaxghk")))) 1164 (base32 "1ayvgklq3naydx01m7hyvf44ywczk5yzy2pk48bpfayl7bgk7q8d"))))
1166 (build-system python-build-system) 1165 (build-system pyproject-build-system)
1167 (arguments 1166 (arguments
1168 `(#:phases 1167 ;; tests: 115 passed
1169 (modify-phases %standard-phases 1168 (list #:test-backend #~'unittest))
1170 (add-after 'unpack 'make-kdbx-writable 1169 (native-inputs
1171 ;; Tests have to write to the .kdbx files in the test directory. 1170 (list python-setuptools))
1172 (lambda _
1173 (with-directory-excursion "tests"
1174 (for-each make-file-writable (find-files "."))
1175 #t)))
1176 (add-before 'build 'patch-requirements
1177 (lambda _
1178 ;; Update requirements from dependency==version
1179 ;; to dependency>=version.
1180 (substitute* "setup.py"
1181 (("==") ">="))
1182 #t)))))
1183 (propagated-inputs 1171 (propagated-inputs
1184 (list python-argon2-cffi 1172 (list python-argon2-cffi
1185 python-construct 1173 python-construct
1186 python-dateutil
1187 python-future
1188 python-lxml 1174 python-lxml
1189 python-pycryptodomex)) 1175 python-pycryptodomex
1176 python-pyotp))
1190 (home-page "https://github.com/libkeepass/pykeepass") 1177 (home-page "https://github.com/libkeepass/pykeepass")
1191 (synopsis "Python library to interact with keepass databases") 1178 (synopsis "Python library to interact with keepass databases")
1192 (description 1179 (description