[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/11] gnu: Add python-sh.
From: |
David Craven |
Subject: |
[PATCH 06/11] gnu: Add python-sh. |
Date: |
Mon, 22 Aug 2016 15:20:13 +0200 |
* gnu/packages/python.scm (python-sh): New variable.
(python2-sh): New variable.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a703be3..8720341 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10062,3 +10062,29 @@ binary or text.")
(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 "Python subprocess interface.")
+ (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))))))
--
2.9.0
- [PATCH 02/12] import: utils: Symbols from 'license->symbol' have a license: prefix., David Craven, 2016/08/05
- [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/05
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., Leo Famulari, 2016/08/08
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/22
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/22
- [PATCH 01/11] import: utils: Symbols from 'license->symbol' have a license: prefix., David Craven, 2016/08/22
- [PATCH 05/11] gnu: Add python-pymongo., David Craven, 2016/08/22
- [PATCH 06/11] gnu: Add python-sh.,
David Craven <=
- Re: [PATCH 06/11] gnu: Add python-sh., Danny Milosavljevic, 2016/08/27
- Re: [PATCH 06/11] gnu: Add python-sh., David Craven, 2016/08/28
- Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, David Craven, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29
- Re: Guix with U-Boot, Danny Milosavljevic, 2016/08/29