Fixed py-pandas package
This commit is contained in:
		
							
								
								
									
										21
									
								
								var/spack/packages/libpciaccess/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								var/spack/packages/libpciaccess/package.py
									
									
									
									
									
										Normal 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")
 | 
			
		||||
@@ -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")
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
from spack import *
 | 
			
		||||
 | 
			
		||||
class Mesa(Package):
 | 
			
		||||
    """Mesa is an open-source implementation of the OpenGL 
 | 
			
		||||
    """Mesa is an open-source implementation of the OpenGL
 | 
			
		||||
    specification - a system for rendering interactive 3D graphics."""
 | 
			
		||||
 | 
			
		||||
    homepage = "http://www.mesa3d.org"
 | 
			
		||||
@@ -11,9 +11,10 @@ class Mesa(Package):
 | 
			
		||||
    # version('10.4.4', '8d863a3c209bf5116b2babfccccc68ce')
 | 
			
		||||
    version('8.0.5', 'cda5d101f43b8784fa60bdeaca4056f2')
 | 
			
		||||
 | 
			
		||||
    # mesa 7.x, 8.x, 9.x 
 | 
			
		||||
    # 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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										17
									
								
								var/spack/packages/py-mock/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								var/spack/packages/py-mock/package.py
									
									
									
									
									
										Normal 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)
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,7 @@ class PySetuptools(Package):
 | 
			
		||||
 | 
			
		||||
    version('11.3.1', '01f69212e019a2420c1693fb43593930')
 | 
			
		||||
    version('16.0', '0ace0b96233516fc5f7c857d086aa3ad')
 | 
			
		||||
    version('18.1', 'f72e87f34fbf07f299f6cb46256a0b06')
 | 
			
		||||
 | 
			
		||||
    extends('python')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user