all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72144] [PATCH 0/2] Add python-lcapy
@ 2024-07-16 20:55 Vinicius Monego
  2024-07-16 23:38 ` [bug#72144] [PATCH 1/2] gnu: Add python-property-cached Vinicius Monego
  2024-07-16 23:38 ` [bug#72144] [PATCH 2/2] gnu: " Vinicius Monego
  0 siblings, 2 replies; 4+ messages in thread
From: Vinicius Monego @ 2024-07-16 20:55 UTC (permalink / raw)
  To: 72144; +Cc: Vinicius Monego

Vinicius Monego (2):
  gnu: Add python-property-cached.
  gnu: Add python-lcapy.

 gnu/packages/engineering.scm | 36 ++++++++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm  | 22 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)


base-commit: eb508e32d2d359c94d2cabebfe90dc32ca5dcf4f
-- 
2.39.2





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

* [bug#72144] [PATCH 1/2] gnu: Add python-property-cached.
  2024-07-16 20:55 [bug#72144] [PATCH 0/2] Add python-lcapy Vinicius Monego
@ 2024-07-16 23:38 ` Vinicius Monego
  2024-07-17  1:57   ` bug#72144: [PATCH 0/2] Add python-lcapy jgart via Guix-patches via
  2024-07-16 23:38 ` [bug#72144] [PATCH 2/2] gnu: " Vinicius Monego
  1 sibling, 1 reply; 4+ messages in thread
From: Vinicius Monego @ 2024-07-16 23:38 UTC (permalink / raw)
  To: 72144; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-property-cached): New variable.

Change-Id: I173c358bd8cf6d536cc984c3d9c76e0bad41dad4
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 88f19c0f55..2a13097e8b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10011,6 +10011,28 @@ (define-public python-olefile
 the OleFileIO module from PIL, the Python Image Library.")
     (license license:bsd-3)))
 
+(define-public python-property-cached
+  (package
+    (name "python-property-cached")
+    (version "1.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "property-cached" version ".zip"))
+       (sha256
+        (base32 "0wxv5sdx1p7ils36j6j6hfscz8v2vzbq212i8y8r0lrnxpqlx71y"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; AssertionError.
+      #:test-flags #~(list "-k" "not test_threads_ttl_expiry")))
+    (native-inputs (list python-freezegun python-pytest unzip))
+    (home-page "https://github.com/althonos/property-cached/")
+    (synopsis "Decorator for caching properties in classes")
+    (description "This package provides a decorator for caching properties in
+classes.  It is forked from @code{cached-property}.")
+    (license license:bsd-3)))
+
 (define-public python-pypdf3
   (package
     (name "python-pypdf3")
-- 
2.39.2





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

* [bug#72144] [PATCH 2/2] gnu: Add python-lcapy.
  2024-07-16 20:55 [bug#72144] [PATCH 0/2] Add python-lcapy Vinicius Monego
  2024-07-16 23:38 ` [bug#72144] [PATCH 1/2] gnu: Add python-property-cached Vinicius Monego
@ 2024-07-16 23:38 ` Vinicius Monego
  1 sibling, 0 replies; 4+ messages in thread
From: Vinicius Monego @ 2024-07-16 23:38 UTC (permalink / raw)
  To: 72144; +Cc: Vinicius Monego

* gnu/packages/engineering.scm (python-lcapy): New variable.

Change-Id: Ieca7f9e717dd1cd59ebe124bd51937680f8c9eb5
---
 gnu/packages/engineering.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index cc9020c6fd..efd437713d 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2664,6 +2664,42 @@ (define-public python-scikit-rf
 Microwave engineering.")
     (license license:bsd-3)))
 
+(define-public python-lcapy
+  (package
+    (name "python-lcapy")
+    (version "1.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "lcapy" version))
+       (sha256
+        (base32 "13swd2nd2s20hixy4as924sr223flcvcy9zw3qlzsrcvhppzb84n"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; This test fails by FileNotFoundError (a schematic file), possibly
+      ;; because it's not included in PyPI.
+      #:test-flags #~(list "-k" "not test_circuitgraph")))
+    (propagated-inputs (list python-ipython
+                             python-matplotlib
+                             python-networkx
+                             python-numpy
+                             python-property-cached
+                             python-scipy
+                             python-setuptools
+                             python-sympy
+                             python-wheel))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/mph-/lcapy")
+    (synopsis "Symbolic linear circuit analysis")
+    (description "Lcapy is a Python package for linear circuit analysis.  It
+uses SymPy for symbolic mathematics.
+
+Lcapy can symbolically analyse circuits described with netlists or by
+series/parallel combinations of components.  It can also manipulate
+ontinuous-time and discret-time expressions.")
+    (license license:lgpl2.1+)))
+
 (define-public openscad
   (package
     (name "openscad")
-- 
2.39.2





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

* bug#72144: [PATCH 0/2] Add python-lcapy
  2024-07-16 23:38 ` [bug#72144] [PATCH 1/2] gnu: Add python-property-cached Vinicius Monego
@ 2024-07-17  1:57   ` jgart via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2024-07-17  1:57 UTC (permalink / raw)
  To: 72144-done; +Cc: Vinicius Monego


Applied, thanks!
-- 
all the best,
jgart




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

end of thread, other threads:[~2024-07-17  1:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16 20:55 [bug#72144] [PATCH 0/2] Add python-lcapy Vinicius Monego
2024-07-16 23:38 ` [bug#72144] [PATCH 1/2] gnu: Add python-property-cached Vinicius Monego
2024-07-17  1:57   ` bug#72144: [PATCH 0/2] Add python-lcapy jgart via Guix-patches via
2024-07-16 23:38 ` [bug#72144] [PATCH 2/2] gnu: " Vinicius Monego

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.