summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-27 10:04:36 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-01-01 23:02:59 +0000
commit2be837138f743b8d52ba434ac4a09e7ccd92eb02 (patch)
tree094e237d8fdee4204bff547888f9b381deff748a /gnu
parent10375d31e01387268a2eeec22176458898e7b8c4 (diff)
gnu: python-mt-940: Update to 4.30.0.
* gnu/packages/finance.scm (python-mt-940): Update to 4.30.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Replace them with <#:test-flags>. [native-inputs]: Add python-setuptools. Remove python-flake8. Change-Id: I97d3b0321e2a7fed678123405adaffd51d8d6007 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/finance.scm36
1 files changed, 15 insertions, 21 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 427fadb7f78..3f109f77fd6 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2461,29 +2461,23 @@ analysis of financial market data.")
(define-public python-mt-940
(package
(name "python-mt-940")
- (version "4.23.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/WoLpH/mt940.git")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0z9w1qalcphsck3j6vkrs7k47ah9zq2rv0lm9nmcsgwpyp59qkyf"))))
+ (version "4.30.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/WoLpH/mt940.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13g5338aa8vgkx8g94vz5d8ynfq3jndvyh1nz6dlhw4axwr4x8dp"))))
(properties '(("upstream-name" #{.}# "mt-940")))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- ;; Remove custom --cov flags.
- (delete-file "pytest.ini")
- (invoke "pytest" "-vv")))))))
- (native-inputs (list python-flake8
- python-pytest
- python-pyyaml))
+ (list
+ #:test-flags
+ #~(list "-c" "/dev/null"))) ; Remove custom --cov flags.
+ (native-inputs (list python-pytest python-pyyaml python-setuptools))
(home-page "https://mt940.readthedocs.io/")
(synopsis "Python parser for MT940-encoded SWIFT data")
(description