From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:38334) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itr9c-0002JG-1x for guix-patches@gnu.org; Tue, 21 Jan 2020 05:53:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itr9a-0005Jy-OG for guix-patches@gnu.org; Tue, 21 Jan 2020 05:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itr9a-0005Jt-LQ for guix-patches@gnu.org; Tue, 21 Jan 2020 05:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1itr9a-00085C-LI for guix-patches@gnu.org; Tue, 21 Jan 2020 05:53:02 -0500 Subject: [bug#39216] [PATCH] gnu: Add python-bonsai Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:38290) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itr9Q-00021p-NO for guix-patches@gnu.org; Tue, 21 Jan 2020 05:52:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itr9P-0005DR-Do for guix-patches@gnu.org; Tue, 21 Jan 2020 05:52:52 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:35229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itr9P-0005CO-2O for guix-patches@gnu.org; Tue, 21 Jan 2020 05:52:51 -0500 Received: by mail-wr1-x429.google.com with SMTP id g17so2651376wro.2 for ; Tue, 21 Jan 2020 02:52:51 -0800 (PST) From: Lars-Dominik Braun Date: Tue, 21 Jan 2020 11:52:22 +0100 Message-Id: <20200121105222.24907-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39216@debbugs.gnu.org Cc: Lars-Dominik Braun * gnu/packages/python-xyz.scm (python-bonsai): New variable --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 715a0109f7..8fd11d5b48 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -95,6 +95,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) + #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) #:use-module (gnu packages file) @@ -124,6 +125,7 @@ #:use-module (gnu packages networking) #:use-module (gnu packages ncurses) #:use-module (gnu packages openstack) + #:use-module (gnu packages openldap) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -17315,3 +17317,30 @@ tests.") GSSAPI C libraries. While it focuses on the Kerberos mechanism, it should also be useable with other GSSAPI mechanisms.") (license license:isc))) + +(define-public python-bonsai + (package + (name "python-bonsai") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "bonsai" version)) + (sha256 + (base32 + "0pfzlbri5rfblb4qfvcx46gx4y6z9h057xllmmz47q2qifvs6kfg")))) + (build-system python-build-system) + (inputs + `(("mit-krb5" ,mit-krb5) + ("cyrus-sasl" ,cyrus-sasl) + ("openldap" ,openldap))) + ;; disabling tests, since they require docker and extensive setup + (arguments `(#:tests? #f)) + (home-page "https://github.com/noirello/bonsai") + (synopsis + "Python 3 module for accessing LDAP directory servers.") + (description + "This is a module for handling LDAP operations in Python. LDAP entries +are mapped to a special Python case-insensitive dictionary, tracking the +changes of the dictionary to modify the entry on the server easily.") + (license license:expat))) -- 2.20.1