From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kAzIMbx/mGQmTQAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 19:56:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mILCMbx/mGSUVAEA9RJhRA (envelope-from ) for ; Sun, 25 Jun 2023 19:56:12 +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 6DC54B695 for ; Sun, 25 Jun 2023 19:56:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDT8t-0006UT-Ge; Sun, 25 Jun 2023 13:03:16 -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 1qDT8i-0006PG-EE for guix-patches@gnu.org; Sun, 25 Jun 2023 13:03:04 -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 1qDT8i-0002SY-5T for guix-patches@gnu.org; Sun, 25 Jun 2023 13:03:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDT8i-0006Mn-05; Sun, 25 Jun 2023 13:03:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v5 55/55] gnu: Add python-wagtail-localize. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 25 Jun 2023 17:03:03 +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-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.168771253424370 (code B ref 55474); Sun, 25 Jun 2023 17:03:03 +0000 Received: (at 55474) by debbugs.gnu.org; 25 Jun 2023 17:02:14 +0000 Received: from localhost ([127.0.0.1]:43597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT7t-0006Kv-TC for submit@debbugs.gnu.org; Sun, 25 Jun 2023 13:02:14 -0400 Received: from 2.mo560.mail-out.ovh.net ([188.165.53.149]:38577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT7p-0006K3-JK for 55474@debbugs.gnu.org; Sun, 25 Jun 2023 13:02:10 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.143.145]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 88EEC243F2 for <55474@debbugs.gnu.org>; Sun, 25 Jun 2023 17:02:08 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-rxsqw (unknown [10.110.115.217]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 913521FD49; Sun, 25 Jun 2023 17:02:07 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-rxsqw with ESMTPSA id NVleHA9zmGQXRwQAx00jnw (envelope-from ); Sun, 25 Jun 2023 17:02:07 +0000 X-OVh-ClientIp: 80.215.66.29 Date: Sun, 25 Jun 2023 18:57:56 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> References: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 8291126914263147234 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehtddguddtiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvieffuddvgffffeelkeeitdehffdtgfegtedufffghfejvdehveelieeiveeludenucffohhmrghinhepghhithhhuhgsrdgtohhmpdifrghgthgrihhlqdhlohgtrghlihiivgdrohhrghenucfkphepuddvjedrtddrtddruddpkedtrddvudehrdeiiedrvdelpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687715772; 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=i7MiAyz9Fs5W4ZYxrkXAEtgGRMj8NP13bRISkhD9GKo=; b=Nn0rmbrgqe/zjTuhtcx58qy5789lYswrNreahZj53KMxKpcYYGYeHC8WSA2vyX6PKAzblZ tM8HryyTuhEq5mdFM+bEtnZpP9ft/QxtmIaRjV3pTjJ8qH5wUFpV56TpO3jmCnCa9Hwl60 vQbN/vfbgIJKupINGtP6plIbzoAhOCbSMSo3nwlm4/X+BIMfXqBOPPwT9T2MCgiasFSqPO xqZjPOFZwFkE7/tknf3CvG3V+EYiiGvm/ruL3leWEbSj+H7DLN0PfnvkRTIwMEwEHkwJnC OU2wlTVwQB7x8OhjhUzf85RoQuoIf/t0mOYgUtqtKpe3KRoAMb2nDsleOvBQQw== 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-Seal: i=1; s=key1; d=yhetil.org; t=1687715772; a=rsa-sha256; cv=none; b=vBgn1PFGbDMckODL6KjLNi+5UwXoDrpX6EI955z5QmOEJilT2k4LJTTfpIkerAvwV1jCnH fbDl21rLCQ46NOnEjSvbqMG+MjnbrlHCygV4riv9sd8qbECs+i9ylD8Ba2TsgCzD0jA6WP e3uW2A8tgP4Z7gFfX1gofC7yfJCr7LvreNQk7t8Za8uju5OouuFmF7cT+yHEKqV9WUkeMu WeVENQzQfAhj6qXN7+uyT6oBW1A9zGUHLlJwI1E8auveshqxbWUtwFNbhRn3QhSK4xQEDW Vu3ghjBs8WAtkbGCLK18UNSLBpaJ3OOXlL/bZftkwBTX56gAL11BlC7UpQSmuQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.25 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-Queue-Id: 6DC54B695 X-Spam-Score: -3.25 X-TUID: /jSMdVs9utoN * gnu/packages/django.scm (python-wagtail-localize): New variable. --- gnu/packages/django.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 20a4250b4d..30824efc8a 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1804,3 +1804,43 @@ (define-public python-wagtail-factories (description "This package provides factory boy classes for @code{wagtail}. It is used for the migrating streamfields.") (license license:expat))) + +(define-public python-wagtail-localize + (package + (name "python-wagtail-localize") + (version "1.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wagtail/wagtail-localize") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "143rwwz94wlqwbckg8ccfxkn5ydb1mzr9dqn4zldpsrbgg3p4cj6")))) + (build-system pyproject-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; TODO Remove this when moving to recent versions of flit-core. + (add-after 'unpack 'fix-flit-core-glob + (lambda _ + (substitute* "pyproject.toml" + (("wagtail_localize\\/\\*\\*\\/tests") + (string-join + (find-files "." "tests$" #:directories? #t) + "\",\n \""))))) + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (invoke "python" "testmanage.py") + (format #t "test suite not run~%"))))))) + (propagated-inputs (list python-django python-polib python-wagtail)) + (native-inputs (list python-dj-database-url + python-flit-core + python-freezegun + python-typing-extensions)) + (home-page "https://www.wagtail-localize.org") + (synopsis "Translating for Wagtail Content Management System (CMS)") + (description "This package provides a translation plugin for Wagtail CMS.") + (license license:bsd-3))) -- 2.40.1