From patchwork Mon Mar 30 06:43:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lars-Dominik Braun X-Patchwork-Id: 20959 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9DA1D27BBE1; Mon, 30 Mar 2020 07:44:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A2FD727BBE4 for ; Mon, 30 Mar 2020 07:44:11 +0100 (BST) Received: from localhost ([::1]:45536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIo9b-0003G4-5z for patchwork@mira.cbaines.net; Mon, 30 Mar 2020 02:44:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49612) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIo9U-0003DR-5v for guix-patches@gnu.org; Mon, 30 Mar 2020 02:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIo9S-0007T0-GB for guix-patches@gnu.org; Mon, 30 Mar 2020 02:44:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIo9S-0007Sl-Ci for guix-patches@gnu.org; Mon, 30 Mar 2020 02:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIo9S-0005DP-Ai for guix-patches@gnu.org; Mon, 30 Mar 2020 02:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40321] [PATCH] Add python-tortoise-orm Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Mar 2020 06:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40321 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40321@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158555062520016 (code B ref -1); Mon, 30 Mar 2020 06:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Mar 2020 06:43:45 +0000 Received: from localhost ([127.0.0.1]:60389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIo9A-0005Cl-GO for submit@debbugs.gnu.org; Mon, 30 Mar 2020 02:43:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:38562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIo98-0005Cd-6u for submit@debbugs.gnu.org; Mon, 30 Mar 2020 02:43:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49556) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIo95-0002ot-Vw for guix-patches@gnu.org; Mon, 30 Mar 2020 02:43:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIo94-00075n-7b for guix-patches@gnu.org; Mon, 30 Mar 2020 02:43:39 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:51214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIo93-00074o-NR for guix-patches@gnu.org; Mon, 30 Mar 2020 02:43:38 -0400 Received: by mail-wm1-x331.google.com with SMTP id c187so18753124wme.1 for ; Sun, 29 Mar 2020 23:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=ehaSj7ujEHulRR4pzBHAj/3VJJiXj12BEZJQsagcR6U=; b=dfg+OSRtnAUrLdHKosbCAhMtw3LXuq6A3WuCkAYBvbu+H0xUBNy4yn+YpqxyCuU2iR f/wlThrYpG6RlFGKu1OEP4FM0dgNg9Bc6hugj+Cd5x9XJ+9j/LHrSRTidLkUzQDTp2c2 mxJuSXslF/sfs+R3hJU/EfeiV1Y9FqhroQ1iv9qvQapyikgy84ky9h8MYJRzFAAyKcxR a8hOBOam5b6YLIVxb4TGIK+F5+BSGJkSo/K/pfJvFlmpOAjhBDHXDA5c3QopDNTFPpbA /194VDXa6NNc+z+XV6weZVBwDeJh124dDY9/Oo8BoH6Q83DP8hMwh6wix2bfVsH8yJEn jOgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=ehaSj7ujEHulRR4pzBHAj/3VJJiXj12BEZJQsagcR6U=; b=gJQ2peQ4I1vnjUAtOP0V1HgENMUCbg1nlSMOroT0PsbpIqvOT57oMrLODd9qdhG17g 38be/Ri5v4XGiMnwmDxc97ujj1sKLf1Md15qoaKx6hGIMRI6HE9/KacLj9RqLDuZqg6K sQbWF4FAk12dOgfeVcjvilnJk8jKCozv3ES5preeDqrqhDa5gtm0Y+cjtmLGE886R6Ql HzFngg40ekARqweIlwV/0wMVea3o/gzMsv3JSUXlAFIONhmkmauoU+2yZXNgaAPHY0Gg dLUWtF1eulLvySUPJnYf5wsZbnCh4sYKXTu7TFHQncwur9ZAIXPBm60bb5NgOkXA2grS VvGA== X-Gm-Message-State: ANhLgQ3OSabKFDj47aoXRs4hrzM+vp/94l2oDgp7himT9NhKQPNrDeEr xXaK97b3DP4cXNcnKnZrcfMPQ0d74Z/pPxNZZaGZSAAL4LcP1K6itlp5rEHTlLURclaIMXXxNlo 8UItWx4t5P7zd3eYKIrNje1tUO2chF0pSzev3ANSJTzkrMCDmMxSIDyLiPakBBLSpTjeIk8dYs7 id1AMfRIQ= X-Google-Smtp-Source: ADFU+vuZ7Sup0gEUhzQRNP0u1RP+HvklmE0z/H+3s0pv4K82XhysPN7Bj3H1GQS0bOfOSoeUO4tUjQ== X-Received: by 2002:a05:600c:21cb:: with SMTP id x11mr8842575wmj.111.1585550616197; Sun, 29 Mar 2020 23:43:36 -0700 (PDT) Received: from localhost (dynamic-2a01-0c23-842e-4100-c994-3310-bb54-8fc0.c23.pool.telefonica.de. [2a01:c23:842e:4100:c994:3310:bb54:8fc0]) by smtp.gmail.com with ESMTPSA id o16sm17765832wrw.75.2020.03.29.23.43.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2020 23:43:35 -0700 (PDT) Date: Mon, 30 Mar 2020 08:43:34 +0200 From: Lars-Dominik Braun Message-ID: <20200330064334.GB3329@zpidnp36> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, this patchset adds python-tortoise-orm and dependencies. Cheers, Lars From 5ecd1b998615956436cd3b0b37c80f7bb149e88a Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 30 Mar 2020 08:41:12 +0200 Subject: [PATCH 5/5] gnu: Add python-tortoise-orm * gnu/packages/databases.scm (python-tortoise-orm): New variable. --- gnu/packages/databases.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 669b8f9bc6..a3b78932a3 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2205,6 +2205,41 @@ can autogenerate peewee models using @code{pwiz}, a model generator.") (define-public python2-peewee (package-with-python2 python-peewee)) +(define-public python-tortoise-orm + (package + (name "python-tortoise-orm") + (version "0.16.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tortoise-orm" version)) + (sha256 + (base32 + "01hbvfyxs2qd1mjc96aipwsdxxhydw8ww686r4gsf87bl6f98dvz")))) + (build-system python-build-system) + ;; Disable tests for now. They pull in a lot of dependencies. + (arguments `(#:tests? #f)) + (native-inputs + `(("python-ciso8601" ,python-ciso8601) + ("python-asynctest" ,python-asynctest) + ("python-nose2" ,python-nose2))) + (propagated-inputs + `(("python-aiosqlite" ,python-aiosqlite) + ("python-pypika" ,python-pypika) + ("python-typing-extensions" + ,python-typing-extensions))) + (home-page + "https://github.com/tortoise/tortoise-orm") + (synopsis + "Easy async ORM for python, built with relations in mind") + (description + "Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) +inspired by Django. Tortoise ORM was build with relations in mind and +admiration for the excellent and popular Django ORM. It’s engraved in it’s +design that you are working not with just tables, you work with relational +data.") + (license license:asl2.0))) + (define-public sqlcipher (package (name "sqlcipher") -- 2.20.1