guix-commits
[Top][All Lists]
Advanced

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

09/09: gnu: python-tortoise-orm: Update to 0.20.0.


From: guix-commits
Subject: 09/09: gnu: python-tortoise-orm: Update to 0.20.0.
Date: Mon, 23 Oct 2023 18:04:05 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 4d748d344bb1891e2e32bf15db24131703d2f78c
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Sat Oct 7 23:39:38 2023 +0200

    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>
---
 gnu/packages/databases.scm | 15 ++++++++++-----
 1 file 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



reply via email to

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