Subject: bug#58369: closed (Re: bug#58369: [PATCH] gnu: Add python-simple-pid.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 18 Oct 2022 12:42:03 +0000

Your bug report

#58369: [PATCH] gnu: Add python-simple-pid.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58369: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58369
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#58369: [PATCH] gnu: Add python-simple-pid.
From: Ludovic Courtès <[email-masked]>
To: jgart <[email-masked]>
Cc: [email-masked]
Date: Tue, 18 Oct 2022 14:41:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

jgart <[email-masked]> skribis:

> * gnu/packages/python-science.scm (python-simple-pid): New variable.

Applied with the change below, thanks!

Ludo'.

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 7d748035ba..94a4c922a5 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1503,7 +1503,8 @@ (define-public python-simple-pid
                (invoke "python" "-m" "unittest" "discover" "tests/")))))))
     (home-page "https://github.com/m-lundberg/simple-pid")
     (synopsis "Easy to use PID controller")
-    (description "This package provides a simple, easy to use PID controller.")
+    (description "This package provides a simple and easy-to-use @acronym{PID,
+proportional-integral-derivative} controller.")
     (license license:expat)))
 
 (define-public python-opt-einsum

Subject: [PATCH] gnu: Add python-simple-pid.
From: jgart <[email-masked]>
To: [email-masked]
Cc: jgart <[email-masked]>
Date: Fri, 7 Oct 2022 16:59:11 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-science.scm (python-simple-pid): New variable.
---
 gnu/packages/python-science.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index f2cbfb0043..293ad156f6 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2022 Paul A. Patience <[email-masked]>
 ;;; Copyright © 2022 Wiktor Żelazny <[email-masked]>
 ;;; Copyright © 2022 Eric Bavier <[email-masked]>
+;;; Copyright © 2022 jgart <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1482,6 +1483,29 @@ (define-public python-deepdish
 interoperability offered by HDF5.")
     (license license:bsd-3)))
 
+(define-public python-simple-pid
+  (package
+    (name "python-simple-pid")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "simple-pid" version))
+              (sha256
+               (base32
+                "094mz6rmfq1h0gpns5vlxb7xf9297hlkhndw7g9k95ziqfkv7mk0"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "python" "-m" "unittest" "discover" "tests/")))))))
+    (home-page "https://github.com/m-lundberg/simple-pid")
+    (synopsis "Easy to use PID controller")
+    (description "This package provides a simple, easy to use PID controller.")
+    (license license:expat)))
+
 (define-public python-opt-einsum
   (package
     (name "python-opt-einsum")
-- 
2.37.3