diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-28 15:07:11 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 16:17:27 +0000 |
| commit | 29ae8fd873697243e1bdebf2bb8cc91e0b883f1c (patch) | |
| tree | dcf480c990c592c39eaf61a75cdb5292752b60cd /gnu/packages/python-xyz.scm | |
| parent | a3ee84ac8f9ec96dc11d0ceb8ceb220d8628474e (diff) | |
gnu: python-ldap3: Update to 2.9.1.
* gnu/packages/python-xyz.scm (python-ldap3): Update to 2.9.1.
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> by <#:test-backend>.
[native-inputs]: Add python-setuptools. Replace python-nose by
python-pynose.
Change-Id: I89c1991793eee46e727bd1485831039ae39b4498
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 30ea30a98cb..9c3b6f36f37 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30536,7 +30536,7 @@ enforcement of that policy.") (define-public python-ldap3 (package (name "python-ldap3") - (version "2.7") + (version "2.9.1") (home-page "https://github.com/cannatag/ldap3") (source (origin @@ -30545,18 +30545,14 @@ enforcement of that policy.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0xw9fkqld21xsvdpaqir8ccc2l805xnn9gxahsnl70xzp3mwl0xv")))) - (build-system python-build-system) + (base32 "07nxbv41wpg5567r07yvm4chgs761drsvn53gn548zi26gmrpr07")))) + (build-system pyproject-build-system) (arguments - '(#:tests? #f ;TODO: Tests need a real LDAP server to run - #:phases (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "nosetests" "-s" "test")) - #t))))) + (list + #:tests? #f ;TODO: Tests need a real LDAP server to run + #:test-backend #~'nose)) (native-inputs - (list python-nose)) + (list python-pynose python-setuptools)) (propagated-inputs (list python-gssapi python-pyasn1)) (synopsis "Python LDAP client") |
