[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/46: gnu: postorius: Update to 1.3.3.
From: |
guix-commits |
Subject: |
46/46: gnu: postorius: Update to 1.3.3. |
Date: |
Tue, 21 Jul 2020 08:49:48 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit faec049c3be41e2ea4a767fde16bf378e2b00780
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 15:40:51 2020 +0300
gnu: postorius: Update to 1.3.3.
* gnu/packages/mail.scm (postorius): Update to 1.3.3.
[arguments]: Build with python-3. Add custom 'check phase.
[inputs]: Replace python2-django, python2-django-mailman3,
python2-django-mailmanclient with python- variants. Add
python-readme-renderer.
[native-inputs]: Add python-beautifulsoup4, python-isort, python-mock,
python-vcrpy.
---
gnu/packages/mail.scm | 34 ++++++++++++++++++++++------------
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 3022f5c..87e8e3f 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2791,26 +2791,36 @@ some configuration.")
(define-public postorius
(package
(name "postorius")
- (version "1.0.3")
+ (version "1.3.3")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "postorius" version "+post2.tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (uri (pypi-uri "postorius" version))
(sha256
(base32
- "1wymcpv2icjjy8h1ni52p6dr7wwxf71ivqgbqhzx4i82yqphcaq5"))))
+ "08jn23gblbkfl09qlykbpsmp39mmach3sl69h1j5cd5kkx839rwa"))))
(build-system python-build-system)
(arguments
- `(; One test dependency relies on Persona, which was shut down in
- ;; November 2016.
- #:tests? #f
- ;; The part of the frontend of Mailman is still python 2.7.
- #:python ,python-2))
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (if tests?
+ (invoke "python" "example_project/manage.py" "test"
+ "--settings=test_settings" "postorius")
+ #t))))
+ #:tests? #f)) ; Tests try to run a mailman instance to test against.
(inputs
- `(("python2-django" ,python2-django)
- ("python2-django-mailman3" ,python2-django-mailman3)
- ("python2-mailmanclient" ,python2-mailmanclient)))
+ `(("python-django" ,python-django)
+ ("python-django-mailman3" ,python-django-mailman3)
+ ("python-mailmanclient" ,python-mailmanclient)
+ ("python-readme-renderer" ,python-readme-renderer)))
+ (native-inputs
+ `(("python-beautifulsoup4" ,python-beautifulsoup4)
+ ("python-isort" ,python-isort)
+ ("python-mock" ,python-mock)
+ ("python-vcrpy" ,python-vcrpy)))
(home-page "https://gitlab.com/mailman/postorius")
(synopsis "Web user interface for GNU Mailman")
(description
- 30/46: gnu: gunicorn-bootstrap: Re-indent., (continued)
- 30/46: gnu: gunicorn-bootstrap: Re-indent., guix-commits, 2020/07/21
- 31/46: gnu: Add python-django-picklefield., guix-commits, 2020/07/21
- 35/46: gnu: python-django-allauth: Update to 0.40.0., guix-commits, 2020/07/21
- 38/46: gnu: python-django-testing: Update to 0.5.0., guix-commits, 2020/07/21
- 40/46: gnu: Add python-django-compressor., guix-commits, 2020/07/21
- 42/46: gnu: python-mailmanclient: Update to 3.3.1., guix-commits, 2020/07/21
- 45/46: gnu: Add python-hyperkitty., guix-commits, 2020/07/21
- 16/46: gnu: Add python-zope-copy., guix-commits, 2020/07/21
- 37/46: gnu: python-django-testing: Fix tests., guix-commits, 2020/07/21
- 43/46: gnu: Add mailman., guix-commits, 2020/07/21
- 46/46: gnu: postorius: Update to 1.3.3.,
guix-commits <=
- 22/46: gnu: Add python-flufl-bounce., guix-commits, 2020/07/21
- 28/46: gnu: Add python-pysolr., guix-commits, 2020/07/21
- 41/46: gnu: Add python-django-mailman3., guix-commits, 2020/07/21
- 44/46: gnu: Add python-mailman-hyperkitty., guix-commits, 2020/07/21