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

@@ -16,9 +16,9 @@ class Autofact(Package):
version('3_4', sha256='1465d263b19adb42f01f6e636ac40ef1c2e3dbd63461f977b89da9493fe9c6f4')
depends_on('perl', type='run')
depends_on('perl-bio-perl', type='run')
depends_on('perl-bioperl', type='run')
depends_on('perl-io-string', type='run')
depends_on('perl-lwp', type='run')
depends_on('perl-libwww-perl', type='run')
depends_on('blast-legacy', type='run')
def patch(self):
@@ -31,6 +31,6 @@ def patch(self):
def install(self, spec, prefix):
install_tree(self.stage.source_path, prefix)
def setup_environment(self, spack_env, run_env):
run_env.prepend_path('PATH', self.prefix.scripts)
run_env.set('PATH2AUTOFACT', self.prefix)
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.scripts)
env.set('PATH2AUTOFACT', self.prefix)