From patchwork Mon Apr 17 14:53:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49258 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 7690217936; Mon, 17 Apr 2023 15:55:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5664F17907 for ; Mon, 17 Apr 2023 15:55:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poQF5-0005Bt-3u; Mon, 17 Apr 2023 10:54:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poQF3-000553-Bv for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poQF2-00062S-UC for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poQF2-0000DF-QD for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v3 04/17] gnu: Add python-django-treebeard. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2023 14:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55474@debbugs.gnu.org Cc: lars@6xq.net, ngraves@ngraves.fr Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.1681743234680 (code B ref 55474); Mon, 17 Apr 2023 14:54:04 +0000 Received: (at 55474) by debbugs.gnu.org; 17 Apr 2023 14:53:54 +0000 Received: from localhost ([127.0.0.1]:55722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQEr-0000Am-Vq for submit@debbugs.gnu.org; Mon, 17 Apr 2023 10:53:54 -0400 Received: from 8.mo582.mail-out.ovh.net ([178.33.42.204]:48293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQEp-0000A3-7H for 55474@debbugs.gnu.org; Mon, 17 Apr 2023 10:53:52 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.4.44]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 873EB25B08 for <55474@debbugs.gnu.org>; Mon, 17 Apr 2023 14:53:49 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-bhvhm (unknown [10.110.103.79]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 17BCF1FE9C; Mon, 17 Apr 2023 14:53:49 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-bhvhm with ESMTPSA id aLcqBH1dPWTRHQEAyzwB+w (envelope-from ); Mon, 17 Apr 2023 14:53:49 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R006306c1f63-556b-4717-ae02-94514e7a61e4, 36ECB2DEF893FB8679C45D4CF8D311E154C16286) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Mon, 17 Apr 2023 16:53:24 +0200 Message-Id: <20230417145337.12403-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230417145337.12403-1-ngraves@ngraves.fr> References: <20230417145337.12403-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6736540617732448806 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeliedgkeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/django.scm (python-django-treebeard): New variable. --- gnu/packages/django.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 9d1b2ad831..02bb6d35f4 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -354,6 +354,47 @@ (define-public python-django-taggit application for simple tagging.") (license license:bsd-3))) +(define-public python-django-treebeard + (package + (name "python-django-treebeard") + (version "4.5.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "django-treebeard" version)) + (sha256 + (base32 "1nk9b40cp0jsxr3qsb16mh9xr0z3cvf69yp5ahh70fajf8bh05c0")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (lambda _ + (setenv "PYTHONPATH" + (string-append ".:" (getenv "GUIX_PYTHONPATH"))) + (setenv "DJANGO_SETTINGS_MODULE" "treebeard.tests.settings") + (substitute* "setup.py" ((".*pythonpath.*") "")) + (invoke "pytest" "-vv")) + (format #t "test suite not run~%"))))))) + (propagated-inputs (list python-django + python-sqlparse)) + (native-inputs (list python-wheel + python-pytest-django)) + (home-page "https://github.com/django-treebeard/django-treebeard/") + (synopsis "Efficient tree implementations for Django") + (description + "This package provides @code{django-treebeard}, an efficient tree +implementations for Django. It includes 3 different tree implementations +with the same API: +@itemize +@item Adjacency List +@item Materialized Path +@item Nested Sets +@end itemize") + (license license:bsd-3))) + (define-public python-easy-thumbnails (package (name "python-easy-thumbnails")