all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: contact.ng0@cryptolab.net
To: guix-devel@gnu.org
Cc: ng0 <ng0@libertad.pw>
Subject: [PATCH 5/6] gnu: Add python-django-mailman3.
Date: Mon, 30 Jan 2017 11:22:52 +0000	[thread overview]
Message-ID: <20170130112253.27338-6-contact.ng0@cryptolab.net> (raw)
In-Reply-To: <20170130112253.27338-1-contact.ng0@cryptolab.net>

From: ng0 <ng0@libertad.pw>

* gnu/packages/mail.scm (python-django-mailman3): New variable.
---
 gnu/packages/mail.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index b17af4043..76c0078a8 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -47,6 +47,7 @@
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dejagnu)
+  #:use-module (gnu packages django)
   #:use-module (gnu packages dns)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages emacs)
@@ -1820,3 +1821,41 @@ installation on systems where resources are limited.  Its features include:
 @item Rich and customisable texts for automated operations.
 @end enumerate\n")
     (license license:expat)))
+
+(define-public python-django-mailman3
+  (package
+    (name "python-django-mailman3")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "django-mailman3" version))
+       (sha256
+        (base32
+         "1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-django" ,python-django)
+       ("python-mailmanclient" ,python-mailmanclient)
+       ("python-django-allauth" ,python-django-allauth)
+       ("python-django-gravatar2" ,python-django-gravatar2)
+       ("python-pytz" ,python-pytz)))
+    (native-inputs
+     `(("python-requests" ,python-requests)
+       ("python-requests-oauthlib" ,python-requests-oauthlib)
+       ("python-openid" ,python-openid)))
+    (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 gpl3)))
+
+(define-public python2-django-mailman3
+  (let ((base (package-with-python2
+               python-django-mailman3)))
+    (package
+      (inherit base)
+      (native-inputs
+       `(("python2-openid" ,python2-openid)
+         ,@(package-native-inputs base))))))
-- 
2.11.0

  parent reply	other threads:[~2017-01-30 11:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-29 23:26 Mailman3 frontend number one: postorius contact.ng0
2017-01-29 23:26 ` [PATCH 1/6] gnu: Add python-defusedxml contact.ng0
2017-01-29 23:26 ` [PATCH 2/6] gnu: Add python-openid contact.ng0
2017-01-29 23:26 ` [PATCH 3/6] gnu: Add python-django-allauth contact.ng0
2017-01-29 23:26 ` [PATCH 4/6] gnu: Add python-django-gravatar2 contact.ng0
2017-01-29 23:26 ` [PATCH 5/6] gnu: Add python-django-mailman3 contact.ng0
2017-01-29 23:26 ` [PATCH 6/6] gnu: Add postorius contact.ng0
2017-01-30  8:48   ` Hartmut Goebel
2017-01-30  9:10     ` ng0
2017-01-30  9:20       ` Hartmut Goebel
2017-01-30 10:12         ` ng0
2017-01-29 23:31 ` Mailman3 frontend number one: postorius ng0
2017-01-30 11:22   ` postorius, v2 contact.ng0
2017-01-30 11:22     ` [PATCH 1/6] gnu: Add python-defusedxml contact.ng0
2017-01-30 11:22     ` [PATCH 2/6] gnu: Add python-openid contact.ng0
2017-01-30 11:22     ` [PATCH 3/6] gnu: Add python-django-allauth contact.ng0
2017-01-30 11:22     ` [PATCH 4/6] gnu: Add python-django-gravatar2 contact.ng0
2017-01-30 11:22     ` contact.ng0 [this message]
2017-01-30 11:22     ` [PATCH 6/6] gnu: Add postorius contact.ng0
2017-01-31 13:40     ` postorius, v2 Hartmut Goebel
2017-02-02 11:51     ` Hartmut Goebel
2017-02-02 12:13       ` ng0
2017-02-02 12:28       ` Python packaging rules again (was: postorius, v2) Hartmut Goebel
2017-02-02 21:28       ` postorius, v2 ng0
2017-02-05  1:28         ` ng0

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=20170130112253.27338-6-contact.ng0@cryptolab.net \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    --cc=ng0@libertad.pw \
    /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.