[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/20] gnu: Add python-sure
From: |
Muriithi Frederick Muriuki |
Subject: |
[PATCH 08/20] gnu: Add python-sure |
Date: |
Fri, 14 Apr 2017 13:13:08 +0300 |
* gnu/package/python.scm (python-sure): New variable.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9cb27d8..951b7c7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14149,3 +14149,33 @@ scenarios")
(define-public python2-urllib3-1.12
(package-with-python2 python-urllib3-1.12))
+
+(define-public python-sure
+ (package
+ ;; httpretty has a hard requirement for sure==1.2.24
+ (name "python-sure")
+ (version "1.2.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sure" version))
+ (sha256
+ (base32
+ "1lyjq0rvkbv585dppjdq90lbkm6gyvag3wgrggjzyh7cpyh5c12w"))))
+ (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)))
+
+(define-public python2-sure
+ (package-with-python2 python-sure))
--
2.10.2
- [PATCH 02/20] gnu: Add python-httpbin, (continued)
- [PATCH 06/20] gnu: Add python-coverage-4.0.3, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 07/20] gnu: Add python-urllib3-1.12, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 08/20] gnu: Add python-sure,
Muriithi Frederick Muriuki <=
- [PATCH 09/20] gnu: Add python-couleur, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 10/20] gnu: Add python-misaka, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 11/20] gnu: Add python-steadymark, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 12/20] gnu: Add python-requests-2.8.1, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 13/20] gnu: Add python-rednose-0.4.3, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 14/20] gnu: Add python-nose-randomly, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 15/20] gnu: Add python-pbr-2.0.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 16/20] gnu: Add python-mock-1.3.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 17/20] gnu: Add python-httpretty, Muriithi Frederick Muriuki, 2017/04/14