diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-28 14:59:27 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 16:17:27 +0000 |
| commit | c51a28cc5e8e93528024012c55ec49a204ae43a8 (patch) | |
| tree | a151756d8688411d43e43ddb0631c92254acf90b /gnu/packages/python-xyz.scm | |
| parent | b57d343fc2b120502482b4ddab0dcb02361b6124 (diff) | |
gnu: python-fuzzywuzzy: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-fuzzywuzzy):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: Ifb4cc94ee97be094fdcea9fce51a959698c7d373
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 59f7efd3977..790798326c5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30059,21 +30059,29 @@ custom PNG processing.") (version "0.18.0") (source (origin - (method url-fetch) - (uri (pypi-uri "fuzzywuzzy" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/seatgeek/fuzzywuzzy") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1s00zn75y2dkxgnbw8kl8dw4p1mc77cv78fwfa4yb0274s96w0a5")))) - (build-system python-build-system) + (base32 "0zh8xd9k95waipsdz516rn51ya9xxlxbd7ivbka4gnkqm9ah79mc")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--deselect=test_fuzzywuzzy_pytest.py::test_process_warning"))) (native-inputs - (list python-hypothesis python-pycodestyle python-pytest)) - (propagated-inputs - (list python-levenshtein)) + (list python-hypothesis + python-pycodestyle + python-pytest + python-setuptools)) + (propagated-inputs (list python-levenshtein)) (home-page "https://github.com/seatgeek/fuzzywuzzy") (synopsis "Fuzzy string matching in Python") - (description "Approximate string matching using -@emph{Levenshtein Distance} to calculate the differences between -sequences.") + (description + "Approximate string matching using @emph{Levenshtein Distance} to +calculate the differences between sequences.") (license license:gpl2))) (define-public python-block-tracing |
