[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v4 17/19] gnu: Add python-wagtail.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v4 17/19] gnu: Add python-wagtail. |
Date: |
Mon, 5 Jun 2023 18:25:12 +0200 |
* 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)))
--
2.40.1
- [bug#55474] [PATCH v4 06/19] gnu: Add python-jinjalint., (continued)
- [bug#55474] [PATCH v4 06/19] gnu: Add python-jinjalint., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 11/19] gnu: Add python-l18n., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 08/19] gnu: Add python-django-request., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 09/19] gnu: Add python-django-environ., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 10/19] gnu: Add python-draftjs-exporter., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 12/19] gnu: Add python-anyascii., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 13/19] gnu: Add python-telepath., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 15/19] gnu: python-openpyxl: Update to 3.1.2., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 14/19] gnu: Add python-django-permissionedforms., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 18/19] gnu: Add python-wagtail-factories., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 17/19] gnu: Add python-wagtail.,
Nicolas Graves <=
- [bug#55474] [PATCH v4 16/19] gnu: python-django-4.0: Update to 4.0.9., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 19/19] gnu: Add python-wagtail-localize., Nicolas Graves, 2023/06/05