GNU bug report logs - #25736
postorius (mailman)

Previous Next

Package: guix-patches;

Reported by: ng0 <contact.ng0 <at> cryptolab.net>

Date: Wed, 15 Feb 2017 10:02:02 UTC

Severity: normal

Done: Kei Kebreau <kei <at> openmailbox.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25736 in the body.
You can then email your comments to 25736 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Wed, 15 Feb 2017 10:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <contact.ng0 <at> cryptolab.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 15 Feb 2017 10:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: guix-patches <at> gnu.org
Subject: postorius (mailman)
Date: Wed, 15 Feb 2017 10:02:41 +0000
This patch series adds postorius, one part of mailman version 3.
It was reviewed by Harmut as "Okay, good to go" and I see no point in
waiting for a discussion to happen on django bits of the python build
system. If there are minor issues on the what should be propagated or
native inputs, they can be solved afterwards. The packages are good to
go.

0001-gnu-Add-python-defusedxml.patch
0002-gnu-Add-python-openid.patch
0003-gnu-Add-python-django-allauth.patch
0004-gnu-Add-python-django-gravatar2.patch
0005-gnu-Add-python-django-mailman3.patch
0006-gnu-Add-postorius.patch

For the previous discussion, search "postorius" on the guix-devel@ list.

Thanks.
-- 
ng0 -- https://www.inventati.org/patternsinthechaos/




Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Wed, 15 Feb 2017 10:08:01 GMT) Full text and rfc822 format available.

Message #8 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: 25736 <at> debbugs.gnu.org
Cc: ng0 <ng0 <at> libertad.pw>
Subject: [PATCH 1/6] gnu: Add python-defusedxml.
Date: Wed, 15 Feb 2017 10:09:22 +0000
From: ng0 <ng0 <at> libertad.pw>

* gnu/packages/xml.scm (python-defusedxml): New variable.
---
 gnu/packages/xml.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 32b658489..8ee46ff71 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2016 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben <at> gmail.com>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke <at> gnu.org>
-;;; Copyright © 2016 ng0 <ng0 <at> we.make.ritual.n0.is>
+;;; Copyright © 2016, 2017 ng0 <contact.ng0 <at> cryptolab.net>
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2016 Marius Bakke <mbakke <at> fastmail.com>
 ;;;
@@ -1027,3 +1027,24 @@ XSLT and EXSLT.")
 XLSM) format spreadsheets into plaintext @dfn{comma separated values} (CSV)
 files.  It is designed to be fast and to handle large input files.")
     (license license:gpl2+)))
+
+(define-public python-defusedxml
+  (package
+    (name "python-defusedxml")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "defusedxml" version))
+       (sha256
+        (base32
+         "0y147zy3jqmk6ly7fbhqmzn1hf41xcb53f2vcc3m8x4ba5d1smfd"))))
+    (build-system python-build-system)
+    (home-page "https://bitbucket.org/tiran/defusedxml")
+    (synopsis "XML bomb protection for Python stdlib modules")
+    (description
+     "Defusedxml provides XML bomb protection for Python stdlib modules.")
+    (license license:psfl)))
+
+(define-public python2-defusedxml
+  (package-with-python2 python-defusedxml))
-- 
2.11.1





Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Wed, 15 Feb 2017 10:08:02 GMT) Full text and rfc822 format available.

Message #11 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: 25736 <at> debbugs.gnu.org
Cc: ng0 <ng0 <at> libertad.pw>
Subject: [PATCH 2/6] gnu: Add python-openid.
Date: Wed, 15 Feb 2017 10:09:23 +0000
From: ng0 <ng0 <at> libertad.pw>

* gnu/packages/python.scm (python-openid): New variable.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3b97939e2..95f61076b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5198,6 +5198,32 @@ for clients and servers.")
 for clients and servers.")
     (license license:asl2.0)))
 
+;; This is named "python3-openid" upstream, but python-python3-openid
+;; is too much of an tautology.
+(define-public python-openid
+  (package
+    (name "python-openid")
+    (version "3.0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python3-openid" version))
+       (sha256
+        (base32
+         "1x3nh3fycqfn43jp5j5pb4q4y2jxp4mdka4absaa3bc0078qd758"))))
+    (propagated-inputs
+     `(("python-defusedxml" ,python-defusedxml)))
+    (native-inputs
+     `(("python-coverage" ,python-coverage)))
+    (build-system python-build-system)
+    (home-page "https://github.com/necaris/python3-openid")
+    (synopsis "OpenID support for modern servers and consumers")
+    (description
+     "This library provides OpenID authentication for Python, both
+for clients and servers.  This package provides the Python 3 port
+of python-openid.")
+    (license license:asl2.0)))
+
 (define-public python-urwidtrees
   (package
     (name "python-urwidtrees")
-- 
2.11.1





Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Wed, 15 Feb 2017 10:08:02 GMT) Full text and rfc822 format available.

Message #14 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: 25736 <at> debbugs.gnu.org
Cc: ng0 <ng0 <at> libertad.pw>
Subject: [PATCH 3/6] gnu: Add python-django-allauth.
Date: Wed, 15 Feb 2017 10:09:24 +0000
From: ng0 <ng0 <at> libertad.pw>

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

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 9a3c66c45..dc7950d9f 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
 ;;; Copyright © 2016 Efraim Flashner <efraim <at> flashner.co.il>
+;;; Copyright © 2017 ng0 <contact.ng0 <at> cryptolab.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -177,3 +178,34 @@ them do this.")
 
 (define-public python2-django-filter
   (package-with-python2 python-django-filter))
+
+(define-public python-django-allauth
+  (package
+    (name "python-django-allauth")
+    (version "0.30.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "django-allauth" version))
+       (sha256
+        (base32
+         "1fslqc5qqb0b66yscvkyjwfv8cnbfx5nlkpnwimyb3pf1nc1w7r3"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-openid" ,python-openid)
+       ("python-requests" ,python-requests)
+       ("python-requests-oauthlib" ,python-requests-oauthlib)))
+    (native-inputs
+     `(("python-mock" ,python-mock)))
+    (inputs
+     `(("python-django" ,python-django)))
+    (home-page "https://github.com/pennersr/django-allauth")
+    (synopsis "Set of Django applications addressing authentication")
+    (description
+     "Integrated set of Django applications addressing authentication,
+registration, account management as well as 3rd party (social)
+account authentication.")
+    (license license:expat)))
+
+(define-public python2-django-allauth
+  (package-with-python2 python-django-allauth))
-- 
2.11.1





Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Wed, 15 Feb 2017 10:08:03 GMT) Full text and rfc822 format available.

Message #17 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: 25736 <at> debbugs.gnu.org
Cc: ng0 <ng0 <at> libertad.pw>
Subject: [PATCH 5/6] gnu: Add python-django-mailman3.
Date: Wed, 15 Feb 2017 10:09:26 +0000
From: ng0 <ng0 <at> 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 a9b2cb3ec..3719fb01e 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -48,6 +48,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)
@@ -1951,3 +1952,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)
+    (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)))
+    (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)
+      (propagated-inputs
+       `(("python2-openid" ,python2-openid)
+         ,@(package-propagated-inputs base))))))
-- 
2.11.1





Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Wed, 15 Feb 2017 10:09:02 GMT) Full text and rfc822 format available.

Message #20 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: 25736 <at> debbugs.gnu.org
Cc: ng0 <ng0 <at> libertad.pw>
Subject: [PATCH 4/6] gnu: Add python-django-gravatar2.
Date: Wed, 15 Feb 2017 10:09:25 +0000
From: ng0 <ng0 <at> libertad.pw>

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

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index dc7950d9f..6894da305 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -209,3 +209,27 @@ account authentication.")
 
 (define-public python2-django-allauth
   (package-with-python2 python-django-allauth))
+
+(define-public python-django-gravatar2
+  (package
+    (name "python-django-gravatar2")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "django-gravatar2" version))
+       (sha256
+        (base32
+         "1v4qyj6kms321yw0z2g1kch6b2dskmv6fjd6sfxzwr4xshq9mccl"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-django" ,python-django)))
+    (home-page "https://github.com/twaddington/django-gravatar")
+    (synopsis "Gravatar support for Django, improved version")
+    (description
+     "Essential Gravatar support for Django.  Features helper methods,
+templatetags and a full test suite.")
+    (license license:expat)))
+
+(define-public python2-django-gravatar2
+  (package-with-python2 python-django-gravatar2))
-- 
2.11.1





Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Wed, 15 Feb 2017 10:09:02 GMT) Full text and rfc822 format available.

Message #23 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: 25736 <at> debbugs.gnu.org
Cc: ng0 <contact.ng0 <at> cryptolab.net>
Subject: [PATCH 6/6] gnu: Add postorius.
Date: Wed, 15 Feb 2017 10:09:27 +0000
From: ng0 <contact.ng0 <at> cryptolab.net>

* gnu/packages/mail.scm (postorius): New variable.
---
 gnu/packages/mail.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 3719fb01e..beaf498e9 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1990,3 +1990,33 @@ interacting with Mailman.")
       (propagated-inputs
        `(("python2-openid" ,python2-openid)
          ,@(package-propagated-inputs base))))))
+
+(define-public postorius
+  (package
+    (name "postorius")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "postorius" version "+post2.tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1wymcpv2icjjy8h1ni52p6dr7wwxf71ivqgbqhzx4i82yqphcaq5"))))
+    (build-system python-build-system)
+    (arguments
+     `(; One test dependency relies on Persona, which was shut down in
+       ;; November 2016.
+       #:tests? #f
+                ;; The part of the frontend of Mailman is still python 2.7.
+                #:python ,python-2))
+    (inputs
+     `(("python2-django" ,python2-django)
+       ("python2-django-mailman3" ,python2-django-mailman3)
+       ("python2-mailmanclient" ,python2-mailmanclient)))
+    (home-page "https://gitlab.com/mailman/postorius")
+    (synopsis "Web user interface for GNU Mailman")
+    (description
+     "Postorius is a Django app which provides a web user interface
+to access GNU Mailman.")
+    (license (list gpl3+ lgpl3+))))
-- 
2.11.1





Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Thu, 23 Mar 2017 11:38:01 GMT) Full text and rfc822 format available.

Message #26 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: 25736 <at> debbugs.gnu.org
Subject: Re: bug#25736: postorius (mailman)
Date: Thu, 23 Mar 2017 11:40:11 +0000
ng0 transcribed 0.7K bytes:
> This patch series adds postorius, one part of mailman version 3.
> It was reviewed by Harmut as "Okay, good to go" and I see no point in
> waiting for a discussion to happen on django bits of the python build
> system. If there are minor issues on the what should be propagated or
> native inputs, they can be solved afterwards. The packages are good to
> go.
> 
> 0001-gnu-Add-python-defusedxml.patch
> 0002-gnu-Add-python-openid.patch
> 0003-gnu-Add-python-django-allauth.patch
> 0004-gnu-Add-python-django-gravatar2.patch
> 0005-gnu-Add-python-django-mailman3.patch
> 0006-gnu-Add-postorius.patch
> 
> For the previous discussion, search "postorius" on the guix-devel@ list.
> 
> Thanks.

It seems to me as if send in on 2017-02-15, time passed until today, the
2017-03-23 would be enough to simply push this if I could (access
level).

For those who can push, these patches should theoretically still apply.
If they do not apply anymore, tell me and I'll rebase them.




Information forwarded to guix-patches <at> gnu.org:
bug#25736; Package guix-patches. (Sat, 08 Apr 2017 16:40:01 GMT) Full text and rfc822 format available.

Message #29 received at 25736 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: 25736 <at> debbugs.gnu.org
Subject: Re: bug#25736: postorius (mailman)
Date: Sat, 8 Apr 2017 16:39:32 +0000
[Message part 1 (text/plain, inline)]
Updated patches appended.

ng0 transcribed 1.0K bytes:
> ng0 transcribed 0.7K bytes:
> > This patch series adds postorius, one part of mailman version 3.
> > It was reviewed by Harmut as "Okay, good to go" and I see no point in
> > waiting for a discussion to happen on django bits of the python build
> > system. If there are minor issues on the what should be propagated or
> > native inputs, they can be solved afterwards. The packages are good to
> > go.
> > 
> > 0001-gnu-Add-python-defusedxml.patch
> > 0002-gnu-Add-python-openid.patch
> > 0003-gnu-Add-python-django-allauth.patch
> > 0004-gnu-Add-python-django-gravatar2.patch
> > 0005-gnu-Add-python-django-mailman3.patch
> > 0006-gnu-Add-postorius.patch
> > 
> > For the previous discussion, search "postorius" on the guix-devel@ list.
> > 
> > Thanks.
> 
> It seems to me as if send in on 2017-02-15, time passed until today, the
> 2017-03-23 would be enough to simply push this if I could (access
> level).
> 
> For those who can push, these patches should theoretically still apply.
> If they do not apply anymore, tell me and I'll rebase them.
> 
> 
> 
[0001-gnu-Add-python-defusedxml.patch (text/plain, attachment)]
[0002-gnu-Add-python-openid.patch (text/plain, attachment)]
[0003-gnu-Add-python-django-allauth.patch (text/plain, attachment)]
[0004-gnu-Add-python-django-gravatar2.patch (text/plain, attachment)]
[0005-gnu-Add-python-django-mailman3.patch (text/plain, attachment)]
[0006-gnu-Add-postorius.patch (text/plain, attachment)]

Reply sent to Kei Kebreau <kei <at> openmailbox.org>:
You have taken responsibility. (Sat, 08 Apr 2017 16:44:02 GMT) Full text and rfc822 format available.

Notification sent to ng0 <contact.ng0 <at> cryptolab.net>:
bug acknowledged by developer. (Sat, 08 Apr 2017 16:44:02 GMT) Full text and rfc822 format available.

Message #34 received at 25736-done <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: 25736-done <at> debbugs.gnu.org
Subject: Re: bug#25736: postorius (mailman)
Date: Sat, 08 Apr 2017 12:43:26 -0400
[Message part 1 (text/plain, inline)]
ng0 <contact.ng0 <at> cryptolab.net> writes:

> Updated patches appended.
>
> ng0 transcribed 1.0K bytes:
>> ng0 transcribed 0.7K bytes:
>> > This patch series adds postorius, one part of mailman version 3.
>> > It was reviewed by Harmut as "Okay, good to go" and I see no point in
>> > waiting for a discussion to happen on django bits of the python build
>> > system. If there are minor issues on the what should be propagated or
>> > native inputs, they can be solved afterwards. The packages are good to
>> > go.
>> > 
>> > 0001-gnu-Add-python-defusedxml.patch
>> > 0002-gnu-Add-python-openid.patch
>> > 0003-gnu-Add-python-django-allauth.patch
>> > 0004-gnu-Add-python-django-gravatar2.patch
>> > 0005-gnu-Add-python-django-mailman3.patch
>> > 0006-gnu-Add-postorius.patch
>> > 
>> > For the previous discussion, search "postorius" on the guix-devel@ list.
>> > 
>> > Thanks.
>> 
>> It seems to me as if send in on 2017-02-15, time passed until today, the
>> 2017-03-23 would be enough to simply push this if I could (access
>> level).
>> 
>> For those who can push, these patches should theoretically still apply.
>> If they do not apply anymore, tell me and I'll rebase them.
>> 
>> 
>> 

Patches applied to master and pushed.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 07 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.