From patchwork Tue Sep 5 16:30:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 53471 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 70BBA27BBEA; Tue, 5 Sep 2023 17:33:24 +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,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 E0BA927BBE9 for ; Tue, 5 Sep 2023 17:33:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdYzG-0004DU-OC; Tue, 05 Sep 2023 12:33:10 -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 1qdYzA-00049j-KB for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:04 -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 1qdYzA-00087d-Av for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdYzA-0008W1-Pq; Tue, 05 Sep 2023 12:33:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v6 09/55] gnu: python-django-simple-math-captcha: Update to 1.0.9-0-61adb4f. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 05 Sep 2023 16:33:04 +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.169393152732112 (code B ref 65758); Tue, 05 Sep 2023 16:33:04 +0000 Received: (at 65758) by debbugs.gnu.org; 5 Sep 2023 16:32:07 +0000 Received: from localhost ([127.0.0.1]:58318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYyE-0008Lh-IX for submit@debbugs.gnu.org; Tue, 05 Sep 2023 12:32:07 -0400 Received: from 3.mo581.mail-out.ovh.net ([46.105.34.113]:48459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYy8-0008Jb-U0 for 65758@debbugs.gnu.org; Tue, 05 Sep 2023 12:32:02 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.143.232]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id C5BBB24D84 for <65758@debbugs.gnu.org>; Tue, 5 Sep 2023 16:31:59 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-92nsp (unknown [10.110.103.149]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 6A3DA1FE5B; Tue, 5 Sep 2023 16:31:59 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-92nsp with ESMTPSA id KLjuF/9X92QDUQAAMCgQIg (envelope-from ); Tue, 05 Sep 2023 16:31:59 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R00489a210ce-417c-442b-9a14-8761163bdc1d, 9993FFF2090D2781C39498BB7515523824E0E4B2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Tue, 5 Sep 2023 18:30:45 +0200 Message-ID: <9505dcf7221a378aa30ce4a41d3f1c411a000b06.1693931491.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <210284f7682898dae8772280ec23f175e26255a9.1693931491.git.ngraves@ngraves.fr> References: <210284f7682898dae8772280ec23f175e26255a9.1693931491.git.ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6340786803188818658 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehuddgjeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehjeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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-simple-math-captcha): Update to 1.0.9-0-61adb4f. [build-system]: Use pyproject-build-system. [arguments](phases): Delete phase patch-six-imports. [propagated-inputs]: Delete python-six. --- gnu/packages/django.scm | 66 +++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 84f18fc3d1..e2754b2d57 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -324,44 +324,38 @@ (define-public python-django-localflavor (license license:bsd-3))) (define-public python-django-simple-math-captcha - (package - (name "python-django-simple-math-captcha") - (version "1.0.9") - (home-page "https://github.com/alsoicode/django-simple-math-captcha") - (source (origin - (method git-fetch) - (uri (git-reference - (url home-page) - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fhy9k8haqa1296v0qpg1b5w7y3pyw9qi9z9laj5ijry1gk35qaw")))) - (build-system python-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-six-imports - (lambda _ - ;; Django no longer bundles six, adjust the imports - ;; accordingly. The six dependency can likely be - ;; removed in the next version. - (substitute* (find-files "." "\\.py$") - (("from django\\.utils import six") - "import six")) - #t)) - (replace 'check - (lambda _ - (invoke "python" "runtests.py")))))) - (native-inputs - (list python-mock)) - (propagated-inputs - (list python-django python-six)) - (synopsis "Easy-to-use math field/widget captcha for Django forms") - (description - "A multi-value-field that presents a human answerable question, + (let ((commit "61adb4f43bfc654da61fa7b84ea4f455e31f0bd2") + (revision "0")) + (package + (name "python-django-simple-math-captcha") + (version (git-version "1.0.9" revision commit)) + (home-page "https://github.com/alsoicode/django-simple-math-captcha") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02fim6xk4islil02xg7j5nqfpmgwzyqni1y17a082fz35d94jd3i")))) + (build-system pyproject-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "python" "runtests.py")))))) + (native-inputs + (list python-mock)) + (propagated-inputs + (list python-django)) + (synopsis "Easy-to-use math field/widget captcha for Django forms") + (description + "A multi-value-field that presents a human answerable question, with no settings.py configuration necessary, but instead can be configured with arguments to the field constructor.") - (license license:asl2.0))) + (license license:asl2.0)))) (define-public python-django-classy-tags (package