diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 12:18:56 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 12:20:30 +0000 |
| commit | 3422669f50ad8e0acd4f9de428c46091056c0267 (patch) | |
| tree | c32f8f612f17130c6cabaf2cef9d62a0f96ddf31 /gnu/packages/python-crypto.scm | |
| parent | f3d36c2391f35a04886bf873220287c53cff206c (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.scm | 35 |
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.") (define-public python-pykeepass (package (name "python-pykeepass") - (version "3.2.1") + (version "4.1.1.post1") (source (origin (method git-fetch) - ;; Source tarball on PyPI doesn't include tests. (uri (git-reference - (url "https://github.com/libkeepass/pykeepass") - (commit version))) + (url "https://github.com/libkeepass/pykeepass") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1symxf4ahylynihnp9z4z3lh2vy65ipvg8s4hjrnn936hcaaxghk")))) - (build-system python-build-system) + (base32 "1ayvgklq3naydx01m7hyvf44ywczk5yzy2pk48bpfayl7bgk7q8d")))) + (build-system pyproject-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))))) + ;; tests: 115 passed + (list #:test-backend #~'unittest)) + (native-inputs + (list python-setuptools)) (propagated-inputs (list python-argon2-cffi python-construct - python-dateutil - python-future python-lxml - python-pycryptodomex)) + python-pycryptodomex + python-pyotp)) (home-page "https://github.com/libkeepass/pykeepass") (synopsis "Python library to interact with keepass databases") (description |
