From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] mailmanclient Date: Wed, 28 Sep 2016 17:11:36 +0000 Message-ID: <87fuokar07.fsf@we.make.ritual.n0.is> References: <87intgaren.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpIOo-0003Wf-Hk for guix-devel@gnu.org; Wed, 28 Sep 2016 13:12:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpIOj-000661-92 for guix-devel@gnu.org; Wed, 28 Sep 2016 13:12:01 -0400 Received: from aibo.runbox.com ([91.220.196.211]:40039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpIOj-00065B-1m for guix-devel@gnu.org; Wed, 28 Sep 2016 13:11:57 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bpIOf-0003Za-Hu for guix-devel@gnu.org; Wed, 28 Sep 2016 19:11:53 +0200 Received: from x5d83e56d.dyn.telefonica.de ([93.131.229.109] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bpIOP-00050E-O0 for guix-devel@gnu.org; Wed, 28 Sep 2016 19:11:37 +0200 In-Reply-To: <87intgaren.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org ng0 writes: > [ Unknown signature status ] > A start for someone who wants to work on packaging mailman3, you need > this and afterwards django-mailman3, then comes hyperkitty, and > afterwards mailman3 itself I think. > Added python2 variant because mailman3 has some mixture in the > dependency chain going on. > > From bdcb5e7e77bd3e215016b3d9fde5094d618e64b9 Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Wed, 28 Sep 2016 16:58:29 +0000 > Subject: [PATCH] gnu: Add python-mailmanclient. > > * gnu/packages/mail.scm (python-mailmanclient): New variable. > --- > gnu/packages/mail.scm | 32 +++++++++++++++++++++++++++++++- > 1 file changed, 31 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index 09c15e2..41e564a 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -15,7 +15,7 @@ > ;;; Copyright © 2016 Lukas Gradl > ;;; Copyright © 2016 Alex Kost > ;;; Copyright © 2016 Troy Sankey > -;;; Copyright © 2016 ng0 > +;;; Copyright © 2016 ng0 > ;;; Copyright © 2016 Clément Lassieur > ;;; Copyright © 2016 Arun Isaac > ;;; Copyright © 2016 John Darrington > @@ -1493,3 +1493,33 @@ transfer protocols.") > (license (non-copyleft "file://LICENSE" > "See LICENSE in the distribution.")))) > > +(define-public python-mailmanclient > + (package > + (name "python-mailmanclient") > + (version "1.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "mailmanclient" version)) > + (sha256 > + (base32 > + "1cfjh45fgbsax5hjj2inq9nk33dhdvh63xhysc8dhnqidgqgm8c5")))) > + (build-system python-build-system) > + (arguments > + `(#:tests? #f)) ; Requires mailman running > + (inputs > + `(("python-six" ,python-six) > + ("python-httplib2" ,python-httplib2))) > + (home-page "http://launchpad.net/mailman.client") > + (synopsis "Python bindings for the Mailman 3 REST API") > + (description > + "The mailmanclient library provides official Python bindings for ^___ Could the commiter remove this? Thanks. > +the GNU Mailman 3 REST API.") > + (license lgpl3+))) > + > +(define-public python2-mailmanclient > + (let ((base (package-with-python2 > + (strip-python2-variant python-mailmanclient)))) > + (package (inherit base) > + (native-inputs > + `(("python2-setuptools" ,python2-setuptools)))))) > -- > 2.10.0 > > -- > ng0 -- ng0