diff options
| author | Vinicius Monego <monego@posteo.net> | 2025-12-24 15:27:55 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2026-03-22 13:05:33 -0300 |
| commit | e38805e5bbb5b00ab5cc98dba38670bb84225779 (patch) | |
| tree | b419d10f64432e6fa33e28bd531d56bee95f6194 | |
| parent | c05a817bfc5768b86058c908802905e925152e43 (diff) | |
gnu: python-lcapy: Update to 1.26.
* gnu/packages/engineering.scm (python-lcapy): Update to 1.26.
[arguments]<#:phases>: Add phase 'remove-importlib' after 'unpack'.
[native-inputs, propagated-inputs]: Remove python-wheel.
Change-Id: I79618876b786244d76b84e6dd1021bcf9c969aa4
| -rw-r--r-- | gnu/packages/engineering.scm | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index af0fe331e9d..2f0d2f4b7e6 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2594,30 +2594,35 @@ Microwave engineering.") (define-public python-lcapy (package (name "python-lcapy") - (version "1.24") + (version "1.26") (source (origin (method url-fetch) (uri (pypi-uri "lcapy" version)) (sha256 - (base32 "0lmprghkr274l3ykiq80a31njrzj7qqgm02wifkkwh2935shbk76")))) + (base32 "084jbrjzii1n5v91jnqiah0n4m9g3sq4iz4f0d8j7ihsrhsrdz7d")))) (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"))) + #:test-flags #~(list "-k" "not test_circuitgraph") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-importlib + (lambda _ + (substitute* "setup.py" + ;; Archived project that exists to maintain Python2 + ;; compatibility. + (("'importlib',") ""))))))) (propagated-inputs (list python-ipython python-matplotlib python-networkx python-numpy python-property-cached python-scipy - python-sympy - python-wheel)) + python-sympy)) (native-inputs (list python-pytest - python-setuptools - python-wheel)) + python-setuptools)) (home-page "https://github.com/mph-/lcapy") (synopsis "Symbolic linear circuit analysis") (description "Lcapy is a Python package for linear circuit analysis. It |
