From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mMHHJJpE+GRk+QAA9RJhRA:P1 (envelope-from ) for ; Wed, 06 Sep 2023 11:21:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mMHHJJpE+GRk+QAA9RJhRA (envelope-from ) for ; Wed, 06 Sep 2023 11:21:30 +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 7252341D33 for ; Wed, 6 Sep 2023 11:21:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693992090; 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=OL2y03ft+1roFr0H2udx8gQXIzmdKfapDzxy/8WqCzk=; b=anYqyUjwtk4SkdhNsq0YyvGbAYms9d4LU+3P1UPaMRRR0bqhaEi/n5DypP6htkgwTxRfkX UFzRdx+Uq1x3ds6ACrO3409BzJn10H4/V69HsKfy75ElaOhZKulDBv7UQiXyiEjanhCjs2 gVbx3bJaAUWtTk8LX+kYEOZyw3hj8sYCs30k1iNBk68hvjmTMhleF7FNpnLKCsyo6PFPGP 0gt1L0Z9y5DMXsBaXr4gsBCgrmwKJFXvI1VcG7uZUN+UVE8uwqsQUEdhSTg0vxRpSIIuU7 wQEqgBSvI4mIoNMF4gh4SadnDInpuCXEJW3KmgfAoDnX7RjItYjqFOkYFu8MPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693992090; a=rsa-sha256; cv=none; b=DIyXOPtWPFlQUx1OBKPfEjFc+4NR5+ZzPMU2VItOlLzB24fgse/k7AHV4hVjJz4LNi/C1o C8LkhTlbQEHULT3lJb1tI7tk+VggLjtiSOcrP1H+Nk2e94XtElv5j4Ml7dZZj4pNcWgApa HyV8AJL9AEFWZyF5zdjfbhH1C7NDIn9QJdlz9b3sq5NswT7sMgKDytWdizXXgbsf0QbhYF WNgew7ejjtU0qMOGBL8UFvlUqbRvr0Zf2vLAUvqYYdOZ08K3GytjVb2I8HKTpOl02EVpU4 xAt7JIBgSKmPnM0OcbJ999CEHiG/etAiUDD0vYD80q+FNbd5IFh07AQHmQR3xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdoiL-0002pe-Jo; Wed, 06 Sep 2023 05:20:45 -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 1qdogj-0006hQ-FP for guix-patches@gnu.org; Wed, 06 Sep 2023 05:19:06 -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 1qdogj-00064e-6o for guix-patches@gnu.org; Wed, 06 Sep 2023 05:19:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdogh-0006Sf-6J; Wed, 06 Sep 2023 05:19:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v7 54/57] 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: Wed, 06 Sep 2023 09:19:03 +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.169399192024791 (code B ref 65758); Wed, 06 Sep 2023 09:19:03 +0000 Received: (at 65758) by debbugs.gnu.org; 6 Sep 2023 09:18:40 +0000 Received: from localhost ([127.0.0.1]:32941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdogJ-0006Ri-PK for submit@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:40 -0400 Received: from 11.mo583.mail-out.ovh.net ([46.105.47.167]:58211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdofw-0006LY-N6 for 65758@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:32 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.20.147]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 7CD10280C8 for <65758@debbugs.gnu.org>; Wed, 6 Sep 2023 09:18:14 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-9ztwb (unknown [10.111.172.101]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1F1C91FE93; Wed, 6 Sep 2023 09:18:14 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-9ztwb with ESMTPSA id TpUmA9ZD+GQvmQgApfQNQw (envelope-from ); Wed, 06 Sep 2023 09:18:14 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Wed, 6 Sep 2023 11:16:18 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> References: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 4888094449293255394 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehfedgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdeiffduvdfgffefleekiedthefftdfggeetudffgffhjedvheevleeiieevledunecuffhomhgrihhnpehgihhthhhusgdrtghomhdpfigrghhtrghilhdqlhhotggrlhhiiigvrdhorhhgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheejheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth 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 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -6.22 X-Migadu-Queue-Id: 7252341D33 X-Migadu-Spam-Score: -6.22 X-TUID: YefqmkWMOtZo * 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 46be4f6f71..6bcdf700a6 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1807,3 +1807,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.41.0