diff --git a/var/spack/repos/builtin/packages/kim-api-v2/package.py b/var/spack/repos/builtin/packages/kim-api/package.py similarity index 69% rename from var/spack/repos/builtin/packages/kim-api-v2/package.py rename to var/spack/repos/builtin/packages/kim-api/package.py index 34ce81ee3d38e697ffff122baa109100b0fcb454..3056aec2af1013dec736213dd19dc885d2516774 100644 --- a/var/spack/repos/builtin/packages/kim-api-v2/package.py +++ b/var/spack/repos/builtin/packages/kim-api/package.py @@ -6,7 +6,7 @@ from spack import * -class KimApiV2(CMakePackage): +class KimApi(CMakePackage): """OpenKIM is an online framework for making molecular simulations reliable, reproducible, and portable. Computer implementations of inter-atomic models are archived in OpenKIM, verified for coding @@ -15,17 +15,17 @@ class KimApiV2(CMakePackage): programming interface (API) work seamlessly with major simulation codes that have adopted the KIM API standard. - This package provides the kim-api-v2 library and supporting + This package provides the kim-api library and supporting utilities. It also provides a small set of example models. To obtain all models archived at https://openkim.org that are - compatible with the kim-api-v2 package, install and activate the - openkim-models-v2 pacakge too. + compatible with the kim-api package, install and activate the + openkim-models pacakge too. """ extendable = True homepage = "https://openkim.org/" - url = "https://s3.openkim.org/kim-api/kim-api-v2-2.0.1.txz" + url = "https://s3.openkim.org/kim-api/kim-api-2.0.2.txz" git = "https://github.com/openkim/kim-api.git" version('develop', branch='devel') - version('2.0.1', sha256="6b54a9c4bc34c669b8ef00b9be4bbdce6fca2bb813dc1fe7697d618f267860d0", extension='txz', url='https://s3.openkim.org/kim-api/kim-api-v2-2.0.1.txz') + version('2.0.2', sha256="26e7cf91066692f316b8ba1548ccb7152bf56aad75902bce2338cff53e74e63d", extension='txz', url='https://s3.openkim.org/kim-api/kim-api-2.0.2.txz') diff --git a/var/spack/repos/builtin/packages/openkim-models-v2/package.py b/var/spack/repos/builtin/packages/openkim-models/package.py similarity index 61% rename from var/spack/repos/builtin/packages/openkim-models-v2/package.py rename to var/spack/repos/builtin/packages/openkim-models/package.py index a8615996b44761f2c0df080b4ee5502d493ec47c..543df37424e751c7623eb9e0b8e9047d7c235a76 100644 --- a/var/spack/repos/builtin/packages/openkim-models-v2/package.py +++ b/var/spack/repos/builtin/packages/openkim-models/package.py @@ -6,7 +6,7 @@ from spack import * -class OpenkimModelsV2(CMakePackage): +class OpenkimModels(CMakePackage): """OpenKIM is an online framework for making molecular simulations reliable, reproducible, and portable. Computer implementations of inter-atomic models are archived in OpenKIM, verified for coding @@ -16,19 +16,26 @@ class OpenkimModelsV2(CMakePackage): codes that have adopted the KIM API standard. This package provides all models archived at openkim.org that are - compatible with the kim-api-v2 package. + compatible with the kim-api package. """ homepage = "https://openkim.org/" - url = "https://s3.openkim.org/archives/collection/OpenKIM-Models-v2-2019-02-21.txz" + url = "https://s3.openkim.org/archives/collection/openkim-models-2019-03-29.txz" - extends('kim-api-v2') + extends('kim-api') - version('2019-02-21', sha256='3bd30b0cf2bab314755a66eed621a77c72d3f990818d08366874149be39f208e', extension='txz', url='https://s3.openkim.org/archives/collection/OpenKIM-Models-v2-2019-02-21.txz') + version( + '2019-03-29', + sha256='053dda2023fe4bb6d7c1d66530c758c4e633bbf1f1be17b6b075b276fe8874f6', + extension='txz', + url='https://s3.openkim.org/archives/collection/openkim-models-2019-03-29.txz') def cmake_args(self): args = [] - args.append('-DKIM_API_MODEL_INSTALL_PREFIX={0}/lib/kim-api-v2/models' - .format(prefix)) args.append(('-DKIM_API_MODEL_DRIVER_INSTALL_PREFIX={0}' - + '/lib/kim-api-v2/model-drivers').format(prefix)) + + '/lib/kim-api/model-drivers').format(prefix)) + args.append('-DKIM_API_MODEL_INSTALL_PREFIX={0}/lib/kim-api/models' + .format(prefix)) + args.append('-DKIM_API_SIMULATOR_MODEL_INSTALL_PREFIX={0}/lib/' + 'kim-api/simulator-models' + .format(prefix)) return args