From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] mailmanclient Date: Wed, 28 Sep 2016 17:02:56 +0000 Message-ID: <87intgaren.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpIGF-0006gy-Ff for guix-devel@gnu.org; Wed, 28 Sep 2016 13:03:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpIGA-0003Oi-Bh for guix-devel@gnu.org; Wed, 28 Sep 2016 13:03:10 -0400 Received: from aibo.runbox.com ([91.220.196.211]:39128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpIGA-0003Nh-0c for guix-devel@gnu.org; Wed, 28 Sep 2016 13:03:06 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bpIG7-0004jF-Dy for guix-devel@gnu.org; Wed, 28 Sep 2016 19:03:03 +0200 Received: from x5d83e56d.dyn.telefonica.de ([93.131.229.109] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bpIG1-00024F-NW for guix-devel@gnu.org; Wed, 28 Sep 2016 19:02:57 +0200 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 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-python-mailmanclient.patch Content-Transfer-Encoding: quoted-printable From=20bdcb5e7e77bd3e215016b3d9fde5094d618e64b9 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. =2D-- 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 =2D-- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -15,7 +15,7 @@ ;;; Copyright =C2=A9 2016 Lukas Gradl ;;; Copyright =C2=A9 2016 Alex Kost ;;; Copyright =C2=A9 2016 Troy Sankey =2D;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2016 ng0 ;;; Copyright =C2=A9 2016 Cl=C3=A9ment Lassieur ;;; Copyright =C2=A9 2016 Arun Isaac ;;; Copyright =C2=A9 2016 John Darrington @@ -1493,3 +1493,33 @@ transfer protocols.") (license (non-copyleft "file://LICENSE" "See LICENSE in the distribution.")))) =20 +(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 +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)))))) =2D-=20 2.10.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 ng0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX6/fAAAoJEAKilhUMIBgjDzAP/Rm7LkEWjLA8ZsI5ZACX7PNN 8nYTFAFRB/x1NrST8H+CTrhTfVY7FP8KTbzyCAqw/Gzalzucf4Qb9+9jyPB3m23l li+MrhE1LaSl0ZXVCWwAOcoH6nIidh06vrK+BTXN+Db0JyQXTJ67yZ+XLBGjwp+r r+zAnmK2nM8x8AdhUJqhv2BsKEWVXAWQ02OZNodS22ME16qFx5W84nRY5FwS+dGq wMnPJgqm3NABEhkY3JXSWQqWW4ts/s0wfF0lNlrF7k4WYrlhEGah2g193AkhdxFp NH7B1X8+hZ7eLQ67SMKrw63rcTZpFtL/UOR7NWuyP0+ZlqzH1TYfJWlS8sTCtG/3 QgMn6zXWzZPc5+8ksyznpJ9C4B2UD0MbWCHHoGExmlMTAtAjU0of5H8bAKO/ycRt BHDKWrVCPM72StFYvYL0dT1lLqI++qidg/+p84X2sj9Wq1yrIlhHjLh2TSAAMDHS SUOnl9JabGuazVOLxjgib61vzPuZi4YG9Ef8xjYykObtR2mKkd3To8SIds86KIy4 5xBPNENFPhu8y4AifpckvEmnRsl4n7dKvxHWIY5Ar+AFsAOgILtIn2nRXMVzH7dz BXTSSlnhg2cKf3couiFFuqGj79C3uwOTN8FiHr+mUpD6zKDinnrtXnuXASfdVdeM mltKWKbFrQEBeB7LsSOl =z0jc -----END PGP SIGNATURE----- --==-=-=--