[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v2 16/17] gnu: Add python-wagtail.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v2 16/17] gnu: Add python-wagtail. |
Date: |
Tue, 9 Aug 2022 19:13:31 +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 8400d96898..934aa8e95a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1514,3 +1514,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 "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 Content Management System (CMS)")
+ (description "This package provides a Content Management System based on
+Django.")
+ (license license:bsd-3)))
--
2.37.1
- [bug#55474] [PATCH v2 07/17] gnu: Add python-django-request., (continued)
- [bug#55474] [PATCH v2 07/17] gnu: Add python-django-request., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 09/17] gnu: Add python-psycopg2-2.8., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 05/17] gnu: Add python-jinjalint., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 06/17] gnu: Add python-willow., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 10/17] gnu: Add python-beautifulsoup4-4.8., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 12/17] gnu: Add python-l18n., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 11/17] gnu: Add python-draftjs-exporter., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 13/17] gnu: Add python-parsy., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 14/17] gnu: Add python-anyascii., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 17/17] gnu: Add python-wagtail-localize., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 16/17] gnu: Add python-wagtail.,
Nicolas Graves <=
- [bug#55474] [PATCH v2 15/17] gnu: Add python-telepath., Nicolas Graves, 2022/08/09