[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/11: gnu: Add python-sh.
From: |
David Craven |
Subject: |
06/11: gnu: Add python-sh. |
Date: |
Sun, 28 Aug 2016 12:20:28 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 6a6c9d433263fe353632e43961b709084ab1852f
Author: David Craven <address@hidden>
Date: Fri Aug 5 19:29:19 2016 +0200
gnu: Add python-sh.
* gnu/packages/python.scm (python-sh): New variable.
(python2-sh): New variable.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c461e77..3e024e7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10076,3 +10076,30 @@ reasoning, wrappers for natural language processing
libraries.")
(native-inputs
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+
+(define-public python-sh
+ (package
+ (name "python-sh")
+ (version "1.11")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "sh" version))
+ (sha256
+ (base32
+ "192r0mpv6dmkysjzhc43ddffiwb5g7c76bgr1mb1z2xz9awbj3sr"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; no tests
+ (home-page "https://github.com/amoffat/sh")
+ (synopsis "Python subprocess interface")
+ (description "Abstracts process invocation by providing a function
+interface for programs.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-sh))))))
+
+(define-public python2-sh
+ (let ((base (package-with-python2 (strip-python2-variant python-sh))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
- branch master updated (1ae27aa -> 520af15), David Craven, 2016/08/28
- 03/11: gnu: Add python-binaryornot., David Craven, 2016/08/28
- 07/11: gnu: Add python-schematics., David Craven, 2016/08/28
- 10/11: gnu: Add python-url., David Craven, 2016/08/28
- 11/11: gnu: python-ipaddress: Update to 1.0.16., David Craven, 2016/08/28
- 04/11: gnu: Add python-nltk., David Craven, 2016/08/28
- 08/11: gnu: Add python-publicsuffix., David Craven, 2016/08/28
- 09/11: gnu: Add python-publicsuffix2., David Craven, 2016/08/28
- 05/11: gnu: Add python-pymongo., David Craven, 2016/08/28
- 01/11: import: Importers return prefixed licenses., David Craven, 2016/08/28
- 06/11: gnu: Add python-sh.,
David Craven <=
- 02/11: gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/28