* bug#26744: [PATCH] gnu: Add python-mwclient.
@ 2017-05-02 8:18 Danny Milosavljevic
2017-05-02 14:43 ` Leo Famulari
0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2017-05-02 8:18 UTC (permalink / raw)
To: 26744
* gnu/packages/python.scm (python-mwclient, python2-mwclient): New variables.
---
gnu/packages/python.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5df679935..407a2c3a3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14106,3 +14106,37 @@ library for Python")
(description "@code{python-flask-oidc} provides an OpenID Connect extension
for Flask.")
(license license:bsd-2)))
+
+(define-public python-mwclient
+ (package
+ (name "python-mwclient")
+ (version "0.8.4")
+ (source
+ (origin
+ (method url-fetch)
+ ;; The PyPI version wouldn't contain tests.
+ (uri (string-append "https://github.com/mwclient/mwclient/archive/"
+ "v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jj0yhilkjir00719fc7w133x7hdyhkxhk6xblla4asig45klsfv"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-requests" ,python-requests)
+ ("python-requests-oauthlib"
+ ,python-requests-oauthlib)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-pep8" ,python-pytest-pep8)
+ ("python-pytest-cache" ,python-pytest-cache)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-responses" ,python-responses)))
+ (home-page "https://github.com/btongminh/mwclient")
+ (synopsis "MediaWiki API client")
+ (description "This package provides a MediaWiki API client.")
+ (license license:expat)))
+
+(define-public python2-mwclient
+ (package-with-python2 python-mwclient))
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#26744: [PATCH] gnu: Add python-mwclient.
2017-05-02 8:18 bug#26744: [PATCH] gnu: Add python-mwclient Danny Milosavljevic
@ 2017-05-02 14:43 ` Leo Famulari
0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2017-05-02 14:43 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 26744
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
On Tue, May 02, 2017 at 10:18:49AM +0200, Danny Milosavljevic wrote:
> * gnu/packages/python.scm (python-mwclient, python2-mwclient): New variables.
LGTM, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-02 14:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-02 8:18 bug#26744: [PATCH] gnu: Add python-mwclient Danny Milosavljevic
2017-05-02 14:43 ` Leo Famulari
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.