This commit is contained in:
Adam J. Stewart
2016-05-26 16:19:23 -05:00
parent 2220784eda
commit a21e845ce7
4 changed files with 24 additions and 19 deletions

View File

@@ -23,7 +23,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
import spack
import os
@@ -58,13 +57,13 @@ class Cantera(Package):
depends_on('py-cython', when='+python')
depends_on('py-3to2', when='+python')
# TODO: these "when" specs don't actually work
#depends_on('py-unittest2', when='+python^python@2.6')
#depends_on('py-unittest2py3k', when='+python^python@3.1')
# depends_on('py-unittest2', when='+python^python@2.6')
# depends_on('py-unittest2py3k', when='+python^python@3.1')
# Matlab toolbox dependencies
# TODO: add Matlab package
# TODO: allow packages to extend multiple other packages
#extends('matlab', when='+matlab')
# extends('matlab', when='+matlab')
def install(self, spec, prefix):
# Required options
@@ -143,7 +142,7 @@ def install(self, spec, prefix):
if '+python' in spec:
# Tests will always fail if Python dependencies aren't built
#scons('test') # TODO: 3 expected failures, not sure what's wrong
# scons('test') # TODO: 3 expected failures, not sure what's wrong
pass
scons('install')

View File

@@ -28,10 +28,11 @@
class Serf(Package):
"""Apache Serf - a high performance C-based HTTP client library
built upon the Apache Portable Runtime (APR) library"""
homepage = 'https://serf.apache.org/'
url = 'https://archive.apache.org/dist/serf/serf-1.3.8.tar.bz2'
version('1.3.8', '1d45425ca324336ce2f4ae7d7b4cfbc5567c5446')
version('1.3.8', '1d45425ca324336ce2f4ae7d7b4cfbc5567c5446')
depends_on('apr')
depends_on('apr-util')

View File

@@ -23,7 +23,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
import spack
import glob
import os