summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/simsipm/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/simsipm/package.py')
-rw-r--r--var/spack/repos/builtin/packages/simsipm/package.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/simsipm/package.py b/var/spack/repos/builtin/packages/simsipm/package.py
index b82c1f6b9b..af774fd297 100644
--- a/var/spack/repos/builtin/packages/simsipm/package.py
+++ b/var/spack/repos/builtin/packages/simsipm/package.py
@@ -8,31 +8,30 @@ from spack.package import *
class Simsipm(CMakePackage):
"""SimSiPM is a simple and easy to use C++ library providing a set of
- object-oriented tools with all the functionality needed to describe
- and simulate Silicon PhotonMultipliers (SiPM) sensors."""
+ object-oriented tools with all the functionality needed to describe
+ and simulate Silicon PhotonMultipliers (SiPM) sensors."""
- url = "https://github.com/EdoPro98/SimSiPM/archive/refs/tags/v1.2.4.tar.gz"
+ url = "https://github.com/EdoPro98/SimSiPM/archive/refs/tags/v1.2.4.tar.gz"
homepage = "https://github.com/EdoPro98/SimSiPM/"
- git = "https://github.com/EdoPro98/SimSiPM.git"
+ git = "https://github.com/EdoPro98/SimSiPM.git"
- tags = ['hep']
+ tags = ["hep"]
- maintainers = ['vvolkl']
+ maintainers = ["vvolkl"]
- version('1.2.4', sha256='1c633bebb19c490b5e6dfa5ada4a6bc7ec36348237c2626d57843a25af923211')
+ version("1.2.4", sha256="1c633bebb19c490b5e6dfa5ada4a6bc7ec36348237c2626d57843a25af923211")
- variant('python', default=False, description="Build pybind11-based python bindings")
- variant('openmp', default=False, description="Use OpenMP")
+ variant("python", default=False, description="Build pybind11-based python bindings")
+ variant("openmp", default=False, description="Use OpenMP")
- extends('python', when='+python')
- depends_on('python@3.6:', when="+python", type=('build', 'run'))
- depends_on('py-pybind11', when="+python", type=('build', 'link'))
+ extends("python", when="+python")
+ depends_on("python@3.6:", when="+python", type=("build", "run"))
+ depends_on("py-pybind11", when="+python", type=("build", "link"))
def cmake_args(self):
args = [
self.define_from_variant("SIPM_BUILD_PYTHON", "python"),
self.define_from_variant("SIPM_ENABLE_OPENMP", "openmp"),
self.define("SIPM_ENABLE_TEST", self.run_tests),
-
]
return args