~ruther/guix-local

c51a28cc5e8e93528024012c55ec49a204ae43a8 — Nicolas Graves 4 months ago b57d343
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>
1 files changed, 19 insertions(+), 11 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +19 -11
@@ 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