diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-02-11 13:03:47 +0100 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-02-11 13:03:47 +0100 |
commit | e7454132a2d5c8f05f8c4197b4c26e54bf6ebd0b (patch) | |
tree | 8a2e60cec83cb803c7cef8ec237ea93fe6c5f909 /var/spack/repos/builtin/packages/py-rpy2/package.py | |
parent | 7fc308ed26d7abfcb71af8165523b421a1f315c0 (diff) | |
parent | bcf705b85e82509a5045a52a3420893c5546ee7f (diff) | |
download | spack-e7454132a2d5c8f05f8c4197b4c26e54bf6ebd0b.tar.gz spack-e7454132a2d5c8f05f8c4197b4c26e54bf6ebd0b.tar.bz2 spack-e7454132a2d5c8f05f8c4197b4c26e54bf6ebd0b.tar.xz spack-e7454132a2d5c8f05f8c4197b4c26e54bf6ebd0b.zip |
Merge branch 'develop' of https://github.com/LLNL/spack into packages/espresso
Diffstat (limited to 'var/spack/repos/builtin/packages/py-rpy2/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-rpy2/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rpy2/package.py b/var/spack/repos/builtin/packages/py-rpy2/package.py new file mode 100644 index 0000000000..a0b03d03e3 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-rpy2/package.py @@ -0,0 +1,17 @@ +from spack import * + +class PyRpy2(Package): + """rpy2 is a redesign and rewrite of rpy. It is providing a low-level interface to R from Python, a proposed high-level interface, including wrappers to graphical libraries, as well as R-like structures and functions.""" + homepage = "https://pypi.python.org/pypi/rpy2" + url = "https://pypi.python.org/packages/source/r/rpy2/rpy2-2.5.4.tar.gz" + + version('2.5.4', '115a20ac30883f096da2bdfcab55196d') + version('2.5.6', 'a36e758b633ce6aec6a5f450bfee980f') + + extends('python') + depends_on('py-setuptools') + + depends_on('R') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) |