* [PATCH 01/10] gnu: Add python-chai and python2-chai.
@ 2016-06-23 15:17 宋文武
2016-06-25 17:58 ` Leo Famulari
0 siblings, 1 reply; 2+ messages in thread
From: 宋文武 @ 2016-06-23 15:17 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/python.scm (python-chai, python2-chai): New variables.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8c34ff2..0c9bd22 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
+;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9291,3 +9292,27 @@ It supports both the original 1.0 specification, as well as the
new (proposed) 2.0 spec, which includes batch submission, keyword arguments,
etc.")
(license asl2.0)))
+
+(define-public python-chai
+ (package
+ (name "python-chai")
+ (version "1.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "chai" version))
+ (sha256
+ (base32
+ "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/agoragames/chai")
+ (synopsis "Mocking framework for Python")
+ (description
+ "Chai provides an api for mocking, stubbing and spying your python
+objects, patterned after the Mocha library for Ruby.")
+ (license bsd-3)))
+
+(define-public python2-chai
+ (package-with-python2 python-chai))
+
--
2.8.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 01/10] gnu: Add python-chai and python2-chai.
2016-06-23 15:17 [PATCH 01/10] gnu: Add python-chai and python2-chai 宋文武
@ 2016-06-25 17:58 ` Leo Famulari
0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2016-06-25 17:58 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
On Thu, Jun 23, 2016 at 11:17:42PM +0800, 宋文武 wrote:
> * gnu/packages/python.scm (python-chai, python2-chai): New variables.
> ---
> gnu/packages/python.scm | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 8c34ff2..0c9bd22 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -21,6 +21,7 @@
> ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
> ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
> +;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -9291,3 +9292,27 @@ It supports both the original 1.0 specification, as well as the
> new (proposed) 2.0 spec, which includes batch submission, keyword arguments,
> etc.")
> (license asl2.0)))
> +
> +(define-public python-chai
> + (package
> + (name "python-chai")
> + (version "1.1.1")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "chai" version))
> + (sha256
> + (base32
> + "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl"))))
> + (build-system python-build-system)
> + (native-inputs
> + `(("python-setuptools" ,python-setuptools)))
> + (home-page "https://github.com/agoragames/chai")
> + (synopsis "Mocking framework for Python")
> + (description
> + "Chai provides an api for mocking, stubbing and spying your python
> +objects, patterned after the Mocha library for Ruby.")
How about "and spying on your Python objects"? I've never seen "spying"
used without "spying on".
> + (license bsd-3)))
> +
> +(define-public python2-chai
> + (package-with-python2 python-chai))
> +
> --
> 2.8.4
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-25 17:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23 15:17 [PATCH 01/10] gnu: Add python-chai and python2-chai 宋文武
2016-06-25 17:58 ` Leo Famulari
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).