summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2023-10-07 23:39:38 +0200
committerLudovic Courtès <ludo@gnu.org>2023-10-24 00:02:14 +0200
commit4d748d344bb1891e2e32bf15db24131703d2f78c (patch)
treeb1013b09f444f68e40f01dbdac1dc49858ba9b75 /gnu/packages
parent1566c9cae103aa1dd98f735e4e40e364db661f0f (diff)
downloadguix-4d748d344bb1891e2e32bf15db24131703d2f78c.tar.gz
gnu: python-tortoise-orm: Update to 0.20.0.
* gnu/packages/databases.scm (python-tortoise-orm): Update to 0.20.0;
[source]: switch to git-fetched origin;
[build-system]: switch to pyproject-build-system;
[native-inputs]: add poetry.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/databases.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e7413acdeb..4bc642aa17 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3077,17 +3077,22 @@ of PyMySQL.  @code{aiomysql} tries to preserve the same API as the
 (define-public python-tortoise-orm
   (package
     (name "python-tortoise-orm")
-    (version "0.19.1")
+    (version "0.20.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "tortoise-orm" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tortoise/tortoise-orm")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "17yk71dlx5ai98i6ivqgsplkwivdxackz9jfn6z42bpcdgbpiwhg"))))
-    (build-system python-build-system)
+        (base32 "19rgyvs2y9gn27x71y7djdz6rb6bszgvprv55q1hr4266wy6g999"))))
+    (build-system pyproject-build-system)
     ;; The test suite relies on asynctest, which is abandoned and doesn't
     ;; support Python >= 3.8.
     (arguments '(#:tests? #f))
+    (native-inputs
+     (list poetry))
     (propagated-inputs
      (list python-aiomysql
            python-aiosqlite-0.17