@@ -3560,29 +3560,28 @@ (define-public mlmmj
(define-public python-django-mailman3
(package
(name "python-django-mailman3")
- (version "1.3.7")
+ (version "1.3.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "django-mailman3" version))
(sha256
- (base32
- "1dzycnwdr1gavs1dgmcv1lz24x0fkp8y864fy52fgbz72d6c5a3f"))))
- (build-system python-build-system)
+ (base32 "0ma4q6ffyz2qhlg3cw0kbxsvwli41154p1zgv5h93l3r0s4p4xhb"))))
+ (build-system pyproject-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=."))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "django-admin" "test"
+ "--settings=django_mailman3.tests.settings_test"
+ "--pythonpath=.")))))))
(propagated-inputs
(list python-django python-django-allauth python-django-gravatar2
python-mailmanclient python-pytz))
(native-inputs
- (list python-mock))
+ (list python-mock tzdata-for-tests))
(home-page "https://gitlab.com/mailman/django-mailman3")
(synopsis "Django library to help interaction with Mailman")
(description