From patchwork Sun Jun 25 16:57:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 51298 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 6CD6527BBE9; Sun, 25 Jun 2023 18:01:39 +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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 5652527BBE2 for ; Sun, 25 Jun 2023 18:01:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDT6p-0004pO-1s; Sun, 25 Jun 2023 13:01: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 1qDT6m-0004la-Cf for guix-patches@gnu.org; Sun, 25 Jun 2023 13:01: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 1qDT6m-0001wP-46 for guix-patches@gnu.org; Sun, 25 Jun 2023 13:01:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDT6l-0006BM-Vq; Sun, 25 Jun 2023 13:01:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v5 24/55] gnu: python-django-sortedm2m: Update to 3.1.1-0-ddf321f. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 25 Jun 2023 17:01: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: ngraves@ngraves.fr, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.168771243023544 (code B ref 55474); Sun, 25 Jun 2023 17:01:03 +0000 Received: (at 55474) by debbugs.gnu.org; 25 Jun 2023 17:00:30 +0000 Received: from localhost ([127.0.0.1]:43422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT6D-00067b-Kn for submit@debbugs.gnu.org; Sun, 25 Jun 2023 13:00:29 -0400 Received: from 5.mo550.mail-out.ovh.net ([178.33.45.107]:48909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT6B-00067P-Cy for 55474@debbugs.gnu.org; Sun, 25 Jun 2023 13:00:27 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.1.181]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id DCFD5210DC for <55474@debbugs.gnu.org>; Sun, 25 Jun 2023 17:00:26 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zj4qc (unknown [10.110.103.93]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2E5411FD37; Sun, 25 Jun 2023 17:00:26 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-zj4qc with ESMTPSA id KEf0AapymGRd5AgAhjCNaQ (envelope-from ); Sun, 25 Jun 2023 17:00:26 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-107S00107080b53-29f8-432f-a251-1ae024393229, AE91E074BBD8CB582EBAD64A2EE525CF9E6269E3) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.66.29 Date: Sun, 25 Jun 2023 18:57:25 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> References: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 8262416466368193250 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehtddguddthecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrieeirddvledpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht 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-sortedm2m): Update to 3.1.1-0-ddf321f. [build-system]: Use pyproject-build-system. [arguments](tests?): Disable tests. (phases): Execute phase 'check command when tests?. [native-inputs]: Add python-psycopg2. --- gnu/packages/django.scm | 57 ++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index b5830234b4..a741eb64a0 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -973,32 +973,41 @@ (define-public python-django-q (license license:expat))) (define-public python-django-sortedm2m - (package - (name "python-django-sortedm2m") - (version "3.0.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "django-sortedm2m" version)) - (sha256 - (base32 - "0z0yymmrr2l5cznqbzwziw624df0qsiflvbpqwrpan52nww3dk4a")))) - (build-system python-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "django-admin" - "test" "--settings=test_project.settings" - "--pythonpath=.")))))) - (propagated-inputs - (list python-django-3.2)) - (home-page "https://github.com/jazzband/django-sortedm2m") - (synopsis "Drop-in replacement for django's own ManyToManyField") - (description - "Sortedm2m is a drop-in replacement for django's own ManyToManyField. + (let ((commit "ddf321fc9736b9a9477d496c60250270111cf2ce") + (revision "0")) + (package + (name "python-django-sortedm2m") + (version (git-version "3.1.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jazzband/django-sortedm2m") + (commit commit))) + (sha256 + (base32 + "1j08xyvlc5dypd26p48v0dj3k5g5ssrygvdy8zgg64g3iw8sw7v3")))) + (build-system pyproject-build-system) + (arguments + `(#:tests? #f ; require a running postgresql server + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "django-admin" + "test" "--settings=test_project.settings" + "--pythonpath=."))))))) + (native-inputs + (list python-psycopg2)) + (propagated-inputs + (list python-django)) + (home-page "https://github.com/jazzband/django-sortedm2m") + (synopsis "Drop-in replacement for django's own ManyToManyField") + (description + "Sortedm2m is a drop-in replacement for django's own ManyToManyField. The provided SortedManyToManyField behaves like the original one but remembers the order of added relations.") - (license license:bsd-3))) + (license license:bsd-3)))) (define-public python-django-appconf (package