aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-07-21 15:13:10 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-07-21 15:30:09 +0300
commitf1742465991c24c799569145191077b256e8647e (patch)
tree3143c7920fd1e2d9a129b6930b2a8885d872a87c
parentba7816a2cec8280d9fb53b7b7d98f352ca4414c7 (diff)
downloadguix-f1742465991c24c799569145191077b256e8647e.tar
guix-f1742465991c24c799569145191077b256e8647e.tar.gz
gnu: python-mailmanclient: Update to 3.3.1.
* gnu/packages/mail.scm (python-mailmanclient): Update to 3.3.1. [home-page]: Update to new home-page url. [properties]: Add python2- variant.
-rw-r--r--gnu/packages/mail.scm32
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index e735c84633..051502b885 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2468,29 +2468,49 @@ for OpenSMTPD to extend its functionality.")
(define-public python-mailmanclient
(package
(name "python-mailmanclient")
- (version "3.1.1")
+ (version "3.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mailmanclient" version))
(sha256
(base32
- "0fdfs5g3pf30v2i7w18pdkv9xnfxmfcv66mzv56dck0a1igq07m3"))))
+ "0pjgzpvhdb6ql8asb20xr8d01m646zpghmcp9fmscks0n1k4di4g"))))
(build-system python-build-system)
(arguments
`(#:tests? #f)) ; Requires mailman running
(propagated-inputs
- `(("python-six" ,python-six)
- ("python-httplib2" ,python-httplib2)))
- (home-page "https://launchpad.net/mailman.client")
+ `(("python-requests" ,python-requests)))
+ ;(native-inputs
+ ; `(("mailman" ,mailman)
+ ; ("python-falcon" ,python-falcon)
+ ; ("python-pytest" ,python-pytest)
+ ; ("python-pytest-services" ,python-pytest-services)))
+ (home-page "https://www.list.org/")
(synopsis "Python bindings for the Mailman 3 REST API")
(description
"The mailmanclient library provides official Python bindings for
the GNU Mailman 3 REST API.")
+ (properties `((python2-variant . ,(delay python2-mailmanclient))))
(license license:lgpl3+)))
+;; This is the last version which supports Python-2.
(define-public python2-mailmanclient
- (package-with-python2 python-mailmanclient))
+ (let ((base (package-with-python2
+ (strip-python2-variant python-mailmanclient))))
+ (package
+ (inherit base)
+ (version "3.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mailmanclient" version))
+ (sha256
+ (base32
+ "0fdfs5g3pf30v2i7w18pdkv9xnfxmfcv66mzv56dck0a1igq07m3"))))
+ (propagated-inputs
+ `(("python2-six" ,python2-six)
+ ("python2-httplib2" ,python2-httplib2))))))
(define-public mlmmj
(package