[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/17] gnu: Add python-pytest-localserver.
From: |
Leo Famulari |
Subject: |
[PATCH 08/17] gnu: Add python-pytest-localserver. |
Date: |
Sun, 3 Jan 2016 19:05:06 -0500 |
* gnu/packages/python.scm (python-pytest-localserver): New variable.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2cfdcaf..0dfebf2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6762,3 +6762,35 @@ 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 (string-append "https://pypi.python.org/packages/source/p"
+ "/pytest-localserver/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)))
--
2.6.4
- [PATCH 00/17] Add CalDAV and CardDAV programs, Leo Famulari, 2016/01/03
- [PATCH 09/17] gnu: Add python-wsgi-intercept., Leo Famulari, 2016/01/03
- [PATCH 07/17] gnu: Add python-pytest-cache., Leo Famulari, 2016/01/03
- [PATCH 02/17] gnu: Add python-requests-toolbelt., Leo Famulari, 2016/01/03
- [PATCH 08/17] gnu: Add python-pytest-localserver.,
Leo Famulari <=
- [PATCH 06/17] gnu: Add python-execnet., Leo Famulari, 2016/01/03
- [PATCH 04/17] gnu: Add python-click-log., Leo Famulari, 2016/01/03
- [PATCH 13/17] gnu: Add python-icalendar., Leo Famulari, 2016/01/03
- [PATCH 15/17] gnu: Update python-tzlocal to 1.2., Leo Famulari, 2016/01/03