From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 69434@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
Munyoki Kilyungi <me@bonfacemunyoki.com>,
Sharlatan Hellseher <sharlatanus@gmail.com>,
jgart <jgart@dismail.de>
Subject: [bug#69434] [PATCH v2] gnu: Add python-ldaptor.
Date: Sat, 2 Mar 2024 14:15:29 +0000 [thread overview]
Message-ID: <8a57f790659006fea7b1b69cae08e516cd8ad8bd.1709388891.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <79baa47b74835f8f93004fd047ee3a0bd8db9a44.1709060901.git.sharlatanus@gmail.com>
* gnu/packages/python-xyz.scm (python-ldaptor): New variable.
Change-Id: If7d2cb7b51bb0ccc85b76d7f2d4b31857e042066
---
gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fc6e997b6c..71e629896c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30099,6 +30099,55 @@ (define-public python-ldap3
library.")
(license license:lgpl3+)))
+(define-public python-ldaptor
+ (package
+ (name "python-ldaptor")
+ (version "21.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ldaptor" version))
+ (sha256
+ (base32 "0n53czn5pyh8923y282spdb7xc8c9rhn0n43bczanjjx6wcynjcc"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-m" "twisted.trial"
+ (string-append "-j" (number->string (parallel-job-count)))
+ "ldaptor")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'disable-failing-tests
+ (lambda _
+ ;; Testing with Twisted 22.4 results in infinite loop creating
+ ;; temporary config files, see
+ ;; <https://github.com/twisted/ldaptor/issues/238>.
+ (delete-file "ldaptor/test/test_config.py")))
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (apply invoke "python" test-flags)))))))
+ (propagated-inputs
+ (list python-passlib
+ python-pyparsing
+ python-six
+ python-twisted-22
+ python-zope-interface))
+ (home-page "https://github.com/twisted/ldaptor")
+ (synopsis "Pure-Python Twisted library for LDAP")
+ (description
+ "This package provides a Python Twisted library for LDAP, which key
+feaatures are:
+@itemize
+@item LDAP client logic
+@item separately-accessible LDAP and BER protocol message generation/parsing
+@item ASCII-format LDAP filter generation and parsing
+@item LDIF format data generation
+@item Samba password changing logic
+@end itemize")
+ (license license:expat)))
+
(define-public python-boltons
(package
(name "python-boltons")
base-commit: efdaa885b083e85bd380ca914addfcf32d0834f7
--
2.41.0
prev parent reply other threads:[~2024-03-02 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 19:09 [bug#69434] [PATCH] gnu: Add python-ldaptor Sharlatan Hellseher
2024-03-02 14:15 ` Sharlatan Hellseher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8a57f790659006fea7b1b69cae08e516cd8ad8bd.1709388891.git.sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=69434@debbugs.gnu.org \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
--cc=marius@gnu.org \
--cc=me@bonfacemunyoki.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).