From e38805e5bbb5b00ab5cc98dba38670bb84225779 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 24 Dec 2025 15:27:55 -0300 Subject: 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 --- gnu/packages/engineering.scm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'gnu') 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 -- cgit v1.3