From patchwork Wed Sep 6 09:15:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 53571 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 0F9D027BBEA; Wed, 6 Sep 2023 10:23:46 +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=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 62A6D27BBE9 for ; Wed, 6 Sep 2023 10:23:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdohR-0008A8-8c; Wed, 06 Sep 2023 05:19:51 -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 1qdofw-0004U1-7K for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:16 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdofu-0005v9-LO for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdofv-0006LQ-Hm; Wed, 06 Sep 2023 05:18:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v7 30/57] gnu: python-django-compressor: Update to 4.3.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 06 Sep 2023 09:18:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65758@debbugs.gnu.org Cc: ngraves@ngraves.fr, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 65758-submit@debbugs.gnu.org id=B65758.169399186723955 (code B ref 65758); Wed, 06 Sep 2023 09:18:15 +0000 Received: (at 65758) by debbugs.gnu.org; 6 Sep 2023 09:17:47 +0000 Received: from localhost ([127.0.0.1]:60968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdofS-0006EC-PU for submit@debbugs.gnu.org; Wed, 06 Sep 2023 05:17:47 -0400 Received: from 13.mo583.mail-out.ovh.net ([87.98.182.191]:60029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdofQ-0006Dh-18 for 65758@debbugs.gnu.org; Wed, 06 Sep 2023 05:17:44 -0400 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.156.62]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 88B4A286BE for <65758@debbugs.gnu.org>; Wed, 6 Sep 2023 09:17:41 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zdzgm (unknown [10.110.208.94]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 3CA711FEC0; Wed, 6 Sep 2023 09:17:41 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-zdzgm with ESMTPSA id sGzsDLVD+GQgDAAA/rJ6SA (envelope-from ); Wed, 06 Sep 2023 09:17:41 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-98R00232658309-8872-41f2-912c-282ecef416bb, 8B1004CD708F4A346301A86E579550867B8E22F8) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Wed, 6 Sep 2023 11:15:54 +0200 Message-ID: <3f885f6e4a65e18ebb5c9e24118f1d11c1a0e449.1693991781.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> References: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 4878805774752211682 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehfedgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgepheenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheejheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth 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-compressor): Update to 4.3.1. [build-system]: Use pyproject-build-system. [arguments](phases): Set DJANGO_SETTINGS_MODULE in the invoke call and adapt phase 'check to argument test-flags. (test-flags): Add argument. (tests?) : Delete argument. --- gnu/packages/django.scm | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 00a83ab06d..008c5a44f2 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1197,28 +1197,25 @@ (define-public python-django-crispy-forms (define-public python-django-compressor (package (name "python-django-compressor") - (version "2.4.1") + (version "4.3.1") (source - (origin - (method url-fetch) - (uri (pypi-uri "django_compressor" version)) - (sha256 - (base32 "1q0m0hfg7sqmj5km924g4dgy3nx51aszzsprlp6gsin10mv0fn1k")))) - (build-system python-build-system) + (origin + (method url-fetch) + (uri (pypi-uri "django_compressor" version)) + (sha256 + (base32 "0hl9bwdiif6pn37fw2fpm56i3vcapb1qcb82kb19q2fclq6qr1b8")))) + (build-system pyproject-build-system) (arguments - '(#:phases + '(#:test-flags '("-k" "not test_clamjs_filter") + #:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key tests? #:allow-other-keys) + (lambda* (#:key tests? test-flags #:allow-other-keys) (if tests? - (begin - (setenv "DJANGO_SETTINGS_MODULE" "compressor.test_settings") - (invoke "django-admin" "test" - "--pythonpath=.")) - #t)))) - ;; Tests fail with beautifulsoup 4.9+ - ;; https://github.com/django-compressor/django-compressor/issues/998 - #:tests? #f)) + (apply invoke "django-admin" "test" + "--pythonpath=." "--settings=compressor.test_settings" + test-flags) + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-django-appconf python-rcssmin python-rjsmin)) (native-inputs