diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-21 14:33:41 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-21 15:30:09 +0300 |
commit | ba7816a2cec8280d9fb53b7b7d98f352ca4414c7 (patch) | |
tree | dc640c0907485769c9bbf29087fa0ee44d8d87bb /gnu/packages | |
parent | da3dbd61edc57007c78f51de45b6cbcafdfce844 (diff) | |
download | guix-ba7816a2cec8280d9fb53b7b7d98f352ca4414c7.tar.gz |
gnu: Add python-django-mailman3.
* gnu/packages/mail.scm (python-django-mailman3): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/mail.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index cde1f4041f..e735c84633 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2551,6 +2551,44 @@ installation on systems where resources are limited. Its features include: @end enumerate\n") (license license:expat))) +(define-public python-django-mailman3 + (package + (name "python-django-mailman3") + (version "1.3.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "django-mailman3" version)) + (sha256 + (base32 + "1yrm7wpjy34xai72vn2vkhc9131cdrbqy08rrabf36kynj5vcdvy")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "DJANGO_SETTINGS_MODULE" + "django_mailman3.tests.settings_test") + (invoke "django-admin" "test" + "--pythonpath=.")))))) + (propagated-inputs + `(("python-django" ,python-django) + ("python-django-allauth" ,python-django-allauth) + ("python-django-gravatar2" ,python-django-gravatar2) + ("python-mailmanclient" ,python-mailmanclient) + ("python-pytz" ,python-pytz))) + (native-inputs + `(("python-mock" ,python-mock))) + (home-page "https://gitlab.com/mailman/django-mailman3") + (synopsis "Django library to help interaction with Mailman") + (description + "This package contains libraries and templates for Django-based interfaces +interacting with Mailman.") + (properties `((python2-variant . ,(delay python2-django-mailman)))) + (license license:gpl3+))) + +;; This is the last version to support Python-2. (define-public python2-django-mailman3 (package (name "python2-django-mailman3") |