summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRyan S. Elliott <relliott@umn.edu>2019-04-02 19:44:24 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2019-04-02 17:44:24 -0700
commit3c641f47cda7129007f997d3f3237116f207df90 (patch)
tree9db4c5e366aab5cc0e7d8f1300a43c6dbc746897 /var
parent0cb08e42f530967964f7be31b35d7f28a7130d16 (diff)
downloadspack-3c641f47cda7129007f997d3f3237116f207df90.tar.gz
spack-3c641f47cda7129007f997d3f3237116f207df90.tar.bz2
spack-3c641f47cda7129007f997d3f3237116f207df90.tar.xz
spack-3c641f47cda7129007f997d3f3237116f207df90.zip
kim-api and openkim-models: version update and rename (#11065)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/kim-api/package.py (renamed from var/spack/repos/builtin/packages/kim-api-v2/package.py)12
-rw-r--r--var/spack/repos/builtin/packages/openkim-models/package.py (renamed from var/spack/repos/builtin/packages/openkim-models-v2/package.py)23
2 files changed, 21 insertions, 14 deletions
diff --git a/var/spack/repos/builtin/packages/kim-api-v2/package.py b/var/spack/repos/builtin/packages/kim-api/package.py
index 34ce81ee3d..3056aec2af 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
index a8615996b4..543df37424 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