~ruther/guix-local

29ae8fd873697243e1bdebf2bb8cc91e0b883f1c — Nicolas Graves 6 months ago a3ee84a
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>
1 files changed, 7 insertions(+), 11 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +7 -11
@@ 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")