all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 28726@debbugs.gnu.org
Subject: [bug#28726] [PATCH 6/6] gnu: mail: Remove python-django-mailman3.
Date: Sun,  8 Oct 2017 17:03:52 +0100	[thread overview]
Message-ID: <20171008160352.10325-6-mail@cbaines.net> (raw)
In-Reply-To: <20171008160352.10325-1-mail@cbaines.net>

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.
---
 gnu/packages/mail.scm | 34 +++++++++++++---------------------
 1 file changed, 13 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 4d0e177e5..dfa78da26 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2079,9 +2079,9 @@ installation on systems where resources are limited.  Its features include:
 @end enumerate\n")
     (license license:expat)))
 
-(define-public python-django-mailman3
+(define-public python2-django-mailman3
   (package
-    (name "python-django-mailman3")
+    (name "python2-django-mailman3")
     (version "1.0.1")
     (source
      (origin
@@ -2092,7 +2092,7 @@ installation on systems where resources are limited.  Its features include:
          "1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
@@ -2101,17 +2101,18 @@ installation on systems where resources are limited.  Its features include:
                "django-admin"
                "test"
                "--settings=django_mailman3.tests.settings_test"
-               "django_mailman3")))))))
+               "django_mailman3")))))
+       #:python ,python-2))
     (inputs
-     `(("python-django" ,python-django)))
+     `(("python2-django" ,python2-django)))
     (propagated-inputs
-     `(("python-requests" ,python-requests)
-       ("python-requests-oauthlib" ,python-requests-oauthlib)
-       ("python-openid" ,python-openid)
-       ("python-mailmanclient" ,python-mailmanclient)
-       ("python-django-allauth" ,python-django-allauth)
-       ("python-django-gravatar2" ,python-django-gravatar2)
-       ("python-pytz" ,python-pytz)))
+     `(("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
@@ -2119,15 +2120,6 @@ installation on systems where resources are limited.  Its features include:
 interacting with Mailman.")
     (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
   (package
     (name "postorius")
-- 
2.14.2

  parent reply	other threads:[~2017-10-08 16:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-06 20:20 [bug#28726] [PATCH] Update python-sqlparse and fix some dependent packages Christopher Baines
2017-10-06 20:26 ` [bug#28726] [PATCH 1/5] gnu: django: Fix the build for python-django-gravatar2 Christopher Baines
2017-10-06 20:26   ` [bug#28726] [PATCH 2/5] gnu: django: Fix building python-django-allauth Christopher Baines
2017-10-06 20:27   ` [bug#28726] [PATCH 3/5] gnu: django: Fix building python2-django-mailman3 Christopher Baines
2017-10-08  3:42     ` Cyril Roelandt
2017-10-08  7:53       ` ng0
2017-10-08 16:04         ` Christopher Baines
2017-10-06 20:27   ` [bug#28726] [PATCH 4/5] gnu: python: Disable tests for python-graphene Christopher Baines
2017-10-08  3:32     ` Cyril Roelandt
2017-10-08  7:55       ` ng0
2017-10-06 20:27   ` [bug#28726] [PATCH 5/5] gnu: python: Update python-sqlparse Christopher Baines
2017-10-08  3:39     ` Cyril Roelandt
2017-10-08  3:30   ` [bug#28726] [PATCH 1/5] gnu: django: Fix the build for python-django-gravatar2 Cyril Roelandt
2017-10-08 14:52     ` Christopher Baines
2017-10-08 16:02       ` Christopher Baines
2017-10-08 16:03 ` [bug#28726] [PATCH 1/6] " Christopher Baines
2017-10-08 16:03   ` [bug#28726] [PATCH 2/6] gnu: django: Fix building python-django-allauth Christopher Baines
2017-10-08 16:03   ` [bug#28726] [PATCH 3/6] gnu: mail: Fix building python2-django-mailman3 Christopher Baines
2017-10-08 16:03   ` [bug#28726] [PATCH 4/6] gnu: python: Disable tests for python-graphene Christopher Baines
2017-10-08 16:03   ` [bug#28726] [PATCH 5/6] gnu: python: Update python-sqlparse Christopher Baines
2017-10-08 16:03   ` Christopher Baines [this message]
2017-11-24 22:23 ` bug#28726: [PATCH] Update python-sqlparse and fix some dependent packages Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171008160352.10325-6-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=28726@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.