all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26524: [PATCH 2/4] gnu: Add python-httpbin
       [not found] <20170507022943.20427-1-fredmanglis@gmail.com>
@ 2017-05-07  2:29 ` Muriithi Frederick Muriuki
  2017-05-07 19:23   ` Leo Famulari
  2017-05-07  2:29 ` bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
  2017-05-07  2:29 ` bug#26524: [PATCH 4/4] gnu: Add python-sure Muriithi Frederick Muriuki
  2 siblings, 1 reply; 6+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-05-07  2:29 UTC (permalink / raw)
  To: 26524

* gnu/packages/web.scm (python-httpbin): New variable.
---
 gnu/packages/web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 9c2074d..b975b18 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4491,3 +4491,29 @@ functions of Tidy.")
 Features include the ability to stop SQL injections, XSS and CSRF attacks and
 exploit attempts.")
     (license l:gpl2)))
+
+(define-public python-httpbin
+  (package
+    (name "python-httpbin")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "httpbin" version))
+       (sha256
+        (base32
+         "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-decorator" ,python-decorator)
+       ("python-flask" ,python-flask)
+       ("python-itsdangerous" ,python-itsdangerous)
+       ("python-markupsafe" ,python-markupsafe)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/Runscope/httpbin")
+    (synopsis "HTTP request and response service")
+    (description "Testing an HTTP Library can become difficult sometimes.
+@code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
+response.  This exists to cover all kinds of HTTP scenarios.  All endpoint responses are
+JSON-encoded.")
+    (license l:isc)))
-- 
2.10.2

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

* bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin
       [not found] <20170507022943.20427-1-fredmanglis@gmail.com>
  2017-05-07  2:29 ` bug#26524: [PATCH 2/4] gnu: Add python-httpbin Muriithi Frederick Muriuki
@ 2017-05-07  2:29 ` Muriithi Frederick Muriuki
  2017-05-07 19:24   ` Leo Famulari
  2017-05-07  2:29 ` bug#26524: [PATCH 4/4] gnu: Add python-sure Muriithi Frederick Muriuki
  2 siblings, 1 reply; 6+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-05-07  2:29 UTC (permalink / raw)
  To: 26524

* gnu/packages/python.scm (python-pytest-httpbin): New variable.
---
 gnu/packages/web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b975b18..a8e5463 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4517,3 +4517,29 @@ exploit attempts.")
 response.  This exists to cover all kinds of HTTP scenarios.  All endpoint responses are
 JSON-encoded.")
     (license l:isc)))
+
+(define-public python-pytest-httpbin
+  (package
+    (name "python-pytest-httpbin")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-httpbin" version))
+       (sha256
+        (base32
+         "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-six" ,python-six)
+       ("python-httpbin" ,python-httpbin)
+       ("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/kevin1024/pytest-httpbin")
+    (synopsis
+     "Test your HTTP library against a local copy of httpbin")
+    (description
+     "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
+into your tests.  It automatically starts up a HTTP server in a separate thread running
+@code{httpbin} and provides your test with the URL in the fixture.")
+    (license l:expat)))
-- 
2.10.2

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

* bug#26524: [PATCH 4/4] gnu: Add python-sure
       [not found] <20170507022943.20427-1-fredmanglis@gmail.com>
  2017-05-07  2:29 ` bug#26524: [PATCH 2/4] gnu: Add python-httpbin Muriithi Frederick Muriuki
  2017-05-07  2:29 ` bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
@ 2017-05-07  2:29 ` Muriithi Frederick Muriuki
  2017-05-07 19:15   ` Leo Famulari
  2 siblings, 1 reply; 6+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-05-07  2:29 UTC (permalink / raw)
  To: 26524

* gnu/packages/python.scm (python-sure): New variable.
---
 gnu/packages/python.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3ae51f0..367e494 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14173,4 +14173,30 @@ for Flask.")
 @item Halstead metrics (all of them)
 @item the Maintainability Index (a Visual Studio metric)
 @end itemize")
-(license license:expat)))
+    (license license:expat)))
+
+(define-public python-sure
+  (package
+    (name "python-sure")
+    (version "1.4.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sure" version))
+       (sha256
+        (base32
+         "1hiyqnrwwghbjikzkvvdb2rhxnck8dvpjy1lq41fb1xwfzips71r"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-mock" ,python-mock)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page
+     "http://github.com/gabrielfalcao/sure")
+    (synopsis
+     "Sure is an automated testing library in python for python")
+    (description
+     "Sure is a python library for python that leverages a DSL for writing assertions.
+Sure is heavily inspired by @code{RSpec Expectations} and @code{should.js}")
+    (license license:gpl3)))
-- 
2.10.2

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

* bug#26524: [PATCH 4/4] gnu: Add python-sure
  2017-05-07  2:29 ` bug#26524: [PATCH 4/4] gnu: Add python-sure Muriithi Frederick Muriuki
@ 2017-05-07 19:15   ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2017-05-07 19:15 UTC (permalink / raw)
  To: Muriithi Frederick Muriuki; +Cc: 26524

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

On Sun, May 07, 2017 at 05:29:43AM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-sure): New variable.

This patch can't be applied on the master branch.

> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -14173,4 +14173,30 @@ for Flask.")
>  @item Halstead metrics (all of them)
>  @item the Maintainability Index (a Visual Studio metric)
>  @end itemize")
> -(license license:expat)))
> +    (license license:expat)))

This context doesn't exist in the git repo...

> +(define-public python-sure

Also, if this package works with python-2, can you also add
python2-sure?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#26524: [PATCH 2/4] gnu: Add python-httpbin
  2017-05-07  2:29 ` bug#26524: [PATCH 2/4] gnu: Add python-httpbin Muriithi Frederick Muriuki
@ 2017-05-07 19:23   ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2017-05-07 19:23 UTC (permalink / raw)
  To: Muriithi Frederick Muriuki; +Cc: 26524-done

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

On Sun, May 07, 2017 at 05:29:41AM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/web.scm (python-httpbin): New variable.

Thanks! I added python2-httpbin and pushed as
ce949c10e50da6b385938c929c257c5ca421d651.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin
  2017-05-07  2:29 ` bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
@ 2017-05-07 19:24   ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2017-05-07 19:24 UTC (permalink / raw)
  To: Muriithi Frederick Muriuki; +Cc: 26524-done

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

On Sun, May 07, 2017 at 05:29:42AM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-pytest-httpbin): New variable.

Thanks! I added python2-pytest-httpbin and pushed as
86ab11205ed2b5c925ed9c8328736a433b0d933c.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-05-07 19:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170507022943.20427-1-fredmanglis@gmail.com>
2017-05-07  2:29 ` bug#26524: [PATCH 2/4] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-05-07 19:23   ` Leo Famulari
2017-05-07  2:29 ` bug#26524: [PATCH 3/4] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-05-07 19:24   ` Leo Famulari
2017-05-07  2:29 ` bug#26524: [PATCH 4/4] gnu: Add python-sure Muriithi Frederick Muriuki
2017-05-07 19:15   ` 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.