all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#28364] [PATCH] gnu: Add python-betamax-matchers.
@ 2017-09-06  8:18 Oleg Pykhalov
  2017-09-08 16:14 ` bug#28364: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Pykhalov @ 2017-09-06  8:18 UTC (permalink / raw)
  To: 28364

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH] gnu: Add python-betamax-matchers. --]
[-- Type: text/x-patch, Size: 1647 bytes --]

From 77ab5817e700319114c9b472229844c6388fdce4 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Wed, 6 Sep 2017 10:01:23 +0300
Subject: [PATCH] gnu: Add python-betamax-matchers.

* gnu/packages/python.scm (python-betamax-matchers, python2-betamax-matchers):
  New variables.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 346faf434..4c19d7e66 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13169,6 +13169,30 @@ replay them during future tests.  It is designed to work with python-requests.")
 (define-public python2-betamax
   (package-with-python2 python-betamax))
 
+(define-public python-betamax-matchers
+  (package
+    (name "python-betamax-matchers")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "betamax-matchers" version))
+       (sha256
+        (base32
+         "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-betamax" ,python-betamax)
+       ("python-requests-toolbelt" ,python-requests-toolbelt)))
+    (home-page "https://github.com/sigmavirus24/betamax_matchers")
+    (synopsis "VCR imitation for python-requests")
+    (description "@code{betamax-matchers} provides a set of Matchers for
+Betamax.")
+    (license license:asl2.0)))
+
+(define-public python2-betamax-matchers
+  (package-with-python2 python-betamax-matchers))
+
 (define-public python-s3transfer
   (package
     (name "python-s3transfer")
-- 
2.14.1

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

* bug#28364: [PATCH] gnu: Add python-betamax-matchers.
  2017-09-06  8:18 [bug#28364] [PATCH] gnu: Add python-betamax-matchers Oleg Pykhalov
@ 2017-09-08 16:14 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-09-08 16:14 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 28364-done

Oleg Pykhalov <go.wigust@gmail.com> skribis:

>>From 77ab5817e700319114c9b472229844c6388fdce4 Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust@gmail.com>
> Date: Wed, 6 Sep 2017 10:01:23 +0300
> Subject: [PATCH] gnu: Add python-betamax-matchers.
>
> * gnu/packages/python.scm (python-betamax-matchers, python2-betamax-matchers):
>   New variables.

Applied!

> +    (home-page "https://github.com/sigmavirus24/betamax_matchers")
> +    (synopsis "VCR imitation for python-requests")
> +    (description "@code{betamax-matchers} provides a set of Matchers for
> +Betamax.")

Not very useful though…  :-)

Thanks,
Ludo’.

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

end of thread, other threads:[~2017-09-08 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-06  8:18 [bug#28364] [PATCH] gnu: Add python-betamax-matchers Oleg Pykhalov
2017-09-08 16:14 ` bug#28364: " Ludovic Courtès

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.