summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-09-05 08:37:57 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-09-05 23:31:20 -0400
commitc15a5c0eaca0310e54a1352da5a65cc8df76c084 (patch)
treeb439d49f5906e093e0494f0861cea2550a1aa45e /gnu/packages/python.scm
parent56ea0efd72b82d82f48942c30fce8d74f808513a (diff)
downloadpatches-c15a5c0eaca0310e54a1352da5a65cc8df76c084.tar
patches-c15a5c0eaca0310e54a1352da5a65cc8df76c084.tar.gz
gnu: Add python-extras.
* gnu/packages/python.scm (python-extras, python2-extras): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 55e8469a63..7048b5babc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -939,6 +939,34 @@ In short, SCons is an easier, more reliable and faster way to build
software.")
(license x11)))
+(define-public python-extras
+ (package
+ (name "python-extras")
+ (version "0.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/e/extras/extras-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (arguments
+ ;; error in setup.cfg: command 'test' has no such option 'buffer'
+ '(#:tests? #f))
+ (home-page "https://github.com/testing-cabal/extras")
+ (synopsis "Useful extensions to the Python standard library")
+ (description
+ "Extras is a set of extensions to the Python standard library.")
+ (license expat)))
+
+(define-public python2-extras
+ (package-with-python2 python-extras))
+
(define-public python-mimeparse
(package
(name "python-mimeparse")