all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58369] [PATCH] gnu: Add python-simple-pid.
@ 2022-10-07 21:59 jgart via Guix-patches via
  2022-10-18 12:41 ` bug#58369: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-07 21:59 UTC (permalink / raw)
  To: 58369; +Cc: jgart

* 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 <paul@apatience.com>
 ;;; Copyright © 2022 Wiktor Żelazny <wzelazny@vurv.cz>
 ;;; Copyright © 2022 Eric Bavier <bavier@posteo.net>
+;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;;
 ;;; 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#58369: [PATCH] gnu: Add python-simple-pid.
  2022-10-07 21:59 [bug#58369] [PATCH] gnu: Add python-simple-pid jgart via Guix-patches via
@ 2022-10-18 12:41 ` Ludovic Courtès
  2022-10-18 15:31   ` [bug#58369] " jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2022-10-18 12:41 UTC (permalink / raw)
  To: jgart; +Cc: 58369-done

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

jgart <jgart@dismail.de> skribis:

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

Applied with the change below, thanks!

Ludo'.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 704 bytes --]

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#58369] [PATCH] gnu: Add python-simple-pid.
  2022-10-18 12:41 ` bug#58369: " Ludovic Courtès
@ 2022-10-18 15:31   ` jgart via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-18 15:31 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 58369-done

On Tue, 18 Oct 2022 14:41:17 +0200 Ludovic Courtès <ludo@gnu.org> wrote:
> jgart <jgart@dismail.de> skribis:
> 
> > * gnu/packages/python-science.scm (python-simple-pid): New variable.
> 
> Applied with the change below, thanks!

THNX!

all best,

jgart




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-18 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-07 21:59 [bug#58369] [PATCH] gnu: Add python-simple-pid jgart via Guix-patches via
2022-10-18 12:41 ` bug#58369: " Ludovic Courtès
2022-10-18 15:31   ` [bug#58369] " jgart via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.