* bug#26906: [PATCH] gnu: Add python-behave-web-api.
@ 2017-05-13 8:52 Danny Milosavljevic
2017-05-13 9:15 ` bug#26906: python-behave-web-api depends on fixed python-parse-type (bug#26900) Danny Milosavljevic
0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2017-05-13 8:52 UTC (permalink / raw)
To: 26906
* gnu/packages/python.scm (python-behave-web-api, python2-behave-web-api):
New variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dc7adf24e..b6ccd2e95 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14621,3 +14621,35 @@ substitute for redis.")
(define-public python2-fakeredis
(package-with-python2 python-fakeredis))
+
+(define-public python-behave-web-api
+ (package
+ (name "python-behave-web-api")
+ (version "1.0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "behave-web-api" version))
+ (sha256
+ (base32
+ "03kpq2xsy1gab3jy0dccbxlsg7vwfy4lagss0qldwmx3xz6b3i19"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-dependencies
+ (lambda _
+ (substitute* "setup.py"
+ (("'wheel'") "") ; We don't use it.
+ (("'ordereddict==1.1'") ""))))))) ; Python >= 2.7 has it built-in.
+ (propagated-inputs
+ `(("behave" ,behave)
+ ("python-requests" ,python-requests)))
+ (home-page "https://github.com/jefersondaniel/behave-web-api")
+ (synopsis "Provides testing for JSON APIs with Behave for Python")
+ (description "This package provides testing utility modules for testing
+JSON APIs with Behave.")
+ (license license:expat)))
+
+(define-public python2-behave-web-api
+ (package-with-python2 python-behave-web-api))
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-13 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-13 8:52 bug#26906: [PATCH] gnu: Add python-behave-web-api Danny Milosavljevic
2017-05-13 9:15 ` bug#26906: python-behave-web-api depends on fixed python-parse-type (bug#26900) Danny Milosavljevic
2017-05-13 14:34 ` Marius Bakke
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.