1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
Nicolas Graves
2025-12-22 20:51:03 +01:00
committed by Sharlatan Hellseher
parent 12d907b17d
commit 659e77bbf9

View File

@@ -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