From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 65758@debbugs.gnu.org
Cc: ngraves@ngraves.fr, Lars-Dominik Braun <lars@6xq.net>,
jgart <jgart@dismail.de>
Subject: [bug#65758] [PATCH v7 54/57] gnu: Add python-wagtail-localize.
Date: Wed, 6 Sep 2023 11:16:18 +0200 [thread overview]
Message-ID: <c794d52da00da7f0beaa11e28f23dd1a32a962aa.1693991781.git.ngraves@ngraves.fr> (raw)
In-Reply-To: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr>
* 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
next prev parent reply other threads:[~2023-09-06 9:21 UTC|newest]
Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-05 14:48 [bug#65758] [PATCH 0/54 v6] Update django and install wagtail Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 01/55] gnu: python-django-4.0: Update to 4.0.9 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 02/55] gnu: python-asgiref: Update to 3.6.0 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 03/55] gnu: Add python-asgiref-3.4.1 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 04/55] gnu: python-distributed: Disable failing tests Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 05/55] gnu: Add python-django-4.2 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 06/55] gnu: python-django-extensions: Update to 3.2.0 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 07/55] gnu: Add python-django-extensions-3.0 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 08/55] gnu: python-django-3.1.14: Skip failing tests Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 09/55] gnu: python-django-simple-math-captcha: Update to 1.0.9-0-61adb4f Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 10/55] gnu: python-easy-thumbnails: Update to 2.8.5 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 11/55] gnu: python-django-filter: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 12/55] gnu: python-django-allauth: Update to 0.47.0 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 13/55] gnu: python-django-debug-toolbar: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 14/55] gnu: python-django-picklefield: Update to 3.1.0 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 15/55] gnu: Remove python-django-2.2 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 16/55] gnu: datasette: Disabling failing tests Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 17/55] gnu: graphite-web: Update to 1.1.10-0-dca59dc Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 18/55] gnu: python-django-contact-form: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 19/55] gnu: python-django-contrib-comments: Update to 2.2.0 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 20/55] gnu: python-dango-rq: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 21/55] gnu: python-django-sortedm2m: Replace input python-django by python-django-3.2 Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 22/55] gnu: python-django-tagging: Add patch for django@4 support Nicolas Graves via Guix-patches via
2023-09-05 16:30 ` [bug#65758] [PATCH v6 23/55] gnu: python-django-sortedm2m: Update to 3.1.1-0-ddf321f Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 24/55] gnu: python-defusedxml: Update to 0.7.0 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 25/55] gnu: python-filetype: Update to 1.0.10 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 26/55] gnu: python-rcssmin: Update to 1.1.1 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 27/55] gnu: python-rjsmin: Update to 1.2.1 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 28/55] gnu: python-django-mailman3: Update to 1.3.8 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 29/55] gnu: Remove python-pysolr Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 30/55] gnu: python-django-compressor: Update to 4.3.1 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 31/55] gnu: python-django-haystack: Update to 3.2.1 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 32/55] gnu: python-hyperkitty: Update to 1.3.7 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 33/55] gnu: Add python-django-requests-debug-toolbar Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 34/55] gnu: postorius: Update to 1.3.7 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 35/55] gnu: python-django-rest-framework: Update to 3.14.0 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 36/55] gnu: python-django: Update default version to 4.0 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 37/55] gnu: python-django-taggit: Update to 3.1.0 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 38/55] gnu: python-django-filter: Update to 22.1 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 39/55] gnu: Add python-django-modelcluster Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 40/55] gnu: Add python-django-treebeard Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 41/55] gnu: Add python-parsy Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 42/55] gnu: Add python-jinjalint Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 43/55] gnu: Add python-willow Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 44/55] gnu: Add python-django-request Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 45/55] gnu: Add python-django-environ Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 46/55] gnu: Add python-draftjs-exporter Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 47/55] gnu: Add python-l18n Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 48/55] gnu: Add python-anyascii Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 49/55] gnu: Add python-telepath Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 50/55] gnu: Add python-django-permissionedforms Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 51/55] gnu: python-openpyxl: Update to 3.1.2 Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 52/55] gnu: Add python-wagtail Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 53/55] gnu: Add python-wagtail-factories Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 54/55] gnu: Add python-wagtail-localize Nicolas Graves via Guix-patches via
2023-09-05 16:31 ` [bug#65758] [PATCH v6 55/55] gnu: python-django: Update to 4.1.9 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 01/57] gnu: python-django-4.0: Update to 4.0.9 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 02/57] gnu: python-asgiref: Update to 3.6.0 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 03/57] gnu: Add python-asgiref-3.4.1 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 04/57] gnu: python-distributed: Disable failing tests Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 05/57] gnu: Add python-django-4.2 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 06/57] gnu: python-django-extensions: Update to 3.2.0 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 07/57] gnu: Add python-django-extensions-3.0 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 08/57] gnu: python-django-3.1.14: Skip failing tests Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 09/57] gnu: python-django-simple-math-captcha: Update to 1.0.9-0-61adb4f Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 10/57] gnu: python-easy-thumbnails: Update to 2.8.5 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 11/57] gnu: python-django-filter: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 12/57] gnu: python-django-allauth: Update to 0.47.0 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 13/57] gnu: python-django-debug-toolbar: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 14/57] gnu: python-django-picklefield: Update to 3.1.0 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 15/57] gnu: Remove python-django-2.2 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 16/57] gnu: datasette: Disabling failing tests Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 17/57] gnu: graphite-web: Update to 1.1.10-0-dca59dc Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 18/57] gnu: python-django-contact-form: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 19/57] gnu: python-django-contrib-comments: Update to 2.2.0 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 20/57] gnu: python-dango-rq: Add native-input tzdata-for-tests Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 21/57] gnu: python-django-sortedm2m: Replace input python-django by python-django-3.2 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 22/57] gnu: python-django-tagging: Add patch for django@4 support Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 23/57] gnu: python-django-sortedm2m: Update to 3.1.1-0-ddf321f Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 24/57] gnu: python-defusedxml: Update to 0.7.0 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 25/57] gnu: python-filetype: Update to 1.0.10 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 26/57] gnu: python-rcssmin: Update to 1.1.1 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 27/57] gnu: python-rjsmin: Update to 1.2.1 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 28/57] gnu: python-django-mailman3: Update to 1.3.8 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 29/57] gnu: Remove python-pysolr Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 30/57] gnu: python-django-compressor: Update to 4.3.1 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 31/57] gnu: python-django-haystack: Update to 3.2.1 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 32/57] gnu: python-hyperkitty: Update to 1.3.7 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 33/57] gnu: Add python-django-requests-debug-toolbar Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 34/57] gnu: postorius: Update to 1.3.7 Nicolas Graves via Guix-patches via
2023-09-06 9:15 ` [bug#65758] [PATCH v7 35/57] gnu: python-django-rest-framework: Update to 3.14.0 Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 36/57] gnu: python-django: Update default version to 4.0 Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 37/57] gnu: python-django-taggit: Update to 3.1.0 Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 38/57] gnu: python-django-filter: Update to 22.1 Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 39/57] gnu: Add python-django-modelcluster Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 40/57] gnu: Add python-django-treebeard Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 41/57] gnu: Add python-parsy Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 42/57] gnu: Add python-jinjalint Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 43/57] gnu: Add python-willow Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 44/57] gnu: Add python-django-request Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 45/57] gnu: Add python-django-environ Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 46/57] gnu: Add python-draftjs-exporter Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 47/57] gnu: Add python-l18n Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 48/57] gnu: Add python-anyascii Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 49/57] gnu: Add python-telepath Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 50/57] gnu: Add python-django-permissionedforms Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 51/57] gnu: python-openpyxl: Update to 3.1.2 Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 52/57] gnu: Add python-wagtail Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 53/57] gnu: Add python-wagtail-factories Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` Nicolas Graves via Guix-patches via [this message]
2023-09-06 9:16 ` [bug#65758] [PATCH v7 55/57] gnu: python-django: Update to 4.1.9 Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 56/57] gnu: patchwork: Update to 3.1.3 Nicolas Graves via Guix-patches via
2023-09-06 9:16 ` [bug#65758] [PATCH v7 57/57] gnu: python-django-debug-toolbar: Update to 3.8.1 Nicolas Graves via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c794d52da00da7f0beaa11e28f23dd1a32a962aa.1693991781.git.ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=65758@debbugs.gnu.org \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).