[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/17: gnu: Add python-pytest-localserver.
From: |
Leo Famulari |
Subject: |
08/17: gnu: Add python-pytest-localserver. |
Date: |
Fri, 15 Jan 2016 22:16:26 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit d7e729fe08284b15aee074eb61c964953c04d0a2
Author: Leo Famulari <address@hidden>
Date: Wed Dec 30 00:11:38 2015 -0500
gnu: Add python-pytest-localserver.
* gnu/packages/python.scm (python-pytest-localserver): New variable.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6d9289b..d45db21 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6850,3 +6850,33 @@ minimal and fast API targetting the following uses:
the last py.test invocation.")
(home-page "https://bitbucket.org/hpk42/pytest-cache/")
(license license:expat)))
+
+(define-public python-pytest-localserver
+ (package
+ (name "python-pytest-localserver")
+ (version "0.3.4")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-localserver" version ".zip"))
+ (sha256
+ (base32
+ "050q505a7gnsz7vqidw0w5dvxjb2flzi7z734agpjzmsl85c2bcx"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "py.test" "--genscript=runtests.py"))
+ (zero? (system* "py.test")))))))
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-requests" ,python-requests)
+ ("python-six" ,python-six)
+ ("python-werkzeug" ,python-werkzeug)))
+ (synopsis "Py.test plugin to test server connections locally")
+ (description "Pytest-localserver is a plugin for the pytest testing
+framework which enables you to test server connections locally.")
+ (home-page "https://pypi.python.org/pypi/pytest-localserver")
+ (license license:expat)))
- branch master updated (f5ca44b -> 78e6c4a), Leo Famulari, 2016/01/15
- 02/17: gnu: Add python-requests-toolbelt., Leo Famulari, 2016/01/15
- 01/17: gnu: Add python-atomicwrites., Leo Famulari, 2016/01/15
- 06/17: gnu: Add python-execnet., Leo Famulari, 2016/01/15
- 07/17: gnu: Add python-pytest-cache., Leo Famulari, 2016/01/15
- 03/17: gnu: Add python-click-threading., Leo Famulari, 2016/01/15
- 05/17: gnu: Add python-apipkg., Leo Famulari, 2016/01/15
- 04/17: gnu: Add python-click-log., Leo Famulari, 2016/01/15
- 08/17: gnu: Add python-pytest-localserver.,
Leo Famulari <=
- 10/17: gnu: Add python-pytest-xprocess., Leo Famulari, 2016/01/15
- 09/17: gnu: Add python-wsgi-intercept., Leo Famulari, 2016/01/15
- 13/17: gnu: Add python-icalendar., Leo Famulari, 2016/01/15
- 11/17: gnu: Add radicale., Leo Famulari, 2016/01/15
- 14/17: gnu: Add python-sphinxcontrib-newsfeed., Leo Famulari, 2016/01/15
- 12/17: gnu: Add vdirsyncer., Leo Famulari, 2016/01/15
- 16/17: gnu: python-urwid: Disable failing test test_remove_watch_file., Leo Famulari, 2016/01/15
- 15/17: gnu: Update python-tzlocal to 1.2., Leo Famulari, 2016/01/15
- 17/17: gnu: Add khal., Leo Famulari, 2016/01/15