diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-12 23:29:32 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:06 +0100 |
| commit | f1be2c7beee3b035141fc5b56acf329b7d81de06 (patch) | |
| tree | 715f86e21554f9a63ddcfd71534936ad936b03ee /gnu/packages/python-xyz.scm | |
| parent | 76206d748708f6c5be495204da514b2fbfe0ad97 (diff) | |
gnu: python-natsort: Update to 8.4.0.
* gnu/packages/python-xyz.scm (python-natsort): Update to 8.4.0.
[buld-system]: Switch to pyproject-build-system.
[arguments]: Drop all.
[propagated-inputs]: Add python-fastnumbers.
[native-inputs]: Remove python-hypothesis and python-pytest-cov; add
python-setuptools.
Change-Id: Ib0efe56d7f03b474d935beaede108b7a593b4444
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bbfd764c58..6b78dc4efd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24922,36 +24922,22 @@ implementation of your Python package and its public API surface.") (define-public python-natsort (package (name "python-natsort") - (version "7.1.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "natsort" version)) - (sha256 - (base32 - "00y49bfsi7rrsd1s42gc2w95a6arl9ipdsx2493hr0v54fj07ih0")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-test-hypothesis-deadlines - (lambda _ - (substitute* "tests/test_utils.py" - (("from hypothesis import given") - "from hypothesis import given, settings") - (("( +)@given" all spaces) - (string-append spaces "@settings(deadline=None)\n" all))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-v"))))))) + (version "8.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "natsort" version)) + (sha256 + (base32 "10d53q50zn2s8iiszv01nr9r4imimc2dvplkl4ymj1sm1r52qca5")))) + (build-system pyproject-build-system) (native-inputs (list glibc-utf8-locales ;; Tests want en_US.UTF-8 - python-hypothesis - python-pytest-cov + python-pytest python-pytest-mock - python-pytest)) - (propagated-inputs ; TODO: Add python-fastnumbers. - (list python-pyicu)) + python-setuptools)) + (propagated-inputs + (list python-fastnumbers + python-pyicu)) (home-page "https://github.com/SethMMorton/natsort") (synopsis "Natural sorting for python and shell") (description |
