diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-05 15:59:47 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-05 17:09:10 +0100 |
| commit | f8304ab7362e7b2bc6b310072ad59f08a554d1fd (patch) | |
| tree | 60295803acf05c9437d2cc4f5f6be0f2a525b1df /gnu/packages/python-xyz.scm | |
| parent | eddd7c3831758beeea73588b8aebcf67de422a18 (diff) | |
gnu: python-whoosh: Update to 2.7.4-0.d9a3fa2.
* gnu/packages/python-xyz.scm (python-whoosh): Update to
d9a3fa2a4905e7326c9623c89e6395713c189161 commit.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-buld-system.
[arguments] <tests?>: All tests are working now.
[propagated-inputs]: Add python-cached-property.
[native-inputs]: Add python-setuptools.
[home-page]: Fix dead link.
Change-Id: Ia6490e6fdb29b40bcd96a6480eeea6a9ed1100bf
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6487e3d35a..90a7a10229 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21890,26 +21890,35 @@ useful for solving the Assignment Problem.") (license license:bsd-3))) (define-public python-whoosh - (package - (name "python-whoosh") - (version "2.7.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "Whoosh" version)) - (sha256 - (base32 - "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ; Test invocation is no longer supported by Python. - (native-inputs - (list python-pytest)) - (home-page "https://bitbucket.org/mchaput/whoosh") - (synopsis "Full text indexing, search, and spell checking library") - (description - "Whoosh is a fast, pure-Python full text indexing, search, and spell + ;; XXX: 2.7.4 was placed in 2016 and no longer copatible with how setuptools + ;; parses setup.py, use the latest commit, see: + ;; <https://codeberg.org/guix/guix/issues/3318>, + ;; <https://github.com/whoosh-community/whoosh/issues/561>. + (let ((commit "d9a3fa2a4905e7326c9623c89e6395713c189161") + (revision "0")) + (package + (name "python-whoosh") + (version (git-version "2.7.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mchaput/whoosh") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1i16229nkggl9qi57kxapbc4f2p2wpr67fswvr97w13839d6dxpp")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest python-setuptools)) + (propagated-inputs + (list python-cached-property)) + (home-page "https://github.com/mchaput/whoosh") + (synopsis "Full text indexing, search, and spell checking library") + (description + "Whoosh is a fast, pure-Python full text indexing, search, and spell checking library.") - (license license:bsd-2))) + (license license:bsd-2)))) (define-public python-codespell (package |
