~ruther/guix-local

a15404a59279a9923aca491674204bf19c9f09bd — Ricardo Wurmus 2 years ago bf17a01
gnu: python-lunr: Update to 0.7.0.post1.

* gnu/packages/python-xyz.scm (python-lunr): Update to 0.7.0.post1.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests that need nodejs.
[native-inputs]: Remove python-mock; add python-coverage,
python-hatch-fancy-pypi-readme, python-hatchling, python-pytest-timeout, and
python-tox.
[propagated-inputs]: Remove python-nltk-3.4; add python-importlib-metadata and
python-typing-extensions.

Change-Id: Ide9b0d98878dd8972d883c1c0e391a9a4b660eba
1 files changed, 15 insertions(+), 5 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +15 -5
@@ 1101,19 1101,29 @@ during long operations.")
(define-public python-lunr
  (package
    (name "python-lunr")
    (version "0.6.0")
    (version "0.7.0.post1")
    (source
     (origin
       (method url-fetch)
       (uri
        (pypi-uri "lunr" version))
       (sha256
        (base32 "106akalywfmnypzkdrhgz4n4740a8xayspybsw59kq06vz8i2qrc"))))
    (build-system python-build-system)
        (base32 "1njb23lw619ppidqdzygdrscna4z15n9xjc4cc7yxiskkgsriz00"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      '(list "-k" "not TestLanguageSupport"
             "--ignore-glob=tests/acceptance_tests/*")))
    (native-inputs
     (list python-mock python-pytest))
     (list python-coverage
           python-hatch-fancy-pypi-readme
           python-hatchling
           python-pytest
           python-pytest-timeout
           python-tox))
    (propagated-inputs
     (list python-nltk-3.4))
     (list python-importlib-metadata python-typing-extensions))
    (home-page
     "https://github.com/yeraydiazdiaz/lunr.py")
    (synopsis "Full-text search library")