Update URL parsing regexes and tests (#13411)

* Update URL parsing regexes and tests

* Get rid of no longer used README

* Merge py-udunits and py-cf-units

* netcdf -> netcdf-c

* setup_environment -> setup_*_environment

* Fix doc tests

* Few last minute fixes

* Simplify prefix removal copypasta
This commit is contained in:
Adam J. Stewart
2019-10-28 20:27:54 -05:00
committed by GitHub
parent 4367e16740
commit 2264e30d99
240 changed files with 773 additions and 805 deletions

View File

@@ -1,3 +0,0 @@
This is a bundle for the CEED software suite.
See https://ceed.exascaleproject.org for details.

View File

@@ -4,10 +4,9 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
import os
class Ceed(Package):
class Ceed(BundlePackage):
"""Ceed is a collection of benchmarks, miniapps, software libraries and
APIs for efficient high-order finite element and spectral element
discretizations for exascale applications developed in the Department of
@@ -17,12 +16,6 @@ class Ceed(Package):
homepage = "https://ceed.exascaleproject.org"
url = 'file://' + os.path.dirname(__file__) + '/README.md'
sha256 = '418c4b6b6a098648e25befdc28cdf9c351ecea9deaa660c0d9a674f8c6917122'
version('2.0.0', sha256, expand=False)
version('1.0.0', sha256, expand=False)
variant('cuda', default=False,
description='Build MAGMA; enable CUDA support in libCEED and OCCA')
variant('mfem', default=True, description='Build MFEM and Laghos')
@@ -139,7 +132,3 @@ class Ceed(Package):
# If using gcc version <= 4.8 build suite-sparse version <= 5.1.0
depends_on('suite-sparse@:5.1.0', when='@1.0.0%gcc@:4.8+mfem+petsc')
# Dummy install
def install(self, spec, prefix):
install('README.md', prefix)