[bug#43354,46/55] gnu: Remove python2-django-mailman3.
diff mbox series

Message ID 20200912142911.6231-46-marius@gnu.org
State New
Headers show
Series
  • Django upgrade
Related show

Commit Message

Marius Bakke Sept. 12, 2020, 2:29 p.m. UTC
This package depends on Python 2 which is past end-of-life, and also requires
older versions of Django and dependencies.

* gnu/packages/mail.scm (python2-django-mailman3): Remove variable.
(python-django-mailman3)[properties]: Remove.
---
 gnu/packages/mail.scm | 41 -----------------------------------------
 1 file changed, 41 deletions(-)

Patch
diff mbox series

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 15b9b1dd4e..30d06e79de 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2935,47 +2935,6 @@  installation on systems where resources are limited.  Its features include:
     (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-mailman3))))
-    (license license:gpl3+)))
-
-;; This is the last version to support Python-2.
-(define-public python2-django-mailman3
-  (package
-    (name "python2-django-mailman3")
-    (version "1.1.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "django-mailman3" version))
-       (sha256
-        (base32
-         "1xjdkgfjwhgyrp5nxw65dcpcsr98ygj6856sp0bwkrmyxpd1xxk2"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             (invoke "django-admin"
-                     "test"
-                     "--settings=django_mailman3.tests.settings_test"
-                     "django_mailman3"))))
-       #:python ,python-2))
-    (inputs
-     `(("python2-django" ,python2-django)))
-    (propagated-inputs
-     `(("python2-requests" ,python2-requests)
-       ("python2-requests-oauthlib" ,python2-requests-oauthlib)
-       ("python2-openid" ,python2-openid)
-       ("python2-mailmanclient" ,python2-mailmanclient)
-       ("python2-django-allauth" ,python2-django-allauth)
-       ("python2-django-gravatar2" ,python2-django-gravatar2)
-       ("python2-pytz" ,python2-pytz)))
-    (home-page "https://gitlab.com/mailman/django-mailman3")
-    (synopsis "Django library for Mailman UIs")
-    (description
-     "Libraries and templates for Django-based interfaces
 interacting with Mailman.")
     (license license:gpl3+)))