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.master
parent
6fe7d216b2
commit
faec049c3b
|
@ -2791,26 +2791,36 @@ some configuration.")
|
||||||
(define-public postorius
|
(define-public postorius
|
||||||
(package
|
(package
|
||||||
(name "postorius")
|
(name "postorius")
|
||||||
(version "1.0.3")
|
(version "1.3.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "postorius" version "+post2.tar.gz"))
|
(uri (pypi-uri "postorius" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1wymcpv2icjjy8h1ni52p6dr7wwxf71ivqgbqhzx4i82yqphcaq5"))))
|
"08jn23gblbkfl09qlykbpsmp39mmach3sl69h1j5cd5kkx839rwa"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(; One test dependency relies on Persona, which was shut down in
|
'(#:phases
|
||||||
;; November 2016.
|
(modify-phases %standard-phases
|
||||||
#:tests? #f
|
(replace 'check
|
||||||
;; The part of the frontend of Mailman is still python 2.7.
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
#:python ,python-2))
|
(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
|
(inputs
|
||||||
`(("python2-django" ,python2-django)
|
`(("python-django" ,python-django)
|
||||||
("python2-django-mailman3" ,python2-django-mailman3)
|
("python-django-mailman3" ,python-django-mailman3)
|
||||||
("python2-mailmanclient" ,python2-mailmanclient)))
|
("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")
|
(home-page "https://gitlab.com/mailman/postorius")
|
||||||
(synopsis "Web user interface for GNU Mailman")
|
(synopsis "Web user interface for GNU Mailman")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue