diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-30 15:19:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | f52f6e99dbf1131886a80112b8c79dfc414afb7c (patch) | |
tree | 05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/r-rmariadb/package.py | |
parent | 549ba1ed32372c67fc57271cde3797d58b7dec6e (diff) | |
download | spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2 spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip |
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin/packages/r-rmariadb/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-rmariadb/package.py | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/var/spack/repos/builtin/packages/r-rmariadb/package.py b/var/spack/repos/builtin/packages/r-rmariadb/package.py index 56d46fe913..81143a8de8 100644 --- a/var/spack/repos/builtin/packages/r-rmariadb/package.py +++ b/var/spack/repos/builtin/packages/r-rmariadb/package.py @@ -15,28 +15,27 @@ class RRmariadb(RPackage): cran = "RMariaDB" - version('1.2.1', sha256='c9176a096854ce33a98ce0faef0065c50b5d356174f90cea742c70e130cf5f0c') - version('1.1.0', sha256='9ffa63a15052876a51a7996ca4e6a5b7b937f594b5cc7ca5a86f43789e22a956') - version('1.0.8', sha256='3c8aedc519dc063ceb068535a3700bc5caf26f867078cc5a228aa8961e2d99f5') - - depends_on('r@2.8.0:', type=('build', 'run')) - depends_on('r-bit64', type=('build', 'run')) - depends_on('r-blob', type=('build', 'run'), when='@1.2.1:') - depends_on('r-dbi@1.1.0:', type=('build', 'run')) - depends_on('r-hms@0.5.0:', type=('build', 'run')) - depends_on('r-lubridate', type=('build', 'run'), when='@1.1.0:') - depends_on('r-rcpp@0.12.4:', type=('build', 'run')) - depends_on('r-rlang', type=('build', 'run'), when='@1.2.1:') - depends_on('r-plogr', type=('build', 'run')) - depends_on('mariadb-client') - - depends_on('r-bh', type=('build', 'run'), when='@:1.1.0') + version("1.2.1", sha256="c9176a096854ce33a98ce0faef0065c50b5d356174f90cea742c70e130cf5f0c") + version("1.1.0", sha256="9ffa63a15052876a51a7996ca4e6a5b7b937f594b5cc7ca5a86f43789e22a956") + version("1.0.8", sha256="3c8aedc519dc063ceb068535a3700bc5caf26f867078cc5a228aa8961e2d99f5") + + depends_on("r@2.8.0:", type=("build", "run")) + depends_on("r-bit64", type=("build", "run")) + depends_on("r-blob", type=("build", "run"), when="@1.2.1:") + depends_on("r-dbi@1.1.0:", type=("build", "run")) + depends_on("r-hms@0.5.0:", type=("build", "run")) + depends_on("r-lubridate", type=("build", "run"), when="@1.1.0:") + depends_on("r-rcpp@0.12.4:", type=("build", "run")) + depends_on("r-rlang", type=("build", "run"), when="@1.2.1:") + depends_on("r-plogr", type=("build", "run")) + depends_on("mariadb-client") + + depends_on("r-bh", type=("build", "run"), when="@:1.1.0") # Set the library explicitly to prevent configure from finding a system # mysql-client def configure_vars(self): - lib_dir = self.spec['mariadb-client'].prefix.lib.mariadb - inc_dir = self.spec['mariadb-client'].prefix.include.mariadb - args = ['LIB_DIR={0}'.format(lib_dir), - 'INCLUDE_DIR={0}'.format(inc_dir)] + lib_dir = self.spec["mariadb-client"].prefix.lib.mariadb + inc_dir = self.spec["mariadb-client"].prefix.include.mariadb + args = ["LIB_DIR={0}".format(lib_dir), "INCLUDE_DIR={0}".format(inc_dir)] return args |