diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-09 08:48:30 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:08 +0100 |
| commit | f6ef8f93642f3dc912f308c7353bd4c7de9fed03 (patch) | |
| tree | 8c6f1f52a55f086b8a5d9e26efa5df2f8241b297 | |
| parent | 1843ef821f68e6b5f952b9a9f147a57d80577ba3 (diff) | |
gnu: python-stdnum: Update to 2.1.
* gnu/packages/finance.scm (python-stdnum): Update to 2.1.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[native-inputs]: Remove python-nose; add python-pytest,
python-pytest-cov, and python-setuptools.
Change-Id: I10c5d99e54f5f7891dfe500770bb110901a46678
| -rw-r--r-- | gnu/packages/finance.scm | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index d7871a9061..d6b3c8aa00 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1555,21 +1555,18 @@ features: (define-public python-stdnum (package (name "python-stdnum") - (version "1.18") + (version "2.1") (source (origin (method url-fetch) - (uri (pypi-uri "python-stdnum" version)) + (uri (pypi-uri "python_stdnum" version)) (sha256 - (base32 "1h5y4qx75b6i2051ch8k0pcwkvhxzpaqd9mpsajkvqlsqkcn7ixw")))) - (build-system python-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "nosetests")))))) + (base32 "0yir8hka3vmpk0qhiaffagkdjg3mjgai808s0razsggbd5cn80bb")))) + (build-system pyproject-build-system) (native-inputs - (list python-nose)) + (list python-pytest + python-pytest-cov + python-setuptools)) (home-page "https://arthurdejong.org/python-stdnum/") (synopsis "Python module to handle standardized number and code formats") (description |
