From patchwork Tue Sep 5 16:31:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 53482 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 9991D27BBE2; Tue, 5 Sep 2023 17:33:57 +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 D360727BBEA for ; Tue, 5 Sep 2023 17:33:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdYzf-0004vW-8J; Tue, 05 Sep 2023 12:33:35 -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 1qdYzY-0004jB-Gk for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:28 -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 1qdYzY-0008Ko-7c for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdYzW-0000DB-BY; Tue, 05 Sep 2023 12:33:26 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v6 52/55] gnu: Add python-wagtail. 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:26 +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.1693931595560 (code B ref 65758); Tue, 05 Sep 2023 16:33:26 +0000 Received: (at 65758) by debbugs.gnu.org; 5 Sep 2023 16:33:15 +0000 Received: from localhost ([127.0.0.1]:58521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYzK-00008i-Sz for submit@debbugs.gnu.org; Tue, 05 Sep 2023 12:33:15 -0400 Received: from 1.mo584.mail-out.ovh.net ([178.33.248.196]:46383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYz9-0008VB-CG for 65758@debbugs.gnu.org; Tue, 05 Sep 2023 12:33:04 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.138.205]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 9D19B2751B for <65758@debbugs.gnu.org>; Tue, 5 Sep 2023 16:33:01 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mcs2v (unknown [10.110.115.64]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 63E471FD16; Tue, 5 Sep 2023 16:33:01 +0000 (UTC) Received: from ngraves.fr ([37.59.142.96]) by ghost-submission-6684bf9d7b-mcs2v with ESMTPSA id b6GTFD1Y92RPhgEAx7XZqQ (envelope-from ); Tue, 05 Sep 2023 16:33:01 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-96R00193280d56-7899-46bc-ba4e-45d9322260b0, 9993FFF2090D2781C39498BB7515523824E0E4B2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Tue, 5 Sep 2023 18:31:28 +0200 Message-ID: <0f2a2f4acbb979fcf6172b142f6eeb1cf75753bd.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: 6358238251558363874 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehuddgjeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgefgvdevfeevleehveduieejjefhkeeuuefhjeeigefhjefhueelfeekledvfefgnecuffhomhgrihhnpeifrghgthgrihhlrdhorhhgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehjeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht 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-wagtail): New variable. --- gnu/packages/django.scm | 70 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 74a1b7366a..924e1ab6b3 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1696,3 +1696,73 @@ (define-public python-telepath "This package provides @code{telepath}, a library for exchanging data between Python and JavaScript.") (license license:bsd-3))) + +(define-public python-wagtail + (package + (name "python-wagtail") + (version "5.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "wagtail" version)) + (sha256 + (base32 "1fyjxb4g0mnmpr802jddylj6lc2fy4pf3zazsr2k9nx5hzgj3gfy")))) + (build-system pyproject-build-system) + (arguments + `(#:test-flags '("--pythonpath=." + "--settings=wagtail.test.settings" + ;; disabling failing azure tests + "-k" "not test_azure_cdn_get_client" + "-k" "not test_azure_cdn_purge" + "-k" "not test_azure_front_door_get_client" + "-k" "not test_azure_front_door_purge") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'hiding-failing-tests-imports + (lambda _ + (substitute* "wagtail/contrib/frontend_cache/tests.py" + (("from azure" all) + (string-append "#" all))))) + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (if tests? + (apply invoke "django-admin" "test" test-flags))))))) + (propagated-inputs + (list python-anyascii + python-beautifulsoup4 + python-django-4.0 + python-django-filter + python-django-modelcluster + python-django-taggit + python-django-permissionedforms + python-django-treebeard + python-django-rest-framework + python-draftjs-exporter + python-html5lib + python-l18n + python-openpyxl + python-pillow + python-requests + python-telepath + python-willow)) + (native-inputs + ;; python-azure-mgmt-cdn ;failing tests + ;; python-azure-mgmt-frontdoor ;failing tests + (list python-boto3 + python-dateutil + python-doc8 + python-docutils + python-elasticsearch + python-freezegun + python-isort + python-jinja2 + python-jinjalint + python-polib + python-pytz + python-unidecode + python-wagtail-factories)) + (home-page "https://wagtail.org/") + (synopsis "A Content Management System (CMS)") + (description "This package provides a Content Management System based on +Django.") + (license license:bsd-3)))