diff options
| author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-07-07 13:56:49 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-07-20 11:50:43 +0200 |
| commit | c9b1b4f9c66fd45cae526428d8a483c2d3ff3788 (patch) | |
| tree | e930c2c161d448217b9013ccdb333b482fdaf8e0 /gnu/packages/python.scm | |
| parent | 8c9610be195de27bdfda46f90b306f50b4029192 (diff) | |
gnu: Add python-rpy2.
* gnu/packages/python.scm (python-rpy2, python2-rpy2): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4fd5eef8922..82aff00b899 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -48,9 +48,11 @@ | |||
| 48 | #:use-module (gnu packages multiprecision) | 48 | #:use-module (gnu packages multiprecision) |
| 49 | #:use-module (gnu packages networking) | 49 | #:use-module (gnu packages networking) |
| 50 | #:use-module (gnu packages ncurses) | 50 | #:use-module (gnu packages ncurses) |
| 51 | #:use-module (gnu packages pcre) | ||
| 51 | #:use-module (gnu packages perl) | 52 | #:use-module (gnu packages perl) |
| 52 | #:use-module (gnu packages pkg-config) | 53 | #:use-module (gnu packages pkg-config) |
| 53 | #:use-module (gnu packages readline) | 54 | #:use-module (gnu packages readline) |
| 55 | #:use-module (gnu packages statistics) | ||
| 54 | #:use-module (gnu packages texlive) | 56 | #:use-module (gnu packages texlive) |
| 55 | #:use-module (gnu packages texinfo) | 57 | #:use-module (gnu packages texinfo) |
| 56 | #:use-module (gnu packages tls) | 58 | #:use-module (gnu packages tls) |
| @@ -2724,6 +2726,42 @@ those files. It can also efficiently manipulate ranges of integers using set | |||
| 2724 | operators such as union, intersection, and difference.") | 2726 | operators such as union, intersection, and difference.") |
| 2725 | (license asl2.0))) | 2727 | (license asl2.0))) |
| 2726 | 2728 | ||
| 2729 | (define-public python-rpy2 | ||
| 2730 | (package | ||
| 2731 | (name "python-rpy2") | ||
| 2732 | (version "2.6.0") | ||
| 2733 | (source | ||
| 2734 | (origin | ||
| 2735 | (method url-fetch) | ||
| 2736 | (uri (string-append "https://pypi.python.org/packages/source/r/rpy2" | ||
| 2737 | "/rpy2-" version ".tar.gz")) | ||
| 2738 | (sha256 | ||
| 2739 | (base32 | ||
| 2740 | "1dp4l8hpv0jpf4crz4wis6in3lvwk86cr5zvpw410y4a07rrbqjk")))) | ||
| 2741 | (build-system python-build-system) | ||
| 2742 | (inputs | ||
| 2743 | `(("python-six" ,python-six) | ||
| 2744 | ("readline" ,readline) | ||
| 2745 | ("icu4c" ,icu4c) | ||
| 2746 | ("pcre" ,pcre) | ||
| 2747 | ("r" ,r))) | ||
| 2748 | (native-inputs | ||
| 2749 | `(("python-setuptools" ,python-setuptools))) | ||
| 2750 | (home-page "http://rpy.sourceforge.net/") | ||
| 2751 | (synopsis "Python interface to the R language") | ||
| 2752 | (description "rpy2 is a redesign and rewrite of rpy. It is providing a | ||
| 2753 | low-level interface to R from Python, a proposed high-level interface, | ||
| 2754 | including wrappers to graphical libraries, as well as R-like structures and | ||
| 2755 | functions.") | ||
| 2756 | (license gpl3+))) | ||
| 2757 | |||
| 2758 | (define-public python2-rpy2 | ||
| 2759 | (let ((rpy2 (package-with-python2 python-rpy2))) | ||
| 2760 | (package (inherit rpy2) | ||
| 2761 | (native-inputs | ||
| 2762 | `(("python2-singledispatch" ,python2-singledispatch) | ||
| 2763 | ,@(package-native-inputs rpy2)))))) | ||
| 2764 | |||
| 2727 | (define-public python-scipy | 2765 | (define-public python-scipy |
| 2728 | (package | 2766 | (package |
| 2729 | (name "python-scipy") | 2767 | (name "python-scipy") |
