unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Mailman3 frontend number one: postorius.
@ 2017-01-29 23:26 contact.ng0
  2017-01-29 23:26 ` [PATCH 1/6] gnu: Add python-defusedxml contact.ng0
                   ` (6 more replies)
  0 siblings, 7 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-29 23:26 UTC (permalink / raw)
  To: guix-devel

I've changed postorius to use python-2 only, but maybe I am wrong again.

Harmut have sent me this link and paste from it some days ago: <https://gitlab.com/mailman/mailman-bundler/issues/28#note_21121520>

Maybe only a fully functional Mailman-service will show wether this is wrong or right, but changing the used python version is trivial as it builds with both and I've added all 3rd level dependencies in both versions (py2 and py3) where available.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [PATCH 1/6] gnu: Add python-defusedxml.
  2017-01-29 23:26 Mailman3 frontend number one: postorius contact.ng0
@ 2017-01-29 23:26 ` contact.ng0
  2017-01-29 23:26 ` [PATCH 2/6] gnu: Add python-openid contact.ng0
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-29 23:26 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@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..622569e40 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2016 Marius Bakke <mbakke@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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 2/6] gnu: Add python-openid.
  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 ` contact.ng0
  2017-01-29 23:26 ` [PATCH 3/6] gnu: Add python-django-allauth contact.ng0
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-29 23:26 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@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 9e33412d8..2c7da5e51 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5179,6 +5179,32 @@ features useful for text console applications.")
 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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 3/6] gnu: Add python-django-allauth.
  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 ` contact.ng0
  2017-01-29 23:26 ` [PATCH 4/6] gnu: Add python-django-gravatar2 contact.ng0
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-29 23:26 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@libertad.pw>

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

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 9a3c66c45..055bed4a6 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@crazy-compilers.com>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017 ng0 <ng0@libertad.pw>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -177,3 +178,32 @@ 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)
+    (native-inputs
+     `(("python-django" ,python-django)
+       ("python-mock" ,python-mock)
+       ("python-openid" ,python-openid)
+       ("python-requests" ,python-requests)
+       ("python-requests-oauthlib" ,python-requests-oauthlib)))
+    (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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 4/6] gnu: Add python-django-gravatar2.
  2017-01-29 23:26 Mailman3 frontend number one: postorius contact.ng0
                   ` (2 preceding siblings ...)
  2017-01-29 23:26 ` [PATCH 3/6] gnu: Add python-django-allauth contact.ng0
@ 2017-01-29 23:26 ` contact.ng0
  2017-01-29 23:26 ` [PATCH 5/6] gnu: Add python-django-mailman3 contact.ng0
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-29 23:26 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@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 055bed4a6..a5289e716 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -207,3 +207,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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 5/6] gnu: Add python-django-mailman3.
  2017-01-29 23:26 Mailman3 frontend number one: postorius contact.ng0
                   ` (3 preceding siblings ...)
  2017-01-29 23:26 ` [PATCH 4/6] gnu: Add python-django-gravatar2 contact.ng0
@ 2017-01-29 23:26 ` contact.ng0
  2017-01-29 23:26 ` [PATCH 6/6] gnu: Add postorius contact.ng0
  2017-01-29 23:31 ` Mailman3 frontend number one: postorius ng0
  6 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-29 23:26 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

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

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 6/6] gnu: Add postorius.
  2017-01-29 23:26 Mailman3 frontend number one: postorius contact.ng0
                   ` (4 preceding siblings ...)
  2017-01-29 23:26 ` [PATCH 5/6] gnu: Add python-django-mailman3 contact.ng0
@ 2017-01-29 23:26 ` contact.ng0
  2017-01-30  8:48   ` Hartmut Goebel
  2017-01-29 23:31 ` Mailman3 frontend number one: postorius ng0
  6 siblings, 1 reply; 25+ messages in thread
From: contact.ng0 @ 2017-01-29 23:26 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@libertad.pw>

* 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 76c0078a8..ebddffdb4 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1859,3 +1859,33 @@ interacting with Mailman.")
       (native-inputs
        `(("python2-openid" ,python2-openid)
          ,@(package-native-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)
+    (home-page "https://launchpad.net/postorius")
+    (synopsis "Web user interface for GNU Mailman")
+    (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)))
+    (description
+     "Postorius is a Django app which provides a web user interface
+to access GNU Mailman.")
+    (license (list gpl3+ lgpl3+))))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* Re: Mailman3 frontend number one: postorius.
  2017-01-29 23:26 Mailman3 frontend number one: postorius contact.ng0
                   ` (5 preceding siblings ...)
  2017-01-29 23:26 ` [PATCH 6/6] gnu: Add postorius contact.ng0
@ 2017-01-29 23:31 ` ng0
  2017-01-30 11:22   ` postorius, v2 contact.ng0
  6 siblings, 1 reply; 25+ messages in thread
From: ng0 @ 2017-01-29 23:31 UTC (permalink / raw)
  To: guix-devel

contact.ng0@cryptolab.net writes:

> I've changed postorius to use python-2 only, but maybe I am wrong again.
>
> Harmut have sent me this link and paste from it some days ago: <https://gitlab.com/mailman/mailman-bundler/issues/28#note_21121520>
>
> Maybe only a fully functional Mailman-service will show wether this is wrong or right, but changing the used python version is trivial as it builds with both and I've added all 3rd level dependencies in both versions (py2 and py3) where available.
>

I will rebase this series again for a minor fix in copyright
headers for my new address after QA, so please don't push
anything yet, just review them.
-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH 6/6] gnu: Add postorius.
  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
  0 siblings, 1 reply; 25+ messages in thread
From: Hartmut Goebel @ 2017-01-30  8:48 UTC (permalink / raw)
  To: guix-devel

Am 30.01.2017 um 00:26 schrieb contact.ng0@cryptolab.net:

> +       (file-name (string-append name "-" version ".tar.gz"))

I'd keep the original name, but this may be a matter of taste.

> +    (home-page "https://launchpad.net/postorius")

This has changed: "Postorius is no longer hosted on Launchpad. Please
head over to Gitlab at https://gitlab.com/mailman/postorius
<https://gitlab.com/mailman/postorius> for all bugs, code, and merge
requests for Postorius."

(I only checked since I dislike tu user experience at launchpad.)

> +    (synopsis "Web user interface for GNU Mailman")
Mention "Mailman 3"?

Please move it down to the description - I overlooked it first.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH 6/6] gnu: Add postorius.
  2017-01-30  8:48   ` Hartmut Goebel
@ 2017-01-30  9:10     ` ng0
  2017-01-30  9:20       ` Hartmut Goebel
  0 siblings, 1 reply; 25+ messages in thread
From: ng0 @ 2017-01-30  9:10 UTC (permalink / raw)
  To: Hartmut Goebel, guix-devel

Hi,

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> Am 30.01.2017 um 00:26 schrieb contact.ng0@cryptolab.net:
>
>> +       (file-name (string-append name "-" version ".tar.gz"))
>
> I'd keep the original name, but this may be a matter of taste.

The original file name has some "+something2.tar.gz" in it, I want
to be consistent with what we provide.
Or what do you mean?

>> +    (home-page "https://launchpad.net/postorius")
>
> This has changed: "Postorius is no longer hosted on Launchpad. Please
> head over to Gitlab at https://gitlab.com/mailman/postorius
> <https://gitlab.com/mailman/postorius> for all bugs, code, and merge
> requests for Postorius."
>
> (I only checked since I dislike tu user experience at launchpad.)

Thanks, I will apply this. They should fix their pypi source (if
I got it from there).

>> +    (synopsis "Web user interface for GNU Mailman")
> Mention "Mailman 3"?

We only "have" version 3, why should I mention a version then? I
can do it... Did Mailman prior to version 3 have different
frontends than version 3?

> Please move it down to the description - I overlooked it first.

I assume you mean the "Web user interface for GNU Mailman 3".
In case I haven't mentioned it there, I will do so, okay.

> -- 
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel          | h.goebel@crazy-compilers.com               |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH 6/6] gnu: Add postorius.
  2017-01-30  9:10     ` ng0
@ 2017-01-30  9:20       ` Hartmut Goebel
  2017-01-30 10:12         ` ng0
  0 siblings, 1 reply; 25+ messages in thread
From: Hartmut Goebel @ 2017-01-30  9:20 UTC (permalink / raw)
  To: ng0, guix-devel

Hi,

Am 30.01.2017 um 10:10 schrieb ng0:
>
>>> +       (file-name (string-append name "-" version ".tar.gz"))
>> I'd keep the original name, but this may be a matter of taste.
> The original file name has some "+something2.tar.gz" in it, I want
> to be consistent with what we provide.
> Or what do you mean?

I suggest keeping te original filename. But I don't know the exacpt
conventions at Guix for this.

> Thanks, I will apply this. They should fix their pypi source (if I got
> it from there). 

ACK.

>>> +    (synopsis "Web user interface for GNU Mailman")
>> Mention "Mailman 3"?
> We only "have" version 3, why should I mention a version then? I
> can do it... Did Mailman prior to version 3 have different
> frontends than version 3?

Mailman 3 is a completely new product. AFAIK most part are re-developed
from scratch. OTOH at http://list.org/ they are just mentioning
"Mailman" and "versions are 2.1.23 … and 3.0.3 …". An at mailman-bundler
[1] they write "This is GNU Mailman" and "This package installs GNU
Mailman".

So probably we should stay with what you did: just call ist "Mailman".

[1] https://pypi.python.org/pypi/mailman-bundler/3.0.0


>
>> Please move it down to the description - I overlooked it first.
> I assume you mean the "Web user interface for GNU Mailman 3".
> In case I haven't mentioned it there, I will do so, okay.

I meant the "synopsis" entry which I expect to be beside the description
and not separate.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH 6/6] gnu: Add postorius.
  2017-01-30  9:20       ` Hartmut Goebel
@ 2017-01-30 10:12         ` ng0
  0 siblings, 0 replies; 25+ messages in thread
From: ng0 @ 2017-01-30 10:12 UTC (permalink / raw)
  To: Hartmut Goebel, guix-devel

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> Hi,
>
> Am 30.01.2017 um 10:10 schrieb ng0:
>>
>>>> +       (file-name (string-append name "-" version ".tar.gz"))
>>> I'd keep the original name, but this may be a matter of taste.
>> The original file name has some "+something2.tar.gz" in it, I want
>> to be consistent with what we provide.
>> Or what do you mean?
>
> I suggest keeping te original filename. But I don't know the exacpt
> conventions at Guix for this.

Basically one part says: No strange characters, versions only
separated with dots, etc. Which is why I removed the
"+foo2.tar.gz".
But as you said, it's (almost) purely cosmetical.

>> Thanks, I will apply this. They should fix their pypi source (if I got
>> it from there). 
>
> ACK.
>
>>>> +    (synopsis "Web user interface for GNU Mailman")
>>> Mention "Mailman 3"?
>> We only "have" version 3, why should I mention a version then? I
>> can do it... Did Mailman prior to version 3 have different
>> frontends than version 3?
>
> Mailman 3 is a completely new product. AFAIK most part are re-developed
> from scratch. OTOH at http://list.org/ they are just mentioning
> "Mailman" and "versions are 2.1.23 … and 3.0.3 …". An at mailman-bundler
> [1] they write "This is GNU Mailman" and "This package installs GNU
> Mailman".
>
> So probably we should stay with what you did: just call ist "Mailman".
>
> [1] https://pypi.python.org/pypi/mailman-bundler/3.0.0

Thanks. I would say calling it Mailman 3 makes sense if for
example someone decides mailman-4 comes out but we need to keep
mailman-3 around. The version number found through either of
"guix package {--show,--search} $some-mailman-related package"
will be enough in my opinion.
We should definitely mention Mailman *3* in the documentation for
the service we eventually will write.

>>
>>> Please move it down to the description - I overlooked it first.
>> I assume you mean the "Web user interface for GNU Mailman 3".
>> In case I haven't mentioned it there, I will do so, okay.
>
> I meant the "synopsis" entry which I expect to be beside the description
> and not separate.

Okay, thanks.

> -- 
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel          | h.goebel@crazy-compilers.com               |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* postorius, v2
  2017-01-29 23:31 ` Mailman3 frontend number one: postorius ng0
@ 2017-01-30 11:22   ` contact.ng0
  2017-01-30 11:22     ` [PATCH 1/6] gnu: Add python-defusedxml contact.ng0
                       ` (7 more replies)
  0 siblings, 8 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-30 11:22 UTC (permalink / raw)
  To: guix-devel

Changes:

Applied what has been previously pointed out by Harmut.
Changed copyright headers.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [PATCH 1/6] gnu: Add python-defusedxml.
  2017-01-30 11:22   ` postorius, v2 contact.ng0
@ 2017-01-30 11:22     ` contact.ng0
  2017-01-30 11:22     ` [PATCH 2/6] gnu: Add python-openid contact.ng0
                       ` (6 subsequent siblings)
  7 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-30 11:22 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@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@famulari.name>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2016 Marius Bakke <mbakke@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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 2/6] gnu: Add python-openid.
  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     ` contact.ng0
  2017-01-30 11:22     ` [PATCH 3/6] gnu: Add python-django-allauth contact.ng0
                       ` (5 subsequent siblings)
  7 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-30 11:22 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@libertad.pw>

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9e33412d8..e4f9e32d7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
 ;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
 ;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -5179,6 +5179,32 @@ features useful for text console applications.")
 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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 3/6] gnu: Add python-django-allauth.
  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     ` contact.ng0
  2017-01-30 11:22     ` [PATCH 4/6] gnu: Add python-django-gravatar2 contact.ng0
                       ` (4 subsequent siblings)
  7 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-30 11:22 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@libertad.pw>

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

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 9a3c66c45..91eaf52e2 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@crazy-compilers.com>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -177,3 +178,32 @@ 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)
+    (native-inputs
+     `(("python-django" ,python-django)
+       ("python-mock" ,python-mock)
+       ("python-openid" ,python-openid)
+       ("python-requests" ,python-requests)
+       ("python-requests-oauthlib" ,python-requests-oauthlib)))
+    (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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 4/6] gnu: Add python-django-gravatar2.
  2017-01-30 11:22   ` postorius, v2 contact.ng0
                       ` (2 preceding siblings ...)
  2017-01-30 11:22     ` [PATCH 3/6] gnu: Add python-django-allauth contact.ng0
@ 2017-01-30 11:22     ` contact.ng0
  2017-01-30 11:22     ` [PATCH 5/6] gnu: Add python-django-mailman3 contact.ng0
                       ` (3 subsequent siblings)
  7 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-30 11:22 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@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 91eaf52e2..446f32bde 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -207,3 +207,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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 5/6] gnu: Add python-django-mailman3.
  2017-01-30 11:22   ` postorius, v2 contact.ng0
                       ` (3 preceding siblings ...)
  2017-01-30 11:22     ` [PATCH 4/6] gnu: Add python-django-gravatar2 contact.ng0
@ 2017-01-30 11:22     ` contact.ng0
  2017-01-30 11:22     ` [PATCH 6/6] gnu: Add postorius contact.ng0
                       ` (2 subsequent siblings)
  7 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-30 11:22 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

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

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH 6/6] gnu: Add postorius.
  2017-01-30 11:22   ` postorius, v2 contact.ng0
                       ` (4 preceding siblings ...)
  2017-01-30 11:22     ` [PATCH 5/6] gnu: Add python-django-mailman3 contact.ng0
@ 2017-01-30 11:22     ` contact.ng0
  2017-01-31 13:40     ` postorius, v2 Hartmut Goebel
  2017-02-02 11:51     ` Hartmut Goebel
  7 siblings, 0 replies; 25+ messages in thread
From: contact.ng0 @ 2017-01-30 11:22 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@libertad.pw>

* 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 76c0078a8..2ad2c2d1f 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1859,3 +1859,33 @@ interacting with Mailman.")
       (native-inputs
        `(("python2-openid" ,python2-openid)
          ,@(package-native-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.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

* Re: postorius, v2
  2017-01-30 11:22   ` postorius, v2 contact.ng0
                       ` (5 preceding siblings ...)
  2017-01-30 11:22     ` [PATCH 6/6] gnu: Add postorius contact.ng0
@ 2017-01-31 13:40     ` Hartmut Goebel
  2017-02-02 11:51     ` Hartmut Goebel
  7 siblings, 0 replies; 25+ messages in thread
From: Hartmut Goebel @ 2017-01-31 13:40 UTC (permalink / raw)
  To: guix-devel@gnu.org >> guix-devel

Am 30.01.2017 um 12:22 schrieb contact.ng0@cryptolab.net:
> Changes:
>
> Applied what has been previously pointed out by Harmut.
> Changed copyright headers.
>
>
LGTM

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: postorius, v2
  2017-01-30 11:22   ` postorius, v2 contact.ng0
                       ` (6 preceding siblings ...)
  2017-01-31 13:40     ` postorius, v2 Hartmut Goebel
@ 2017-02-02 11:51     ` Hartmut Goebel
  2017-02-02 12:13       ` ng0
                         ` (2 more replies)
  7 siblings, 3 replies; 25+ messages in thread
From: Hartmut Goebel @ 2017-02-02 11:51 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1804 bytes --]

Hi,

I just found that I did not verify the inputs carefully enough. Sorry.
Here are my comments:

  * python-defusedxml: okay
  * python-openid: okay
  * python-django-allauth:
      o openid, request-oauthlib requests ought to be propagated inputs
      o mock is native, okay, but only required for the python2 variant
      o Why is django a native input? See below for discussion
  * python-django-gravatar2, may be okay, see below for discussion.
  *  python-django-mailman3
      o All "inputs" except django need to be propagated inputs.
      o Regarding django: see below
  * * postorius: okay (this is an application, so no propagated inputs
    are required)


And as we just learned about the licenses: python-django-mailman3 should
be gpl3+


I'm unsure about the correct handling of django in django-XXX. Can we
find rules for this to make future packager's life easier?

Should django be a "normal" input or a "native" one? What does this
depend on?


Clear is: django-XXX should not "propagate" django:

  * django is a framework, django-XXX is an extension for this framework.
  * If some application is using django-XXX, I'd expect it to have
    django specified as "input", too, since primary it is a django
    application. Maybe even djangoXXX is an optional component


Just for the records:

  * django-XXX should propagate other django extension it requires.
      o If some application is using django-XXX, if should not care
        about other django extensions django-XXX requires. This is the
        same like as it does not have to care about other python
        packages django-XXX requires.


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: 0xBF773B65.asc --]
[-- Type: application/pgp-keys, Size: 14855 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: postorius, v2
  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
  2 siblings, 0 replies; 25+ messages in thread
From: ng0 @ 2017-02-02 12:13 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: guix-devel


Hartmut Goebel writes:

> Hi,
>
> I just found that I did not verify the inputs carefully enough. Sorry.
> Here are my comments:

No problem. Thanks for checking again, I have no previous
experience with django.

>   * python-defusedxml: okay
>   * python-openid: okay
>   * python-django-allauth:
>       o openid, request-oauthlib requests ought to be propagated inputs
>       o mock is native, okay, but only required for the python2 variant
>       o Why is django a native input? See below for discussion
>   * python-django-gravatar2, may be okay, see below for discussion.
>   *  python-django-mailman3
>       o All "inputs" except django need to be propagated inputs.
>       o Regarding django: see below
>   * * postorius: okay (this is an application, so no propagated inputs
>     are required)
>
>
> And as we just learned about the licenses: python-django-mailman3 should
> be gpl3+

Ok.

>
> I'm unsure about the correct handling of django in django-XXX. Can we
> find rules for this to make future packager's life easier?
>
> Should django be a "normal" input or a "native" one? What does this
> depend on?
>
>
> Clear is: django-XXX should not "propagate" django:
>
>   * django is a framework, django-XXX is an extension for this framework.
>   * If some application is using django-XXX, I'd expect it to have
>     django specified as "input", too, since primary it is a django
>     application. Maybe even djangoXXX is an optional component
>
>
> Just for the records:
>
>   * django-XXX should propagate other django extension it requires.
>       o If some application is using django-XXX, if should not care
>         about other django extensions django-XXX requires. This is the
>         same like as it does not have to care about other python
>         packages django-XXX requires.

I'm waiting for further input on the django-XXX issue, then I
will rebase and send updated patches.
This will be important for the next step, hyperkitty, too.

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Python packaging rules again (was: postorius, v2)
  2017-02-02 11:51     ` Hartmut Goebel
  2017-02-02 12:13       ` ng0
@ 2017-02-02 12:28       ` Hartmut Goebel
  2017-02-02 21:28       ` postorius, v2 ng0
  2 siblings, 0 replies; 25+ messages in thread
From: Hartmut Goebel @ 2017-02-02 12:28 UTC (permalink / raw)
  To: guix-devel

Hi,

I'm reposting this with a different subject, since this question is not
only related to postorius:

What do others think about the central question:

Should django be a "normal" input or a "native" one? What does this
depend on? What are the rules for?



> I'm unsure about the correct handling of django in django-XXX. Can we
> find rules for this to make future packager's life easier?
>
> Should django be a "normal" input or a "native" one? What does this
> depend on?
>
>
> Clear is: django-XXX should not "propagate" django:
>
>   * django is a framework, django-XXX is an extension for this framework.
>   * If some application is using django-XXX, I'd expect it to have
>     django specified as "input", too, since primary it is a django
>     application. Maybe even djangoXXX is an optional component
>
>
> Just for the records:
>
>   * django-XXX should propagate other django extension it requires.
>       o If some application is using django-XXX, if should not care
>         about other django extensions django-XXX requires. This is the
>         same like as it does not have to care about other python
>         packages django-XXX requires.


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: postorius, v2
  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       ` ng0
  2017-02-05  1:28         ` ng0
  2 siblings, 1 reply; 25+ messages in thread
From: ng0 @ 2017-02-02 21:28 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: guix-devel


Hartmut Goebel writes:

> Hi,
>
> I just found that I did not verify the inputs carefully enough. Sorry.
> Here are my comments:
>
>   * python-defusedxml: okay
>   * python-openid: okay
>   * python-django-allauth:
>       o openid, request-oauthlib requests ought to be propagated inputs
>       o mock is native, okay, but only required for the python2 variant
>       o Why is django a native input? See below for discussion
>   * python-django-gravatar2, may be okay, see below for discussion.
>   *  python-django-mailman3
>       o All "inputs" except django need to be propagated inputs.
>       o Regarding django: see below
>   * * postorius: okay (this is an application, so no propagated inputs
>     are required)
>
>
> And as we just learned about the licenses: python-django-mailman3 should
> be gpl3+
>
>
> I'm unsure about the correct handling of django in django-XXX. Can we
> find rules for this to make future packager's life easier?
>
> Should django be a "normal" input or a "native" one? What does this
> depend on?
>

For now I will go with (input) and not (native-input). If that's
not okay, we can still fix it afterwards?
I will send the new patchseries tomorrow.

Thanks!

> Clear is: django-XXX should not "propagate" django:
>
>   * django is a framework, django-XXX is an extension for this framework.
>   * If some application is using django-XXX, I'd expect it to have
>     django specified as "input", too, since primary it is a django
>     application. Maybe even djangoXXX is an optional component
>
>
> Just for the records:
>
>   * django-XXX should propagate other django extension it requires.
>       o If some application is using django-XXX, if should not care
>         about other django extensions django-XXX requires. This is the
>         same like as it does not have to care about other python
>         packages django-XXX requires.


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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: postorius, v2
  2017-02-02 21:28       ` postorius, v2 ng0
@ 2017-02-05  1:28         ` ng0
  0 siblings, 0 replies; 25+ messages in thread
From: ng0 @ 2017-02-05  1:28 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: guix-devel

On 17-02-02 21:28:29, ng0 wrote:
> 
> Hartmut Goebel writes:
> 
> > Hi,
> >
> > I just found that I did not verify the inputs carefully enough. Sorry.
> > Here are my comments:
> >
> >   * python-defusedxml: okay
> >   * python-openid: okay
> >   * python-django-allauth:
> >       o openid, request-oauthlib requests ought to be propagated inputs
> >       o mock is native, okay, but only required for the python2 variant
> >       o Why is django a native input? See below for discussion
> >   * python-django-gravatar2, may be okay, see below for discussion.
> >   *  python-django-mailman3
> >       o All "inputs" except django need to be propagated inputs.
> >       o Regarding django: see below
> >   * * postorius: okay (this is an application, so no propagated inputs
> >     are required)
> >
> >
> > And as we just learned about the licenses: python-django-mailman3 should
> > be gpl3+
> >
> >
> > I'm unsure about the correct handling of django in django-XXX. Can we
> > find rules for this to make future packager's life easier?
> >
> > Should django be a "normal" input or a "native" one? What does this
> > depend on?
> >
> 
> For now I will go with (input) and not (native-input). If that's
> not okay, we can still fix it afterwards?
> I will send the new patchseries tomorrow.
> 
> Thanks!

I will send the rebased series tomorrow afternoon. I will not be in the
position to answer very much next week, so if no one else replies to the
django issue, you could decide on what's the best approach practically.
Changes to individual packages can still be applied afterwards.

> > Clear is: django-XXX should not "propagate" django:
> >
> >   * django is a framework, django-XXX is an extension for this framework.
> >   * If some application is using django-XXX, I'd expect it to have
> >     django specified as "input", too, since primary it is a django
> >     application. Maybe even djangoXXX is an optional component
> >
> >
> > Just for the records:
> >
> >   * django-XXX should propagate other django extension it requires.
> >       o If some application is using django-XXX, if should not care
> >         about other django extensions django-XXX requires. This is the
> >         same like as it does not have to care about other python
> >         packages django-XXX requires.
> 
> 
> -- 
> ng0 . https://www.inventati.org/patternsinthechaos/
> 

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2017-02-05  1:26 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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     ` [PATCH 5/6] gnu: Add python-django-mailman3 contact.ng0
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).