[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH 17/18] gnu: Add python-wagtail.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH 17/18] gnu: Add python-wagtail. |
Date: |
Tue, 17 May 2022 09:54:47 +0200 |
* gnu/packages/django.scm (python-wagtail): New variable.
---
gnu/packages/django.scm | 69 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 46891fd044..63626940cd 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1485,3 +1485,72 @@ (define-public python-telepath
"This package provides a library for exchanging data between Python and
JavaScript.")
(license license:bsd-3)))
+
+(define-public python-wagtail
+ (package
+ (name "python-wagtail")
+ (version "2.16.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "wagtail" version))
+ (sha256
+ (base32 "1alxxj7aiwj1ymaharzxv7sq7kyv555jg5fc1b98aiwxlcdxq8zf"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs #:allow-other-keys)
+ (if tests?
+ (lambda _
+ (setenv "DJANGO_SETTINGS_MODULE" "wagtail.tests.settings")
+ (invoke "django-admin"
+ "test" "--pythonpath=."
+ ;; disabling failing 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"))))))))
+ (propagated-inputs
+ (list python-anyascii
+ python-beautifulsoup4-4.8
+ python-django
+ python-django-filter
+ python-django-modelcluster
+ python-django-taggit
+ python-django-treebeard
+ python-django-rest-framework
+ python-draftjs-exporter
+ python-html5lib
+ python-l18n
+ python-pillow
+ python-requests
+ python-tablib
+ python-telepath
+ python-willow
+ python-xlsxwriter))
+ (native-inputs
+ (list ;; python-azure-mgmt-cdn ;failing tests
+ ;; python-azure-mgmt-frontdoor ;failing tests
+ python-boto3
+ python-coverage
+ python-dateutil
+ python-doc8
+ python-docutils
+ python-elasticsearch
+ python-flake8
+ python-flake8-blind-except
+ python-flake8-print
+ python-freezegun
+ python-isort
+ python-jinja2
+ python-jinjalint
+ python-openpyxl
+ python-polib
+ python-pytz
+ python-unidecode))
+ (home-page "https://wagtail.org/")
+ (synopsis "A Django content management system.")
+ (description "This package provides a Django content management system.")
+ (license license:bsd-3)))
--
2.36.0
- [bug#55473] [PATCH 02/18] gnu: python-django-filter: Update to 21.1., (continued)
- [bug#55473] [PATCH 02/18] gnu: python-django-filter: Update to 21.1., Nicolas Graves, 2022/05/17
- [bug#55475] [PATCH 05/18] gnu: Add python-jinjalint., Nicolas Graves, 2022/05/17
- [bug#55476] [PATCH 03/18] gnu: Add python-django-modelcluster., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 08/18] gnu: Add python-django-request., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 09/18] gnu: Add python-django-environ., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 10/18] gnu: Add python-psycopg2-2.8., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 11/18] gnu: Add python-beautifulsoup4-4.8., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 06/18] gnu: Add python-flake8-blind-except., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 14/18] gnu: Add python-parsy., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 16/18] gnu: Add python-telepath., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 17/18] gnu: Add python-wagtail.,
Nicolas Graves <=
- [bug#55474] [PATCH 15/18] gnu: Add python-anyascii., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 04/18] gnu: Add python-django-treebeard., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 07/18] gnu: Add python-willow., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 12/18] gnu: Add python-draftjs-exporter., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 13/18] gnu: Add python-l18n., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 18/18] gnu: Add python-wagtail-localize., Nicolas Graves, 2022/05/17