[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65758] [PATCH v7 52/57] gnu: Add python-wagtail.
From: |
Nicolas Graves |
Subject: |
[bug#65758] [PATCH v7 52/57] gnu: Add python-wagtail. |
Date: |
Wed, 6 Sep 2023 11:16:16 +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 7a8dd0a9b5..8fea2a1723 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1699,3 +1699,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 "5.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "wagtail" version))
+ (sha256
+ (base32 "1fyjxb4g0mnmpr802jddylj6lc2fy4pf3zazsr2k9nx5hzgj3gfy"))))
+ (build-system pyproject-build-system)
+ (arguments
+ `(#:test-flags '("--pythonpath=."
+ "--settings=wagtail.test.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.41.0
- [bug#65758] [PATCH v7 38/57] gnu: python-django-filter: Update to 22.1., (continued)
- [bug#65758] [PATCH v7 38/57] gnu: python-django-filter: Update to 22.1., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 42/57] gnu: Add python-jinjalint., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 37/57] gnu: python-django-taggit: Update to 3.1.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 39/57] gnu: Add python-django-modelcluster., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 43/57] gnu: Add python-willow., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 44/57] gnu: Add python-django-request., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 49/57] gnu: Add python-telepath., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 46/57] gnu: Add python-draftjs-exporter., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 51/57] gnu: python-openpyxl: Update to 3.1.2., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 48/57] gnu: Add python-anyascii., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 52/57] gnu: Add python-wagtail.,
Nicolas Graves <=
- [bug#65758] [PATCH v7 14/57] gnu: python-django-picklefield: Update to 3.1.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 12/57] gnu: python-django-allauth: Update to 0.47.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 19/57] gnu: python-django-contrib-comments: Update to 2.2.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 57/57] gnu: python-django-debug-toolbar: Update to 3.8.1., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 18/57] gnu: python-django-contact-form: Add native-input tzdata-for-tests., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 30/57] gnu: python-django-compressor: Update to 4.3.1., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 29/57] gnu: Remove python-pysolr., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 33/57] gnu: Add python-django-requests-debug-toolbar., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 27/57] gnu: python-rjsmin: Update to 1.2.1., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 41/57] gnu: Add python-parsy., Nicolas Graves, 2023/09/06