GNU bug report logs - #39216
[PATCH] gnu: Add python-bonsai

Previous Next

Package: guix-patches;

Reported by: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>

Date: Tue, 21 Jan 2020 10:53:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39216 in the body.
You can then email your comments to 39216 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#39216; Package guix-patches. (Tue, 21 Jan 2020 10:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars-Dominik Braun <ldb <at> leibniz-psychology.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 21 Jan 2020 10:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: guix-patches <at> gnu.org
Cc: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Subject: [PATCH] gnu: Add python-bonsai
Date: Tue, 21 Jan 2020 11:52:22 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#39216; Package guix-patches. (Thu, 30 Jan 2020 12:03:02 GMT) Full text and rfc822 format available.

Message #8 received at 39216 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>, 39216 <at> debbugs.gnu.org
Cc: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Subject: Re: [bug#39216] [PATCH] gnu: Add python-bonsai
Date: Thu, 30 Jan 2020 13:01:51 +0100
[Message part 1 (text/plain, inline)]
Hello Lars,

Lars-Dominik Braun <ldb <at> leibniz-psychology.org> writes:

> * gnu/packages/python-xyz.scm (python-bonsai): New variable

I think openldap.scm is better suited for this package, so that we don't
have to import two more modules into the monster python-xyz.scm.

Please also add a copyright line for yourself, and make sure to fix
issues reported by 'guix lint python-bonsai'.

[...]

> +    (synopsis
> +      "Python 3 module for accessing LDAP directory servers.")

s/Python 3/Python/

or even "Access LDAP directory servers from Python".

Can you send an updated patch?  TIA!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#39216; Package guix-patches. (Thu, 30 Jan 2020 16:27:02 GMT) Full text and rfc822 format available.

Message #11 received at 39216 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39216 <at> debbugs.gnu.org
Cc: mbakke <at> fastmail.com, Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Subject: [PATCH] gnu: Add python-bonsai
Date: Thu, 30 Jan 2020 17:26:01 +0100
* gnu/packages/openldap.scm (python-bonsai): New variable
---
 gnu/packages/openldap.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 7abe9ab6f0..482f83decb 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -48,7 +48,7 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
   #:use-module (gnu packages)
-  #:use-module ((guix licenses) #:select (openldap2.8 lgpl2.1+ gpl3+ psfl))
+  #:use-module ((guix licenses) #:select (openldap2.8 lgpl2.1+ gpl3+ psfl expat))
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
@@ -367,3 +367,31 @@ Other features include:
 @end enumerate\n")
     ;; GPLv3+ with OpenSSL linking exception.
     (license gpl3+)))
+
+(define-public python-bonsai
+  (package
+    (name "python-bonsai")
+    (version "1.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bonsai" version))
+        (sha256
+          (base32
+            "013bl6h1m3f7vg1lk89d4vi28wbf31zdcs4f9g8css7ngx63v6px"))))
+    (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
+      "Access LDAP directory servers from Python")
+    (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 expat)))
+
-- 
2.20.1





Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Thu, 30 Jan 2020 16:50:02 GMT) Full text and rfc822 format available.

Notification sent to Lars-Dominik Braun <ldb <at> leibniz-psychology.org>:
bug acknowledged by developer. (Thu, 30 Jan 2020 16:50:02 GMT) Full text and rfc822 format available.

Message #16 received at 39216-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>, 39216-done <at> debbugs.gnu.org
Cc: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Subject: Re: [PATCH] gnu: Add python-bonsai
Date: Thu, 30 Jan 2020 17:49:49 +0100
[Message part 1 (text/plain, inline)]
Lars-Dominik Braun <ldb <at> leibniz-psychology.org> writes:

> * gnu/packages/openldap.scm (python-bonsai): New variable

That was fast, thanks!

I adjusted the indentation with Emacs, added a copyright line for you
(hope that was okay!), and added punctuations to the commit message.

Pushed in e5d71802fc58bc3ebb1ef8afdca63adbca169a48.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Feb 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.