summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/packages/py-pandas/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/packages/py-pandas/package.py b/var/spack/packages/py-pandas/package.py
new file mode 100644
index 0000000000..2f441f0d22
--- /dev/null
+++ b/var/spack/packages/py-pandas/package.py
@@ -0,0 +1,20 @@
+from spack import *
+import os
+
+class PyPandas(Package):
+ """pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with relational or labeled data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world data analysis in Python. Additionally, it has the broader goal of becoming the most powerful and flexible open source data analysis / manipulation tool available in any language."""
+ homepage = "http://pandas.pydata.org/"
+ url = "https://pypi.python.org/packages/source/p/pandas/pandas-0.16.0.tar.gz#md5=bfe311f05dc0c351f8955fbd1e296e73"
+
+ version('0.16.0', 'bfe311f05dc0c351f8955fbd1e296e73')
+
+ extends('python')
+ depends_on('py-dateutil')
+ depends_on('py-numpy')
+ depends_on('py-matplotlib')
+ depends_on('py-scipy')
+ depends_on('py-setuptools')
+ depends_on('py-pytz')
+
+ def install(self, spec, prefix):
+ python('setup.py', 'install', '--prefix=%s' % prefix)