From patchwork Mon Jun 5 16:25:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 50710 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 C24E827BBEC; Mon, 5 Jun 2023 17:26:55 +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 DAB2B27BBE9 for ; Mon, 5 Jun 2023 17:26:52 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6D23-0001c8-RR; Mon, 05 Jun 2023 12:26:11 -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 1q6D20-0001ZA-Oe for guix-patches@gnu.org; Mon, 05 Jun 2023 12:26:08 -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 1q6D20-0001eZ-Ge for guix-patches@gnu.org; Mon, 05 Jun 2023 12:26:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6D20-0004Sx-Bq; Mon, 05 Jun 2023 12:26:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v4 17/19] gnu: Add python-wagtail. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Mon, 05 Jun 2023 16:26:08 +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@6xq.net X-Debbugs-Original-Xcc: lars@6xq.net Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.168598234416980 (code B ref 55474); Mon, 05 Jun 2023 16:26:08 +0000 Received: (at 55474) by debbugs.gnu.org; 5 Jun 2023 16:25:44 +0000 Received: from localhost ([127.0.0.1]:50194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6D1b-0004Pd-AT for submit@debbugs.gnu.org; Mon, 05 Jun 2023 12:25:43 -0400 Received: from 8.mo576.mail-out.ovh.net ([46.105.56.233]:48397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6D1Z-0004Ow-1L for 55474@debbugs.gnu.org; Mon, 05 Jun 2023 12:25:41 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.4.105]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 7AE6B26A3B for <55474@debbugs.gnu.org>; Mon, 5 Jun 2023 16:25:40 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-rc6kl (unknown [10.110.115.40]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4E94F1FE9B; Mon, 5 Jun 2023 16:25:40 +0000 (UTC) Received: from ngraves.fr ([37.59.142.96]) by ghost-submission-6684bf9d7b-rc6kl with ESMTPSA id c7ehEYQMfmRncz8AHCsQzg (envelope-from ); Mon, 05 Jun 2023 16:25:40 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-96R001aee2f109-549a-4ee5-bad3-fd35594cf662, 24BD45A8C995C08D5395E1BF3FBF1E19C8C2E420) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Mon, 5 Jun 2023 18:25:12 +0200 Message-Id: <7a4e6c5193a7ef173343bcaf163d37f050cb0edd.1685982295.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-Ovh-Tracer-Id: 901845826195415778 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeelledguddtudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeggfdvveefveelheevudeijeejhfekueeuhfejieeghfejhfeuleefkeelvdefgfenucffohhmrghinhepfigrghhtrghilhdrohhrghenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddrleeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehheegjeegseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth 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 4942371cb2..235de8a015 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1594,3 +1594,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 "4.2.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "wagtail" version)) + (sha256 + (base32 "0424w36cb9kkxk19nq3x41z5hvyl0zsrh6dz0m1ws98p9qcldwab")))) + (build-system pyproject-build-system) + (arguments + `(#:test-flags '("--pythonpath=." + "--settings=wagtail.tests.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)))