From patchwork Mon Apr 17 14:53:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49252 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 070F11791C; Mon, 17 Apr 2023 15:54:32 +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=ham 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 D512217923 for ; Mon, 17 Apr 2023 15:54:29 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poQF3-00057l-Ri; Mon, 17 Apr 2023 10:54:05 -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 1poQF2-00051d-0v for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:04 -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 1poQF1-000620-JX for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poQF1-0000Cg-FA for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v3 03/17] gnu: Add python-django-modelcluster. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2023 14:54:03 +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.1681743233664 (code B ref 55474); Mon, 17 Apr 2023 14:54:03 +0000 Received: (at 55474) by debbugs.gnu.org; 17 Apr 2023 14:53:53 +0000 Received: from localhost ([127.0.0.1]:55718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQEr-0000AX-76 for submit@debbugs.gnu.org; Mon, 17 Apr 2023 10:53:53 -0400 Received: from 5.mo575.mail-out.ovh.net ([46.105.62.179]:58305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQEn-00009v-I0 for 55474@debbugs.gnu.org; Mon, 17 Apr 2023 10:53:50 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.143.72]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 96FB624571 for <55474@debbugs.gnu.org>; Mon, 17 Apr 2023 14:53:48 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-4mts7 (unknown [10.110.115.108]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4A6251FE00; Mon, 17 Apr 2023 14:53:48 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-4mts7 with ESMTPSA id IGaYD3xdPWQiTQEA+rgvjQ (envelope-from ); Mon, 17 Apr 2023 14:53:48 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G0069997cf3c-963e-40e3-aed5-7ee7764845d2, 36ECB2DEF893FB8679C45D4CF8D311E154C16286) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Mon, 17 Apr 2023 16:53:23 +0200 Message-Id: <20230417145337.12403-3-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: 6736259145152717350 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeliedgkeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht 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-modelcluster): New variable. --- gnu/packages/django.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 365a7c1e58..9d1b2ad831 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -800,6 +800,39 @@ (define-public python-django-contrib-comments entries, photos, book chapters, or anything else.") (license license:bsd-3))) +(define-public python-django-modelcluster + (package + (name "python-django-modelcluster") + (version "6.0") + ;; tests are not packaged in pypi + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wagtail/django-modelcluster") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19xskhh2wvl696jmji54b1p70kjbcxzwmw3v5ic54ifn8cx6za57")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (invoke "python" "runtests.py") + (format #t "test suite not run~%"))))))) + (propagated-inputs (list python-django python-pytz)) + (native-inputs (list python-django-taggit)) + (home-page "https://github.com/wagtail/django-modelcluster") + (synopsis + "Django extension to allow working with 'clusters' of models as a single unit") + (description + "This package provides a Django extension to allow working with +'clusters' of models as a single unit, independently of the database") + (license license:bsd-3))) + (define-public python-django-pipeline (package (name "python-django-pipeline")