diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-22 20:51:03 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-27 19:59:50 +0000 |
| commit | 659e77bbf9afcc1441afc704f9afddb27d34f5ad (patch) | |
| tree | f87faac95fd18732edcb7efb8835eb30e1e7cba9 | |
| parent | 12d907b17d34d5a9bc587196ca2d2cd8562f9c9e (diff) | |
gnu: python-sqlite-fts4: Switch to pyproject.
* gnu/packages/databases.scm (python-sqlite-fts4):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: Ibced9b5299bc460df20c4bb689af09f184a5c15a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/databases.scm | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 428cfcfda39..58ccc452f0f 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4467,19 +4467,23 @@ SQLAlchemy Database Toolkit for Python.") (package (name "python-sqlite-fts4") (version "1.0.3") - (source (origin - (method url-fetch) - (uri (pypi-uri "sqlite-fts4" version)) - (sha256 - (base32 - "034kx0ac556sywy1p4qcrc36l24w3q0xwswqv2z9s3k8yvm5xc3q")))) - (build-system python-build-system) - (native-inputs (list python-pytest)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/simonw/sqlite-fts4") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05c69n4nrc9srkbih1q1wxlw6n9mb3dm7ysb47ipqjn3rp1aif11")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/simonw/sqlite-fts4") (synopsis "Python functions for working with SQLite FTS4 search") - (description "This package provides custom SQLite functions written -in Python for ranking documents indexed using the SQLite's FTS4 full -text search extension.") + (description + "This package provides custom SQLite functions written in Python for +ranking documents indexed using the SQLite's FTS4 full text search +extension.") (license license:asl2.0))) (define-public python-sqlite-utils |
