Merge pull request #94 from alfredo-gimenez/dev-pandas

Fixed py-pandas package
This commit is contained in:
Todd Gamblin 2015-08-13 00:00:35 -07:00
commit 58f848fa29
6 changed files with 49 additions and 4 deletions

View file

@ -0,0 +1,21 @@
from spack import *
class Libpciaccess(Package):
"""Generic PCI access library."""
homepage = "http://cgit.freedesktop.org/xorg/lib/libpciaccess/"
url = "http://cgit.freedesktop.org/xorg/lib/libpciaccess/"
version('0.13.4', git='http://anongit.freedesktop.org/git/xorg/lib/libpciaccess.git',
tag='libpciaccess-0.13.4')
depends_on('autoconf')
depends_on('libtool')
def install(self, spec, prefix):
from subprocess import call
call(["./autogen.sh"])
configure("--prefix=%s" % prefix)
make()
make("install")

View file

@ -9,11 +9,12 @@ class Libxml2(Package):
version('2.9.2', '9e6a9aca9d155737868b3dc5fd82f788')
extends('python')
depends_on('zlib')
depends_on('xz')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix,
"--without-python")
configure("--prefix=%s" % prefix)
make()
make("install")

View file

@ -14,6 +14,7 @@ class Mesa(Package):
# mesa 7.x, 8.x, 9.x
depends_on("libdrm@2.4.33")
depends_on("llvm@3.0")
depends_on("libxml2")
# patch("llvm-fixes.patch") # using newer llvm

View file

@ -0,0 +1,17 @@
from spack import *
class PyMock(Package):
"""mock is a library for testing in Python. It allows you to replace parts
of your system under test with mock objects and make assertions about how
they have been used."""
homepage = "https://github.com/testing-cabal/mock"
url = "https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz"
version('1.3.0', '73ee8a4afb3ff4da1b4afa287f39fdeb')
extends('python')
depends_on('py-setuptools@17.1:')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)

View file

@ -16,6 +16,10 @@ class PyPandas(Package):
depends_on('py-scipy')
depends_on('py-setuptools')
depends_on('py-pytz')
depends_on('libdrm')
depends_on('libpciaccess')
depends_on('llvm')
depends_on('mesa')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)

View file

@ -7,6 +7,7 @@ class PySetuptools(Package):
version('11.3.1', '01f69212e019a2420c1693fb43593930')
version('16.0', '0ace0b96233516fc5f7c857d086aa3ad')
version('18.1', 'f72e87f34fbf07f299f6cb46256a0b06')
extends('python')