From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ENpbGc4MfmT69gAASxT56A (envelope-from ) for ; Mon, 05 Jun 2023 18:26:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YMxpGc4MfmRmWAEA9RJhRA (envelope-from ) for ; Mon, 05 Jun 2023 18:26:54 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 25A4CCEEF for ; Mon, 5 Jun 2023 18:26:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6D23-0001bt-94; 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 1q6D21-0001Zv-NJ for guix-patches@gnu.org; Mon, 05 Jun 2023 12:26:09 -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 1q6D21-0001em-Ab for guix-patches@gnu.org; Mon, 05 Jun 2023 12:26:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6D21-0004TE-4y; Mon, 05 Jun 2023 12:26:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v4 18/19] gnu: Add python-wagtail-factories. 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:09 +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.168598234717003 (code B ref 55474); Mon, 05 Jun 2023 16:26:09 +0000 Received: (at 55474) by debbugs.gnu.org; 5 Jun 2023 16:25:47 +0000 Received: from localhost ([127.0.0.1]:50199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6D1f-0004Q5-AX for submit@debbugs.gnu.org; Mon, 05 Jun 2023 12:25:47 -0400 Received: from 11.mo550.mail-out.ovh.net ([188.165.48.29]:43835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6D1a-0004PG-H4 for 55474@debbugs.gnu.org; Mon, 05 Jun 2023 12:25:43 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.4.215]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 924C8254E1 for <55474@debbugs.gnu.org>; Mon, 5 Jun 2023 16:25:41 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-r2blc (unknown [10.110.103.14]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 506201FD3C; Mon, 5 Jun 2023 16:25:41 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-6684bf9d7b-r2blc with ESMTPSA id r81mEYUMfmTcAgAA+qFItA (envelope-from ); Mon, 05 Jun 2023 16:25:41 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Mon, 5 Jun 2023 18:25:13 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 902127301067006690 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeelledguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehheegjeegseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth 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 From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685982414; a=rsa-sha256; cv=none; b=c677NeRLeyTarEgmkgugkK3Ar+fprpDLg07aCM/ZpAM8+8c+TU4oLda0Vx13SGosMpjP3J TgtAAMiOrjRG+LdmWAWF8/QfRWOQ/4QYKvBYGXGlOQq7fHKuyDv/75nicwqfxQSpkyv48Y s0ByM3waOG/TYyZ5y571tc7q+UgH+53ccjV8DKwOyKY2VxOrfhsW2LqNRI1u3WEO7F48d1 eLUIcTbl48wOkP1nt6w09Z5Qysa9gUuEhzBaoEQdwqD8oC0vc83EUngsZWSkMaye/UcQXa nAYNZtNCa4dO3gylPTHt4AqG5fG+SMb5MYHe048JRfZhqm8QTOUEGHY+7E2y4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685982414; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=pQtjXtmN4Xm/oSWvD/T0jgp7/XAjGOvTxdw/VQbPYSQ=; b=afALOiP6FCsxD3akdldocqaN8e8LzecrN05w6SIFUSWDD4tFmKoV9+v9PR74r5xJqMOTqu FInd7rmnK6SrLkRJmK7SnBibU6e6ewsC1w3coTvwJP+A++O5YMn78M3Ks9Gl6bmAT8iQr2 0DkWODIMlGZBKrKSaZQzSwbkvQ/uLbq0fxJs+W46FaSm/35Q8wPnj2piZTepxWvIQbKtWs ILn+g2dyFO+faMJzIV1TYGZSn0oNnNmAbOxJI/3ACxXSkm6mgxIrkQS1lrB7ihgEoInqpB RNxIo2X+wpfoK7lBm18ZXnqSYuHy1yT82n29TF+xCsoQogq4osHe5lwK/ruYuw== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.99 X-Spam-Score: -4.99 X-Migadu-Queue-Id: 25A4CCEEF X-TUID: 5u2Gd8XTRVJM * gnu/packages/django.scm (python-wagtail-factories): New variable. --- gnu/packages/django.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 235de8a015..8a5f8471ab 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1664,3 +1664,41 @@ (define-public python-wagtail (description "This package provides a Content Management System based on Django.") (license license:bsd-3))) + +(define-public python-wagtail-factories + (package + (name "python-wagtail-factories") + (version "4.1.0") + (source + (origin + (method git-fetch) + ;; Fetch from the git repository, so that the tests can be run. + (uri (git-reference + (url "https://github.com/wagtail/wagtail-factories/") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version)) + (sha256 + (base32 "19ggc9nm31w7gq2k48ijhiq8dgkh63dsycvhrklxsrh8zwkwgln4")))) + (build-system pyproject-build-system) + (arguments + '(#:test-flags '("--settings=tests.settings" "--pythonpath=.") + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (if tests? + (apply invoke "django-admin" "test" test-flags) + (format #t "test suite not run~%")))) + ;; Importing this module requires setting up a Django project. + (delete 'sanity-check)))) + (propagated-inputs (list python-factory-boy)) + (native-inputs (list python-pytest + python-pytest-django + (package/inherit python-wagtail + (native-inputs '()) + (arguments '(#:tests? #f))))) + (home-page "https://github.com/wagtail/wagtail-factories/") + (synopsis "Factory boy classes for wagtail") + (description "This package provides factory boy classes for +@code{wagtail}. It is used for the migrating streamfields.") + (license license:expat))) -- 2.40.1