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/xcfun/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/xcfun/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/xcfun/package.py | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/var/spack/repos/builtin/packages/xcfun/package.py b/var/spack/repos/builtin/packages/xcfun/package.py index f79241ab57..70a1c28001 100644 --- a/var/spack/repos/builtin/packages/xcfun/package.py +++ b/var/spack/repos/builtin/packages/xcfun/package.py @@ -12,35 +12,29 @@ class Xcfun(CMakePackage): homepage = "https://github.com/dftlibs/xcfun" url = "https://github.com/dftlibs/xcfun/archive/v2.1.0.tar.gz" - maintainers = ['robertodr', 'bast'] - - version('2.1.1', - sha256='8b602df74c7be83d501532565deafd1b7881946d94789122f24c309a669298ab') - version('2.1.0', - sha256='64aac8c933cc129ce6326f3827e342abfd10b94ea4a302aaca9f10d342ad7656') - version('2.0.2', - sha256='b79a71861a9e1d0e33c1be89b34f6f052d430cd495a7df982c407ad0140c1dcd') - version('2.0.1', - sha256='719383c3fffdd5da5b005f56ffd97457b0b2fb48317e955263ef5384d53ddfca') - version('2.0.0', - sha256='34398e935c522d0b55e1803fd6116e7cd40677d1add8894ef08362361705cf25') - - extends('python') - depends_on('cmake@3.14:', type='build') - depends_on('python@3:') - depends_on('py-pybind11') - depends_on('py-numpy') + maintainers = ["robertodr", "bast"] + + version("2.1.1", sha256="8b602df74c7be83d501532565deafd1b7881946d94789122f24c309a669298ab") + version("2.1.0", sha256="64aac8c933cc129ce6326f3827e342abfd10b94ea4a302aaca9f10d342ad7656") + version("2.0.2", sha256="b79a71861a9e1d0e33c1be89b34f6f052d430cd495a7df982c407ad0140c1dcd") + version("2.0.1", sha256="719383c3fffdd5da5b005f56ffd97457b0b2fb48317e955263ef5384d53ddfca") + version("2.0.0", sha256="34398e935c522d0b55e1803fd6116e7cd40677d1add8894ef08362361705cf25") + + extends("python") + depends_on("cmake@3.14:", type="build") + depends_on("python@3:") + depends_on("py-pybind11") + depends_on("py-numpy") def cmake_args(self): spec = self.spec args = [ "-DCMAKE_INSTALL_LIBDIR=lib", - "-DPYMOD_INSTALL_LIBDIR=/python{0}/site-packages".format( - spec["python"].version[:-1]), + "-DPYMOD_INSTALL_LIBDIR=/python{0}/site-packages".format(spec["python"].version[:-1]), "-DXCFUN_MAX_ORDER=8", "-DXCFUN_PYTHON_INTERFACE=ON", - "-DPYTHON_EXECUTABLE={0}".format(spec['python'].command), + "-DPYTHON_EXECUTABLE={0}".format(spec["python"].command), "-DENABLE_TESTALL=OFF", ] return args |