[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/36: gnu: Add python-factory-boy.
From: |
julien lepiller |
Subject: |
17/36: gnu: Add python-factory-boy. |
Date: |
Thu, 11 May 2017 16:01:28 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 54153b85c7d7cc8671f06d973a6791a150063163
Author: Julien Lepiller <address@hidden>
Date: Sat Apr 22 22:32:33 2017 +0200
gnu: Add python-factory-boy.
* gnu/packages/python.scm (python-factory-boy, python2-factory-boy): 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 c09242c..3daf5c4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14461,3 +14461,35 @@ efficient, unlike some Python versions of the same
algorithms available on the
Web. This package is an extraction of the stemming code included in the Whoosh
search engine.")
(license license:public-domain)))
+
+(define-public python-factory-boy
+ (package
+ (name "python-factory-boy")
+ (version "2.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "factory_boy" version))
+ (sha256
+ (base32 "1fvin6san5xsjh2c4y18caj2lnmwxlylyqm8mh1yc6rp38wlwr56"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests are not included in the tarball.
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("faker" ,python-faker)))
+ (home-page "https://github.com/benhoyt/scandir")
+ (synopsis "Versatile test fixtures replacement")
+ (description
+ "Factory_boy is a fixtures replacement based on thoughtbot’s factory_girl.
+
+As a fixtures replacement tool, it aims to replace static, hard to maintain
+fixtures with easy-to-use factories for complex object.
+
+Instead of building an exhaustive test setup with every possible combination
+of corner cases, factory_boy allows you to use objects customized for the
+current test, while only declaring the test-specific fields")
+ (license license:expat)))
+
+(define-public python2-factory-boy
+ (package-with-python2 python-factory-boy))
- 08/36: gnu: Add python-cssmin., (continued)
- 08/36: gnu: Add python-cssmin., julien lepiller, 2017/05/11
- 07/36: gnu: python-rq: Update to 0.7.1., julien lepiller, 2017/05/11
- 06/36: gnu: Add python-sphinx-me., julien lepiller, 2017/05/11
- 16/36: gnu: Add python2-stemming., julien lepiller, 2017/05/11
- 05/36: gnu: Add python-webassets., julien lepiller, 2017/05/11
- 09/36: gnu: Add python-diff-match-patch., julien lepiller, 2017/05/11
- 13/36: gnu: python-dateutil: Update to 2.6.0., julien lepiller, 2017/05/11
- 12/36: gnu: Add python-elasticsearch., julien lepiller, 2017/05/11
- 14/36: gnu: Add python-levenshtein., julien lepiller, 2017/05/11
- 15/36: gnu: Add python-scandir., julien lepiller, 2017/05/11
- 17/36: gnu: Add python-factory-boy.,
julien lepiller <=
- 18/36: gnu: Add python-translate-toolkit., julien lepiller, 2017/05/11
- 22/36: gnu: Add python-dj-database-url., julien lepiller, 2017/05/11
- 27/36: gnu: Add python-hiredis., julien lepiller, 2017/05/11
- 31/36: gnu: Add python-django-sortedm2m., julien lepiller, 2017/05/11
- 33/36: gnu: Add python-django-statici18n., julien lepiller, 2017/05/11
- 34/36: gnu: python-pytest-django: Update to 3.1.2., julien lepiller, 2017/05/11
- 21/36: gnu: Add python-django-jsonfield., julien lepiller, 2017/05/11
- 23/36: gnu: Add python-django-bulk-update., julien lepiller, 2017/05/11
- 11/36: gnu: Add python-nosexcover., julien lepiller, 2017/05/11
- 25/36: gnu: Add python-django-contrib-comments., julien lepiller, 2017/05/11