gnu: mail: Remove python-django-mailman3.
This package fails to build, as django-mailman3 currently only works with Python 2. * gnu/packages/mail.scm (python-django-mailman3): Removed variable. (python2-django-mailman3): Inline the use of python-django-mailman3, and remove the use of package-with-python2.
This commit is contained in:
parent
17dc2a0997
commit
ea3b9f7b73
|
@ -2108,9 +2108,9 @@ installation on systems where resources are limited. Its features include:
|
||||||
@end enumerate\n")
|
@end enumerate\n")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-django-mailman3
|
(define-public python2-django-mailman3
|
||||||
(package
|
(package
|
||||||
(name "python-django-mailman3")
|
(name "python2-django-mailman3")
|
||||||
(version "1.0.1")
|
(version "1.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -2120,16 +2120,28 @@ installation on systems where resources are limited. Its features include:
|
||||||
(base32
|
(base32
|
||||||
"1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z"))))
|
"1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(zero?
|
||||||
|
(system*
|
||||||
|
"django-admin"
|
||||||
|
"test"
|
||||||
|
"--settings=django_mailman3.tests.settings_test"
|
||||||
|
"django_mailman3")))))
|
||||||
|
#:python ,python-2))
|
||||||
(inputs
|
(inputs
|
||||||
`(("python-django" ,python-django)))
|
`(("python2-django" ,python2-django)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-requests" ,python-requests)
|
`(("python2-requests" ,python2-requests)
|
||||||
("python-requests-oauthlib" ,python-requests-oauthlib)
|
("python2-requests-oauthlib" ,python2-requests-oauthlib)
|
||||||
("python-openid" ,python-openid)
|
("python2-openid" ,python2-openid)
|
||||||
("python-mailmanclient" ,python-mailmanclient)
|
("python2-mailmanclient" ,python2-mailmanclient)
|
||||||
("python-django-allauth" ,python-django-allauth)
|
("python2-django-allauth" ,python2-django-allauth)
|
||||||
("python-django-gravatar2" ,python-django-gravatar2)
|
("python2-django-gravatar2" ,python2-django-gravatar2)
|
||||||
("python-pytz" ,python-pytz)))
|
("python2-pytz" ,python2-pytz)))
|
||||||
(home-page "https://gitlab.com/mailman/django-mailman3")
|
(home-page "https://gitlab.com/mailman/django-mailman3")
|
||||||
(synopsis "Django library for Mailman UIs")
|
(synopsis "Django library for Mailman UIs")
|
||||||
(description
|
(description
|
||||||
|
@ -2137,15 +2149,6 @@ installation on systems where resources are limited. Its features include:
|
||||||
interacting with Mailman.")
|
interacting with Mailman.")
|
||||||
(license gpl3+)))
|
(license gpl3+)))
|
||||||
|
|
||||||
(define-public python2-django-mailman3
|
|
||||||
(let ((base (package-with-python2
|
|
||||||
python-django-mailman3)))
|
|
||||||
(package
|
|
||||||
(inherit base)
|
|
||||||
(propagated-inputs
|
|
||||||
`(("python2-openid" ,python2-openid)
|
|
||||||
,@(package-propagated-inputs base))))))
|
|
||||||
|
|
||||||
(define-public postorius
|
(define-public postorius
|
||||||
(package
|
(package
|
||||||
(name "postorius")
|
(name "postorius")
|
||||||
|
|
Loading…
Reference in New Issue