guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: python-lunr: Update to 0.7.0.post1.


From: guix-commits
Subject: 01/02: gnu: python-lunr: Update to 0.7.0.post1.
Date: Mon, 26 Feb 2024 16:54:05 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit a15404a59279a9923aca491674204bf19c9f09bd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Feb 26 22:51:01 2024 +0100

    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
---
 gnu/packages/python-xyz.scm | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a051f5a8db..21d3d07b7f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]